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:
parent
2bebc80166
commit
2ab8ec7cfb
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue