diff options
author | Marek Vasut | 2023-01-23 17:53:19 +0100 |
---|---|---|
committer | Stefano Babic | 2023-01-30 21:02:27 +0100 |
commit | 6e0ca0658ee318e143ceae143f19550745ad5c5a (patch) | |
tree | c3b22f73008ba0a0d89710da7b24daefc9ab9cac /drivers/ddr | |
parent | 352c4023979e834ca98bba69121d3b14e97bc5d7 (diff) |
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 <marex@denx.de>
Diffstat (limited to 'drivers/ddr')
-rw-r--r-- | drivers/ddr/imx/phy/ddrphy_utils.c | 1 |
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 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; |