]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
spl: dm: Kconfig: introduce TPL_RAM (in analogy to SPL_RAM)
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Wed, 28 Jun 2017 23:42:40 +0000 (01:42 +0200)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Sun, 13 Aug 2017 15:12:20 +0000 (17:12 +0200)
To allow finer grained selection of features for TPL, we introduce
TPL_RAM (in analogy to SPL_RAM).

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
drivers/ram/Kconfig

index e75c23ff17e36896bc31faa7c5340b583a677928..836be25507b58e062dc47e50e8ca478f8d321035 100644 (file)
@@ -17,6 +17,15 @@ config SPL_RAM
          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 SPL"
+       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