]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ddr: imx: Handle 3734 in addition to 3733 and 3732 MTps rates
authorMarek Vasut <marex@denx.de>
Sat, 2 Dec 2023 01:48:00 +0000 (02:48 +0100)
committerFabio Estevam <festevam@denx.de>
Thu, 14 Dec 2023 18:29:08 +0000 (15:29 -0300)
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>
drivers/ddr/imx/phy/ddrphy_utils.c

index fd8b4113b7bda573e10d7cbc2e042a15fb5bab71..d5dac0fce9240aa2205852bb6c056580f1ce3a5b 100644 (file)
@@ -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));