summaryrefslogtreecommitdiff
path: root/drivers/ram
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2025-08-04 15:54:23 -0600
committerTom Rini <[email protected]>2025-08-14 11:04:25 -0600
commitc39a8001ca862fbb676ddb788bc86f22c243bb88 (patch)
treee8448352a9b7e6e0fcfa48969128ad5eaced4fc7 /drivers/ram
parent546be69f05817ac3a16dddc847ee59c4342e7709 (diff)
ram: Tighten some ram driver dependencies
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 <[email protected]>
Diffstat (limited to 'drivers/ram')
-rw-r--r--drivers/ram/Kconfig6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/ram/Kconfig b/drivers/ram/Kconfig
index edb8e254d5b..d6964497309 100644
--- a/drivers/ram/Kconfig
+++ b/drivers/ram/Kconfig
@@ -39,7 +39,7 @@ config VPL_RAM
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.
@@ -47,7 +47,7 @@ config STM32_SDRAM
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
@@ -67,7 +67,7 @@ config K3_AM654_DDRSS
config K3_DDRSS
bool "Enable K3 DDRSS support"
- depends on RAM
+ depends on RAM && ARCH_K3
choice
depends on K3_DDRSS