nb/intel/gm45: Call ddr3_calibrate_zq() only for DDR3 :)

Change-Id: I7d00ddf727e7250b767a1c4b58bf11b17e900fc1
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/34828
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Nico Huber 2019-08-11 16:28:05 +02:00 committed by Patrick Georgi
parent c99d3afe3e
commit 4a86b3b036
1 changed files with 2 additions and 1 deletions

View File

@ -1799,7 +1799,8 @@ void raminit(sysinfo_t *const sysinfo, const int s3resume)
/* Perform ZQ calibration for DDR3. */ /* Perform ZQ calibration for DDR3. */
ddr3_calibrate_zq(); if (sysinfo->spd_type == DDR3)
ddr3_calibrate_zq();
/* Perform receive-enable calibration. */ /* Perform receive-enable calibration. */
raminit_receive_enable_calibration(timings, dimms); raminit_receive_enable_calibration(timings, dimms);