summaryrefslogtreecommitdiffstats
path: root/src/mainboard/google/auron
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2021-06-23 14:26:45 +0200
committerFelix Held <felix-coreboot@felixheld.de>2021-08-27 16:04:10 +0000
commit2bc7a6b3d2c68fd820a9390efedc44a3d632ab26 (patch)
treedf92db6b5f1009a906ac20a31f3619e435eb77cf /src/mainboard/google/auron
parent887b779c11363b5e9b9be0d2260598fa12a92c43 (diff)
downloadcoreboot-2bc7a6b3d2c68fd820a9390efedc44a3d632ab26.tar.gz
coreboot-2bc7a6b3d2c68fd820a9390efedc44a3d632ab26.tar.bz2
coreboot-2bc7a6b3d2c68fd820a9390efedc44a3d632ab26.zip
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 <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/55805 Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/auron')
-rw-r--r--src/mainboard/google/auron/spd.c2
-rw-r--r--src/mainboard/google/auron/variants/buddy/spd/spd.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/mainboard/google/auron/spd.c b/src/mainboard/google/auron/spd.c
index 52e4d6391551..49ee42c5e17b 100644
--- a/src/mainboard/google/auron/spd.c
+++ b/src/mainboard/google/auron/spd.c
@@ -5,7 +5,7 @@
#include <mainboard/google/auron/variant.h>
#include <southbridge/intel/lynxpoint/lp_gpio.h>
#include <soc/pei_data.h>
-#include <soc/romstage.h>
+#include <soc/pei_wrapper.h>
#include <string.h>
#include <types.h>
diff --git a/src/mainboard/google/auron/variants/buddy/spd/spd.c b/src/mainboard/google/auron/variants/buddy/spd/spd.c
index 200d9095389c..6fb439b96c83 100644
--- a/src/mainboard/google/auron/variants/buddy/spd/spd.c
+++ b/src/mainboard/google/auron/variants/buddy/spd/spd.c
@@ -2,6 +2,7 @@
#include <mainboard/google/auron/variant.h>
#include <soc/pei_data.h>
+#include <soc/pei_wrapper.h>
/* Copy SPD data for on-board memory */
void mainboard_fill_spd_data(struct pei_data *pei_data)