From: Marek Vasut Date: Sat, 2 Dec 2023 01:48:00 +0000 (+0100) Subject: ddr: imx: Handle 3734 in addition to 3733 and 3732 MTps rates X-Git-Url: http://git.dujemihanovic.xyz/html/static/gitweb.css?a=commitdiff_plain;h=88db55b054768238ac48170d684303123733d709;p=u-boot.git ddr: imx: Handle 3734 in addition to 3733 and 3732 MTps rates The new MX8M DDR tool 3.31 now generates a programming file which uses data rate 3734 instead of 3733 or 3732 . Handle another rounding option . Signed-off-by: Marek Vasut Reviewed-by: Fabio Estevam --- diff --git a/drivers/ddr/imx/phy/ddrphy_utils.c b/drivers/ddr/imx/phy/ddrphy_utils.c index fd8b4113b7..d5dac0fce9 100644 --- a/drivers/ddr/imx/phy/ddrphy_utils.c +++ b/drivers/ddr/imx/phy/ddrphy_utils.c @@ -111,6 +111,7 @@ void ddrphy_init_set_dfi_clk(unsigned int drate) dram_pll_init(MHZ(1000)); dram_disable_bypass(); break; + case 3734: case 3733: case 3732: dram_pll_init(MHZ(933));