diff options
author | Vladimir Serbinenko <phcoder@gmail.com> | 2014-02-20 14:34:56 +0100 |
---|---|---|
committer | Vladimir Serbinenko <phcoder@gmail.com> | 2014-02-20 20:54:50 +0100 |
commit | 2ab8ec7cfb1c930fc188d6ac13040b3fd753c476 (patch) | |
tree | e622216fc34c810ece39002a8c95026d51dd0219 /src/northbridge/intel | |
parent | 2bebc8016630b2db5c0740041bf1cfc80e2706cd (diff) |
nehalem/raminit: Fix typo of NUM_CHANNELS instead of NUM_SLOTS.
Change-Id: I0fbfa8cb39881782bec3af5e43ff3c63dd2e4919
Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
Reviewed-on: http://review.coreboot.org/5276
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/northbridge/intel')
-rw-r--r-- | src/northbridge/intel/nehalem/raminit.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |