]> git.sur5r.net Git - u-boot/blobdiff - drivers/ram/Kconfig
drivers: usb: dwc3: remove devm_zalloc from linux_compact
[u-boot] / drivers / ram / Kconfig
index 642a2d8948a709c675f8f350148fb085bef4fb6e..496e2b793bdf380d757e4ce26921d92cfbb1d10b 100644 (file)
@@ -8,11 +8,30 @@ config RAM
          the RAM size can either be statically defined or dynamically
          detected.
 
-config SPL_RAM_SUPPORT
+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 TPL_RAM
+       bool "Enable RAM support in TPL"
+       depends on RAM && TPL_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
+         TPL, enable this option. It might provide a cleaner interface to
+         setting up RAM (e.g. SDRAM / DDR) within TPL.
+
+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.
+
+source "drivers/ram/stm32mp1/Kconfig"