summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/link/romstage.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mainboard/google/link/romstage.c b/src/mainboard/google/link/romstage.c
index 2f3f07cdce..8e8d94335c 100644
--- a/src/mainboard/google/link/romstage.c
+++ b/src/mainboard/google/link/romstage.c
@@ -156,8 +156,12 @@ void mainboard_fill_pei_data(struct pei_data *pei_data)
},
};
*pei_data = pei_data_template;
+ /* LINK has 2 channels of memory down, so spd_data[0] and [2]
+ both need to be populated */
memcpy(pei_data->spd_data[0], locate_spd(),
sizeof(pei_data->spd_data[0]));
+ memcpy(pei_data->spd_data[2], pei_data->spd_data[0],
+ sizeof(pei_data->spd_data[0]));
}
const struct southbridge_usb_port mainboard_usb_ports[] = {
@@ -180,7 +184,10 @@ const struct southbridge_usb_port mainboard_usb_ports[] = {
void mainboard_get_spd(spd_raw_data *spd, bool id_only)
{
+ /* LINK has 2 channels of memory down, so spd_data[0] and [2]
+ both need to be populated */
memcpy(&spd[0], locate_spd(), 128);
+ memcpy(&spd[2], &spd[0], 128);
}
void mainboard_early_init(int s3resume)