dm: core: fix devfdt_remap_addr_index()
[oweals/u-boot.git] / drivers / ram / Kconfig
index 61afd7a92a4814111ee0b12ee912ee12825f8a4c..54bb4b419f0c321aaf80e35e88a1c5f20f42dbb2 100644 (file)
@@ -10,13 +10,22 @@ 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 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
@@ -24,3 +33,14 @@ config STM32_SDRAM
          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.
+
+config MPC83XX_SDRAM
+       bool "Enable MPC83XX SDRAM support"
+       depends on RAM
+       help
+         Enable support for the internal DDR Memory Controller of the MPC83xx
+         family of SoCs. Both static configurations, as well as configuring
+         the RAM through the use of SPD (Serial Presence Detect) is supported
+         via device tree settings.
+
+source "drivers/ram/stm32mp1/Kconfig"