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>
This commit is contained in:
Vladimir Serbinenko 2014-02-20 14:34:56 +01:00
parent 2bebc80166
commit 2ab8ec7cfb
1 changed files with 1 additions and 1 deletions

View File

@ -3925,7 +3925,7 @@ void raminit(const int s3resume)
info.use_ecc = 1; info.use_ecc = 1;
for (channel = 0; channel < NUM_CHANNELS; channel++) for (channel = 0; channel < NUM_CHANNELS; channel++)
for (slot = 0; slot < NUM_CHANNELS; slot++) { for (slot = 0; slot < NUM_SLOTS; slot++) {
int v; int v;
int try; int try;
int addr; int addr;