From 2bc7a6b3d2c68fd820a9390efedc44a3d632ab26 Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Wed, 23 Jun 2021 14:26:45 +0200 Subject: soc/intel/broadwell: Move `mainboard_fill_spd_data` Move the `mainboard_fill_spd_data` function out of romstage, in preparation to confine `pei_data` usage to as few files as possible. Change-Id: I6447da4d135d920f9145e817bfb7f9056e09df84 Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/55805 Reviewed-by: Felix Held Tested-by: build bot (Jenkins) --- src/soc/intel/broadwell/include/soc/pei_wrapper.h | 1 + src/soc/intel/broadwell/include/soc/romstage.h | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'src/soc/intel/broadwell/include') diff --git a/src/soc/intel/broadwell/include/soc/pei_wrapper.h b/src/soc/intel/broadwell/include/soc/pei_wrapper.h index 81e1bd50fb..4a38a2afa6 100644 --- a/src/soc/intel/broadwell/include/soc/pei_wrapper.h +++ b/src/soc/intel/broadwell/include/soc/pei_wrapper.h @@ -28,5 +28,6 @@ static inline void pei_data_usb3_port(struct pei_data *pei_data, int port, void broadwell_fill_pei_data(struct pei_data *pei_data); void mainboard_fill_pei_data(struct pei_data *pei_data); +void mainboard_fill_spd_data(struct pei_data *pei_data); #endif diff --git a/src/soc/intel/broadwell/include/soc/romstage.h b/src/soc/intel/broadwell/include/soc/romstage.h index 95af4d98a2..d878e7a9c2 100644 --- a/src/soc/intel/broadwell/include/soc/romstage.h +++ b/src/soc/intel/broadwell/include/soc/romstage.h @@ -3,9 +3,6 @@ #ifndef _BROADWELL_ROMSTAGE_H_ #define _BROADWELL_ROMSTAGE_H_ -#include - -void mainboard_fill_spd_data(struct pei_data *pei_data); void mainboard_post_raminit(const int s3resume); struct chipset_power_state; -- cgit v1.2.3