nb/intel/sandybridge/raminit: Update PM_DLL_CONFIG to match MRC.bin

A register dump between native and MRC.bin raminit showed a difference
in the PM_DLL_CONFIG register. Use the same value as MRC.bin uses.

Tested on Lenovo X220: Still boots and works fine.

Change-Id: Iaf6334814c5748e5a3691a572213f433c79f382d
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/79759
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Patrick Rudolph
2023-12-21 14:45:27 +01:00
committed by Felix Held
parent 8f14e8e6b2
commit e27a26bdef

View File

@ -2833,7 +2833,10 @@ void final_registers(ramctr_timing *ctrl)
}
mchbar_write32(PM_BW_LIMIT_CONFIG, 0x5f7003ff);
mchbar_write32(PM_DLL_CONFIG, 0x00073000 | ctrl->mdll_wake_delay);
if (IS_SANDY_CPU(ctrl->cpu))
mchbar_write32(PM_DLL_CONFIG, 0x000330f0);
else
mchbar_write32(PM_DLL_CONFIG, 0x00073000 | ctrl->mdll_wake_delay);
FOR_ALL_CHANNELS {
switch (ctrl->rankmap[channel]) {