mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-20 20:04:46 +00:00
ddr: imx: Add new rates for i.MX91
iMX91 reuses iMX93 controller and PHY, but with lower speed, so add new DDR rates for i.MX91. Signed-off-by: Ye Li <ye.li@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com>
This commit is contained in:
parent
bc04d5961d
commit
ffae5a2c7c
1 changed files with 8 additions and 0 deletions
|
@ -144,6 +144,10 @@ void ddrphy_init_set_dfi_clk(unsigned int drate)
|
|||
dram_pll_init(MHZ(400));
|
||||
dram_disable_bypass();
|
||||
break;
|
||||
case 1200:
|
||||
dram_pll_init(MHZ(300));
|
||||
dram_disable_bypass();
|
||||
break;
|
||||
case 1066:
|
||||
dram_pll_init(MHZ(266));
|
||||
dram_disable_bypass();
|
||||
|
@ -152,6 +156,10 @@ void ddrphy_init_set_dfi_clk(unsigned int drate)
|
|||
dram_pll_init(MHZ(233));
|
||||
dram_disable_bypass();
|
||||
break;
|
||||
case 800:
|
||||
dram_pll_init(MHZ(200));
|
||||
dram_disable_bypass();
|
||||
break;
|
||||
case 667:
|
||||
dram_pll_init(MHZ(167));
|
||||
dram_disable_bypass();
|
||||
|
|
Loading…
Add table
Reference in a new issue