From d79dfd4519c3f357a2523acfeb26eca6f59eae4d Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Sat, 7 Apr 2018 17:03:45 +0200 Subject: [PATCH] spl: ram: Add TPL Kconfig symbols Add TPL config symbols for RAM loading matching the SPL ones. Signed-off-by: Marek Vasut Cc: Tom Rini --- common/spl/Kconfig | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/common/spl/Kconfig b/common/spl/Kconfig index 02457cb..4d27565 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