spl: ram: Add TPL Kconfig symbols
authorMarek Vasut <marek.vasut@gmail.com>
Sat, 7 Apr 2018 15:03:45 +0000 (17:03 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 11 Apr 2018 17:22:06 +0000 (13:22 -0400)
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>
common/spl/Kconfig

index 02457cb74b0120a246c8a10d7ffbc5c53a88b127..4d275655660724c2b07ea4c0d19646d144202b89 100644 (file)
@@ -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