diff options
Diffstat (limited to 'src/soc/intel')
-rw-r--r-- | src/soc/intel/broadwell/include/soc/romstage.h | 2 | ||||
-rw-r--r-- | src/soc/intel/broadwell/romstage.c | 9 |
2 files changed, 8 insertions, 3 deletions
diff --git a/src/soc/intel/broadwell/include/soc/romstage.h b/src/soc/intel/broadwell/include/soc/romstage.h index eb51ea151e..9f4eef2316 100644 --- a/src/soc/intel/broadwell/include/soc/romstage.h +++ b/src/soc/intel/broadwell/include/soc/romstage.h @@ -11,7 +11,7 @@ struct romstage_params { struct pei_data pei_data; }; -void mainboard_pre_raminit(struct romstage_params *params); +void mainboard_fill_spd_data(struct pei_data *pei_data); void mainboard_post_raminit(const int s3resume); void raminit(struct pei_data *pei_data); diff --git a/src/soc/intel/broadwell/romstage.c b/src/soc/intel/broadwell/romstage.c index 084c3e6e99..76e1d7e47b 100644 --- a/src/soc/intel/broadwell/romstage.c +++ b/src/soc/intel/broadwell/romstage.c @@ -9,11 +9,16 @@ #include <soc/gpio.h> #include <soc/me.h> #include <soc/pei_data.h> +#include <soc/pei_wrapper.h> #include <soc/pm.h> #include <soc/romstage.h> #include <stdint.h> #include <timestamp.h> +__weak void mainboard_fill_spd_data(struct pei_data *pei_data) +{ +} + __weak void mainboard_post_raminit(const int s3resume) { } @@ -45,8 +50,8 @@ void mainboard_romstage_entry(void) /* Initialize GPIOs */ init_gpios(mainboard_gpio_config); - /* Fill in mainboard pei_date. */ - mainboard_pre_raminit(&rp); + mainboard_fill_pei_data(&rp.pei_data); + mainboard_fill_spd_data(&rp.pei_data); post_code(0x32); |