mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-05 02:51:00 +00:00
99c7cc58e1
Since i.MX9 uses same DDR PHY with i.MX8M, split the DDRPHY to a common directory under imx, then use dedicated ddr controller driver for each iMX9 and iMX8M. The DDRPHY registers are space compressed, so it needs conversion to access the DDRPHY address. Introduce a common PHY address remap function for both iMX8M and iMX9 for all PHY registers accessing. Signed-off-by: Ye Li <ye.li@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com>
48 lines
1.1 KiB
Text
48 lines
1.1 KiB
Text
menu "i.MX8M DDR controllers"
|
|
depends on ARCH_IMX8M
|
|
|
|
config IMX8M_DRAM
|
|
bool "imx8m dram"
|
|
select IMX_SNPS_DDR_PHY
|
|
|
|
config IMX8M_LPDDR4
|
|
bool "imx8m lpddr4"
|
|
select IMX8M_DRAM
|
|
help
|
|
Select the i.MX8M LPDDR4 driver support on i.MX8M SOC.
|
|
|
|
config IMX8M_DDR4
|
|
bool "imx8m ddr4"
|
|
select IMX8M_DRAM
|
|
help
|
|
Select the i.MX8M DDR4 driver support on i.MX8M SOC.
|
|
|
|
config IMX8M_DDR3L
|
|
bool "imx8m ddr3l"
|
|
select IMX8M_DRAM
|
|
help
|
|
Select the i.MX8M DDR3L driver support on i.MX8M SOC.
|
|
|
|
config SAVED_DRAM_TIMING_BASE
|
|
hex "Define the base address for saved dram timing"
|
|
help
|
|
after DRAM is trained, need to save the dram related timming
|
|
info into memory for low power use. OCRAM_S is used for this
|
|
purpose on i.MX8MM.
|
|
default 0x180000
|
|
|
|
config IMX8M_DRAM_INLINE_ECC
|
|
bool "imx8mp inline ECC"
|
|
depends on IMX8MP && IMX8M_LPDDR4
|
|
help
|
|
Select this config if you want to use inline ecc feature for
|
|
imx8mp-evk board.
|
|
|
|
config IMX8M_VDD_SOC_850MV
|
|
bool "imx8mp change the vdd_soc voltage to 850mv"
|
|
depends on IMX8MP
|
|
|
|
config IMX8M_LPDDR4_FREQ0_2400MTS
|
|
bool "imx8m PDDR4 freq0 change from 4000MTS to 2400MTS"
|
|
|
|
endmenu
|