summaryrefslogtreecommitdiff
path: root/src/soc/intel/broadwell/raminit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/broadwell/raminit.c')
-rw-r--r--src/soc/intel/broadwell/raminit.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/soc/intel/broadwell/raminit.c b/src/soc/intel/broadwell/raminit.c
index 686c782e2e..d088e5145c 100644
--- a/src/soc/intel/broadwell/raminit.c
+++ b/src/soc/intel/broadwell/raminit.c
@@ -196,6 +196,13 @@ void perform_raminit(const struct chipset_power_state *const power_state)
mainboard_fill_pei_data(&pei_data);
+ if (CONFIG(BROADWELL_LPDDR3)) {
+ const struct lpddr3_dq_dqs_map *lpddr3_map = mb_get_lpddr3_dq_dqs_map();
+ assert(lpddr3_map);
+ memcpy(pei_data.dq_map, lpddr3_map->dq, sizeof(pei_data.dq_map));
+ memcpy(pei_data.dqs_map, lpddr3_map->dqs, sizeof(pei_data.dqs_map));
+ }
+
/* Obtain the SPD addresses from mainboard code */
struct spd_info spdi = { 0 };
mb_get_spd_map(&spdi);