From 2ab8ec7cfb1c930fc188d6ac13040b3fd753c476 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Thu, 20 Feb 2014 14:34:56 +0100 Subject: nehalem/raminit: Fix typo of NUM_CHANNELS instead of NUM_SLOTS. Change-Id: I0fbfa8cb39881782bec3af5e43ff3c63dd2e4919 Signed-off-by: Vladimir Serbinenko Reviewed-on: http://review.coreboot.org/5276 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Ronald G. Minnich --- src/northbridge/intel/nehalem/raminit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/northbridge/intel') diff --git a/src/northbridge/intel/nehalem/raminit.c b/src/northbridge/intel/nehalem/raminit.c index a855982a35..24c64eeb35 100644 --- a/src/northbridge/intel/nehalem/raminit.c +++ b/src/northbridge/intel/nehalem/raminit.c @@ -3925,7 +3925,7 @@ void raminit(const int s3resume) 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; -- cgit v1.2.3