aboutsummaryrefslogtreecommitdiff
path: root/drivers/ddr
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2023-12-02 02:48:00 +0100
committerFabio Estevam <festevam@denx.de>2023-12-14 15:29:08 -0300
commit88db55b054768238ac48170d684303123733d709 (patch)
tree4bb580628c073699b19f40f11a8cb6b0ad3420cd /drivers/ddr
parent4a03cf38d8415d7126aa7af666dece562527de8b (diff)
downloadu-boot-88db55b054768238ac48170d684303123733d709.zip
u-boot-88db55b054768238ac48170d684303123733d709.tar.gz
u-boot-88db55b054768238ac48170d684303123733d709.tar.bz2
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 <marex@denx.de> Reviewed-by: Fabio Estevam <festevam@gmail.com>
Diffstat (limited to 'drivers/ddr')
-rw-r--r--drivers/ddr/imx/phy/ddrphy_utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ddr/imx/phy/ddrphy_utils.c b/drivers/ddr/imx/phy/ddrphy_utils.c
index fd8b411..d5dac0f 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));