ddr: imx: Handle both 3733 and 3732 MTps rates
PATCH 1/1 ddr: imx: Handle both 3733 and 3732 MTps rates
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 <[email protected]>
---
Cc: Fabio Estevam <[email protected]>
Cc: Peng Fan <[email protected]>
Cc: Stefano Babic <[email protected]>
Cc: Ye Li <[email protected]>
--- drivers/ddr/imx/phy/ddrphy_utils.c | 1 + 1 file changed, 1 insertion(+)
drivers/ddr/imx/phy/ddrphy_utils.c +1 -0
@@ -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 ;
Signature · 1 line
2.39.0
PATCH 1/1 ddr: imx: Handle both 3733 and 3732 MTps rates
Quoted 4 lines
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 <[email protected]>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: [email protected] =====================================================================