]> git.ipfire.org Git - thirdparty/u-boot.git/commit
ram: rockchip: px30: add a config-based ddr selection
authorHeiko Stuebner <heiko.stuebner@theobroma-systems.com>
Thu, 1 Oct 2020 18:40:03 +0000 (20:40 +0200)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 30 Oct 2020 10:11:29 +0000 (18:11 +0800)
commit2db36c64bd5a8910112708c1c6b68bd3594517d3
treee4424a53fdd93ddbc91bec0770834691d99e8bd5
parente6dcfff8e6f0ddd1358c9787639e91f7612992ab
ram: rockchip: px30: add a config-based ddr selection

The SRAM on the PX30 is not big enough to hold multiple DDR configs
so it needs to be selected during build.

So far simply the DDR3 config was always selected and getting DDR4
or LPDDR2/3 initialized would require a code modification.

So add Kconfig options similar to RK3399 to allow selecting the DDR4
and LPDDR2/3 options instead, while DDR3 stays the default as before.

Signed-off-by: Heiko Stuebner <heiko.stuebner@theobroma-systems.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Kever Yang<kever.yang@rock-chips.com>
drivers/ram/rockchip/Kconfig
drivers/ram/rockchip/sdram_px30.c