The DDR calibration tool for i.MX8M currently produces 3732 MTps rate in
lpddr4_timing.c , while the PHY code expects 3733 MTps rate. Support both
variants to avoid surprises where the system fails to boot.

Signed-off-by: Marek Vasut <ma...@denx.de>
---
Cc: Fabio Estevam <feste...@denx.de>
Cc: Peng Fan <peng....@nxp.com>
Cc: Stefano Babic <sba...@denx.de>
Cc: Ye Li <ye...@nxp.com>
---
 drivers/ddr/imx/phy/ddrphy_utils.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/ddr/imx/phy/ddrphy_utils.c 
b/drivers/ddr/imx/phy/ddrphy_utils.c
index b852c870f90..6a8b6be42b2 100644
--- a/drivers/ddr/imx/phy/ddrphy_utils.c
+++ b/drivers/ddr/imx/phy/ddrphy_utils.c
@@ -112,6 +112,7 @@ void ddrphy_init_set_dfi_clk(unsigned int drate)
                dram_disable_bypass();
                break;
        case 3733:
+       case 3732:
                dram_pll_init(MHZ(933));
                dram_disable_bypass();
                break;
-- 
2.39.0

Reply via email to