summaryrefslogtreecommitdiff
path: root/src/mainboard/intel/wtm2
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2021-06-23 14:29:12 +0200
committerFelix Held <felix-coreboot@felixheld.de>2021-08-27 16:04:33 +0000
commit2d45322639b4bc2796040c7b7417b7a2a45d700b (patch)
treeac7fae631651b377e4061dc53609a17022fa7fd6 /src/mainboard/intel/wtm2
parent2bc7a6b3d2c68fd820a9390efedc44a3d632ab26 (diff)
broadwell: Drop weak `mainboard_fill_spd_data` definition
Make `mainboard_fill_spd_data` mandatory and adapt mainboards to define this function accordingly. Change-Id: Ic18c4c574e8c963bbb41c980f43bdbacc57735af Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/55806 Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/intel/wtm2')
-rw-r--r--src/mainboard/intel/wtm2/pei_data.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mainboard/intel/wtm2/pei_data.c b/src/mainboard/intel/wtm2/pei_data.c
index 5591c4ca4d..9df5081f23 100644
--- a/src/mainboard/intel/wtm2/pei_data.c
+++ b/src/mainboard/intel/wtm2/pei_data.c
@@ -3,7 +3,7 @@
#include <soc/pei_data.h>
#include <soc/pei_wrapper.h>
-void mainboard_fill_pei_data(struct pei_data *pei_data)
+void mainboard_fill_spd_data(struct pei_data *pei_data)
{
/* One installed DIMM per channel */
pei_data->dimm_channel0_disabled = 2;
@@ -11,7 +11,10 @@ void mainboard_fill_pei_data(struct pei_data *pei_data)
pei_data->spd_addresses[0] = 0xa2;
pei_data->spd_addresses[2] = 0xa2;
+}
+void mainboard_fill_pei_data(struct pei_data *pei_data)
+{
pei_data_usb2_port(pei_data, 0, 0x40, 1, USB_OC_PIN_SKIP,
USB_PORT_FRONT_PANEL);
pei_data_usb2_port(pei_data, 1, 0x40, 1, USB_OC_PIN_SKIP,