From: Philipp Tomsich Date: Wed, 28 Jun 2017 23:42:40 +0000 (+0200) Subject: spl: dm: Kconfig: introduce TPL_RAM (in analogy to SPL_RAM) X-Git-Tag: v2017.09-rc2~5^2~76 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c336c3c35f53d01fad0699237d5645440e454df6;p=u-boot spl: dm: Kconfig: introduce TPL_RAM (in analogy to SPL_RAM) To allow finer grained selection of features for TPL, we introduce TPL_RAM (in analogy to SPL_RAM). Signed-off-by: Philipp Tomsich Reviewed-by: Simon Glass Reviewed-by: Tom Rini --- diff --git a/drivers/ram/Kconfig b/drivers/ram/Kconfig index e75c23ff17..836be25507 100644 --- a/drivers/ram/Kconfig +++ b/drivers/ram/Kconfig @@ -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