From: Marek Vasut Date: Mon, 11 Dec 2017 15:19:33 +0000 (+0100) Subject: ARM: imx6: Disable DDR DRAM calibration DHCOM i.MX6 PDK X-Git-Tag: archive/raspbian/2020.07+dfsg-2+rpi1^2^2^2^2^2^2^2^2^2^2^2^2^2^2^2^2^2^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f6f731d9c5ca5b9fc50adee8d577b6d84aed98de;p=u-boot.git ARM: imx6: Disable DDR DRAM calibration DHCOM i.MX6 PDK The DDR DRAM calibration doesn't work on T-topology sometimes, so disable it. Signed-off-by: Marek Vasut Cc: Stefano Babic Gbp-Pq: Topic upstream Gbp-Pq: Name 0002-ARM-imx6-Disable-DDR-DRAM-calibration-DHCOM-i.MX6-PD.patch --- diff --git a/board/dhelectronics/dh_imx6/dh_imx6_spl.c b/board/dhelectronics/dh_imx6/dh_imx6_spl.c index bb98f39f0..57ae7f15c 100644 --- a/board/dhelectronics/dh_imx6/dh_imx6_spl.c +++ b/board/dhelectronics/dh_imx6/dh_imx6_spl.c @@ -387,10 +387,6 @@ void board_init_f(ulong dummy) &dhcom6sdl_grp_ioregs); mx6_dram_cfg(&dhcom_ddr_info, &dhcom_mmdc_calib, &dhcom_mem_ddr); - /* Perform DDR DRAM calibration */ - udelay(100); - mmdc_do_dqs_calibration(&dhcom_ddr_info); - /* Clear the BSS. */ memset(__bss_start, 0, __bss_end - __bss_start);