From 4a86b3b0368c6955d791a8a4d57da3741712b01e Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Sun, 11 Aug 2019 16:28:05 +0200 Subject: nb/intel/gm45: Call ddr3_calibrate_zq() only for DDR3 :) Change-Id: I7d00ddf727e7250b767a1c4b58bf11b17e900fc1 Signed-off-by: Nico Huber Reviewed-on: https://review.coreboot.org/c/coreboot/+/34828 Reviewed-by: Angel Pons Tested-by: build bot (Jenkins) --- src/northbridge/intel/gm45/raminit.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/northbridge/intel/gm45/raminit.c') diff --git a/src/northbridge/intel/gm45/raminit.c b/src/northbridge/intel/gm45/raminit.c index b7ccdecdad..7a30b761c5 100644 --- a/src/northbridge/intel/gm45/raminit.c +++ b/src/northbridge/intel/gm45/raminit.c @@ -1799,7 +1799,8 @@ void raminit(sysinfo_t *const sysinfo, const int s3resume) /* Perform ZQ calibration for DDR3. */ - ddr3_calibrate_zq(); + if (sysinfo->spd_type == DDR3) + ddr3_calibrate_zq(); /* Perform receive-enable calibration. */ raminit_receive_enable_calibration(timings, dimms); -- cgit v1.2.3