summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2018-04-07 17:03:45 +0200
committerTom Rini <trini@konsulko.com>2018-04-11 13:22:06 -0400
commitd79dfd4519c3f357a2523acfeb26eca6f59eae4d (patch)
tree1b780a58f0d468433c76b755243e50305481c3fc
parent49132610d1d7a7864b599b6adee988daf19ca2c4 (diff)
spl: ram: Add TPL Kconfig symbols
Add TPL config symbols for RAM loading matching the SPL ones. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Tom Rini <trini@konsulko.com>
-rw-r--r--common/spl/Kconfig14
1 files changed, 14 insertions, 0 deletions
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