[coreboot-gerrit] New patch to review for coreboot: ac31f5b nehalem/raminit: Fix typo of NUM_CHANNELS instead of NUM_SLOTS.

Vladimir Serbinenko (phcoder@gmail.com) gerrit at coreboot.org
Thu Feb 20 14:39:00 CET 2014


Vladimir Serbinenko (phcoder at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5276

-gerrit

commit ac31f5bd4d34c28c792e099744086807fcaf5e91
Author: Vladimir Serbinenko <phcoder at gmail.com>
Date:   Thu Feb 20 14:34:56 2014 +0100

    nehalem/raminit: Fix typo of NUM_CHANNELS instead of NUM_SLOTS.
    
    Change-Id: I0fbfa8cb39881782bec3af5e43ff3c63dd2e4919
    Signed-off-by: Vladimir Serbinenko <phcoder at gmail.com>
---
 src/northbridge/intel/nehalem/raminit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/northbridge/intel/nehalem/raminit.c b/src/northbridge/intel/nehalem/raminit.c
index c503555..c5fe8ba 100644
--- a/src/northbridge/intel/nehalem/raminit.c
+++ b/src/northbridge/intel/nehalem/raminit.c
@@ -3925,7 +3925,7 @@ void raminit(const int s3resume, const u8 *spd_addrmap)
 
 		info.use_ecc = 1;
 		for (channel = 0; channel < NUM_CHANNELS; channel++)
-			for (slot = 0; slot < NUM_CHANNELS; slot++) {
+			for (slot = 0; slot < NUM_SLOTS; slot++) {
 				int v;
 				int try;
 				int addr;



More information about the coreboot-gerrit mailing list