]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
ram: Tighten some ram driver dependencies
authorTom Rini <trini@konsulko.com>
Mon, 4 Aug 2025 21:54:23 +0000 (15:54 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 14 Aug 2025 17:04:25 +0000 (11:04 -0600)
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>
drivers/ram/Kconfig

index edb8e254d5b3451e412085cbbea0237d277b088a..d69644973091547ebf88d54a5400d59bc8bf1d88 100644 (file)
@@ -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