Skip to contentSkip to conversation

spl: ram: Add TPL Kconfig symbols

PATCH In review Marek Vasut 2 participants 2 messages Apr 7, 2018 – Apr 11, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 spl: ram: Add TPL Kconfig symbols

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

---
 common/spl/Kconfig | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
common/spl/Kconfig +14 -0
index 02457cb74b..4d27565566 100644
@@ -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
Signature · 1 line
2.16.2
#1 lore raw
Quoted 4 lines · Marek Vasut

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

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180411/e7423b20/attachment.sig>