Arthur Heymans has uploaded this change for review. ( https://review.coreboot.org/21710
Change subject: nb/intel/sandybridge/raminit: Fix setting scrub seed for CH1 ......................................................................
nb/intel/sandybridge/raminit: Fix setting scrub seed for CH1
UNTESTED
Change-Id: I3778947e96b3298c38e6d5b74988e617e1ffea7b Signed-off-by: Arthur Heymans arthur@aheymans.xyz --- M src/northbridge/intel/sandybridge/raminit_common.c 1 file changed, 3 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/10/21710/1
diff --git a/src/northbridge/intel/sandybridge/raminit_common.c b/src/northbridge/intel/sandybridge/raminit_common.c index 3e69f4d..ea5108e 100644 --- a/src/northbridge/intel/sandybridge/raminit_common.c +++ b/src/northbridge/intel/sandybridge/raminit_common.c @@ -3108,9 +3108,9 @@ }; FOR_ALL_POPULATED_CHANNELS { MCHBAR32(0x4020 + 0x400 * channel) &= ~0x10000000; - write32(DEFAULT_MCHBAR + 0x4034, seeds[channel][0]); - write32(DEFAULT_MCHBAR + 0x403c, seeds[channel][1]); - write32(DEFAULT_MCHBAR + 0x4038, seeds[channel][2]); + MCHBAR32(0x4034 + 0x400 * channel) = seeds[channel][0]; + MCHBAR32(0x403c + 0x400 * channel) = seeds[channel][1]; + MCHBAR32(0x4038 + 0x400 * channel) = seeds[channel][2]; } }