summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/northbridge/intel/sandybridge/raminit_common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/northbridge/intel/sandybridge/raminit_common.c b/src/northbridge/intel/sandybridge/raminit_common.c
index d9c60e4e5b..b583264002 100644
--- a/src/northbridge/intel/sandybridge/raminit_common.c
+++ b/src/northbridge/intel/sandybridge/raminit_common.c
@@ -2555,7 +2555,8 @@ static int discover_edges_write_real(ramctr_timing *ctrl, int channel, int slotr
}
}
- MCHBAR32(GDCRTRAININGMOD_ch(0)) = 0;
+ /* Restore nominal Vref after training */
+ MCHBAR32(GDCRTRAININGMOD_ch(channel)) = 0;
printram("CPA\n");
return 0;
}