projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
352c402
)
ddr: imx: Handle both 3733 and 3732 MTps rates
author
Marek Vasut
<marex@denx.de>
Mon, 23 Jan 2023 16:53:19 +0000
(17:53 +0100)
committer
Stefano Babic
<sbabic@denx.de>
Mon, 30 Jan 2023 20:02:27 +0000
(21:02 +0100)
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>
drivers/ddr/imx/phy/ddrphy_utils.c
patch
|
blob
|
history
diff --git
a/drivers/ddr/imx/phy/ddrphy_utils.c
b/drivers/ddr/imx/phy/ddrphy_utils.c
index
b852c87
..
6a8b6be
100644
(file)
--- 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;