summaryrefslogtreecommitdiff
path: root/src/northbridge
diff options
context:
space:
mode:
Diffstat (limited to 'src/northbridge')
-rw-r--r--src/northbridge/intel/nehalem/raminit.c2
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;