[U-Boot] [PATCH] spl: ram: Add TPL Kconfig symbols

Marek Vasut marek.vasut at gmail.com
Sat Apr 7 15:03:45 UTC 2018


Add TPL config symbols for RAM loading matching the SPL ones.

Signed-off-by: Marek Vasut <marek.vasut+renesas at gmail.com>
Cc: Tom Rini <trini at konsulko.com>
---
 common/spl/Kconfig | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index 02457cb74b..4d27565566 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -910,6 +910,20 @@ config TPL_NAND_SUPPORT
 	help
 	  Enable support for NAND in TPL. See SPL_NAND_SUPPORT for details.
 
+config TPL_RAM_SUPPORT
+	bool "Support booting from RAM"
+	help
+	  Enable booting of an image in RAM. The image can be preloaded or
+	  it can be loaded by TPL directly into RAM (e.g. using USB).
+
+config TPL_RAM_DEVICE
+	bool "Support booting from preloaded image in RAM"
+	depends on TPL_RAM_SUPPORT
+	help
+	  Enable booting of an image already loaded in RAM. The image has to
+	  be already in memory when TPL takes over, e.g. loaded by the boot
+	  ROM.
+
 config TPL_SERIAL_SUPPORT
 	bool "Support serial"
 	help
-- 
2.16.2



More information about the U-Boot mailing list