[coreboot-gerrit] Change in coreboot[master]: nb/intel/sandybridge/raminit: Fix setting scrub seed for CH1

Arthur Heymans (Code Review) gerrit at coreboot.org
Tue Sep 26 23:19:26 CEST 2017


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 at 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];
 	}
 }
 

-- 
To view, visit https://review.coreboot.org/21710
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3778947e96b3298c38e6d5b74988e617e1ffea7b
Gerrit-Change-Number: 21710
Gerrit-PatchSet: 1
Gerrit-Owner: Arthur Heymans <arthur at aheymans.xyz>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20170926/63f7fcd8/attachment.html>


More information about the coreboot-gerrit mailing list