A few ram drivers cannot build without access to some platform
specific header files. Express those requirements in Kconfig as well.
Signed-off-by: Tom Rini <trini@konsulko.com>
config STM32_SDRAM
bool "Enable STM32 SDRAM support"
- depends on RAM
+ depends on RAM && ARCH_STM32
help
STM32F7 family devices support flexible memory controller(FMC) to
support external memories like sdram, psram & nand.
config MPC83XX_SDRAM
bool "Enable MPC83XX SDRAM support"
- depends on RAM
+ depends on RAM && MPC83xx
help
Enable support for the internal DDR Memory Controller of the MPC83xx
family of SoCs. Both static configurations, as well as configuring
config K3_DDRSS
bool "Enable K3 DDRSS support"
- depends on RAM
+ depends on RAM && ARCH_K3
choice
depends on K3_DDRSS