summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/northbridge/intel/x4x/raminit_ddr23.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/northbridge/intel/x4x/raminit_ddr23.c b/src/northbridge/intel/x4x/raminit_ddr23.c
index 618e21215c..b072154bb9 100644
--- a/src/northbridge/intel/x4x/raminit_ddr23.c
+++ b/src/northbridge/intel/x4x/raminit_ddr23.c
@@ -1616,6 +1616,14 @@ static void set_dradrb(struct sysinfo *s)
MCHBAR8(0x262) = (MCHBAR8(0x262) & ~0xf0) | ((rankpop0 << 4) & 0xf0);
MCHBAR8(0x662) = (MCHBAR8(0x662) & ~0xf0) | ((rankpop1 << 4) & 0xf0);
+ if (s->spd_type == DDR3) {
+ FOR_EACH_POPULATED_CHANNEL(s->dimms, ch) {
+ /* ZQCAL enable */
+ MCHBAR32(0x269 + 0x400 * ch) =
+ MCHBAR32(0x269 + 0x400 * ch) | (1 << 26);
+ }
+ }
+
if (ONLY_DIMMA_IS_POPULATED(s->dimms, 0) ||
ONLY_DIMMB_IS_POPULATED(s->dimms, 0))
MCHBAR8(0x260) = MCHBAR8(0x260) | 1;