mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-30 06:53:09 +00:00
2db36c64bd
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>
52 lines
1.4 KiB
Text
52 lines
1.4 KiB
Text
config RAM_ROCKCHIP
|
|
bool "Ram drivers support for Rockchip SoCs"
|
|
depends on RAM && ARCH_ROCKCHIP
|
|
default y
|
|
help
|
|
This enables support for ram drivers Rockchip SoCs.
|
|
|
|
config ROCKCHIP_SDRAM_COMMON
|
|
bool "Enable rockchip sdram common driver"
|
|
depends on TPL_RAM || SPL_RAM
|
|
help
|
|
This enable sdram common driver
|
|
|
|
config RAM_ROCKCHIP_DEBUG
|
|
bool "Rockchip ram drivers debugging"
|
|
depends on RAM_ROCKCHIP
|
|
default y
|
|
help
|
|
This enables debugging ram driver API's for the platforms
|
|
based on Rockchip SoCs.
|
|
|
|
This is an option for developers to understand the ram drivers
|
|
initialization, configurations and etc.
|
|
|
|
config RAM_PX30_DDR4
|
|
bool "DDR3 support for Rockchip PX30"
|
|
depends on RAM_ROCKCHIP && ROCKCHIP_PX30
|
|
help
|
|
This enables DDR4 sdram support instead of the default DDR3 support
|
|
on Rockchip PC30 SoCs.
|
|
|
|
config RAM_PX30_LPDDR2
|
|
bool "LPDDR2 support for Rockchip PX30"
|
|
depends on RAM_ROCKCHIP && ROCKCHIP_PX30
|
|
help
|
|
This enables LPDDR2 sdram support instead of the default DDR3 support
|
|
on Rockchip PC30 SoCs.
|
|
|
|
config RAM_PX30_LPDDR3
|
|
bool "LPDDR3 support for Rockchip PX30"
|
|
depends on RAM_ROCKCHIP && ROCKCHIP_PX30
|
|
help
|
|
This enables LPDDR3 sdram support instead of the default DDR3 support
|
|
on Rockchip PC30 SoCs.
|
|
|
|
config RAM_RK3399_LPDDR4
|
|
bool "LPDDR4 support for Rockchip RK3399"
|
|
depends on RAM_ROCKCHIP && ROCKCHIP_RK3399
|
|
help
|
|
This enables LPDDR4 sdram code support for the platforms based
|
|
on Rockchip RK3399 SoC.
|
|
|