spl: dm: Kconfig: SPL_RAM depends on SPL_DM
[platform/kernel/u-boot.git] / drivers / ram / Kconfig
index ff09f22..e75c23f 100644 (file)
@@ -10,9 +10,17 @@ config RAM
 
 config SPL_RAM
        bool "Enable RAM support in SPL"
-       depends on RAM
+       depends on RAM && SPL_DM
        help
          The RAM subsystem adds a small amount of overhead to the image.
          If this is acceptable and you have a need to use RAM drivers in
          SPL, enable this option. It might provide a cleaner interface to
          setting up RAM (e.g. SDRAM / DDR) within SPL.
+
+config STM32_SDRAM
+       bool "Enable STM32 SDRAM support"
+       depends on RAM
+       help
+         STM32F7 family devices support flexible memory controller(FMC) to
+         support external memories like sdram, psram & nand.
+         This driver is for the sdram memory interface with the FMC.