nb/intel/sandybridge/raminit: Add shift offset
It looks like the falling timing was missing the shift offset. Not sure if this was intentional, I guess not. Tested on my hardware and produced no regressions. Test system: * Intel IvyBridge * Gigabyte GA-B75M-D3H Please test on real hardware ! Change-Id: Id8c60217093a48bf322f406ea258c10a02c936e8 Signed-off-by: Patrick Rudolph <siro@das-labor.org> Reviewed-on: https://review.coreboot.org/13682 Tested-by: build bot (Jenkins) Reviewed-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
parent
44ef167d21
commit
0188b1399a
|
@ -1607,8 +1607,8 @@ static void program_timings(ramctr_timing * ctrl, int channel)
|
|||
(((ctrl->timings[channel][slotrank].lanes[lane].
|
||||
timA + shift -
|
||||
(post_timA_min_high << 6)) & 0x1c0) << 10)
|
||||
| (ctrl->timings[channel][slotrank].lanes[lane].
|
||||
falling << 20));
|
||||
| ((ctrl->timings[channel][slotrank].lanes[lane].
|
||||
falling + shift) << 20));
|
||||
|
||||
MCHBAR32(lane_registers[lane] + 0x20 + 0x100 * channel +
|
||||
4 * slotrank)
|
||||
|
|
Loading…
Reference in New Issue