summaryrefslogtreecommitdiffstats
path: root/common/spl
diff options
context:
space:
mode:
authorYork Sun <york.sun@nxp.com>2018-06-14 14:38:48 -0700
committerYork Sun <york.sun@nxp.com>2018-07-26 10:59:35 -0700
commit7550dbe38b3ffb49f1ea290beeaf633606c6c869 (patch)
treecce40f49afc179cd65677808d4f7f0b7542ca7d2 /common/spl
parent67b4f5302a40bd9a963e48d964a5895d60f75e8f (diff)
downloadu-boot-7550dbe38b3ffb49f1ea290beeaf633606c6c869.tar.gz
u-boot-7550dbe38b3ffb49f1ea290beeaf633606c6c869.tar.xz
u-boot-7550dbe38b3ffb49f1ea290beeaf633606c6c869.zip
spl: Add option SPL_PAYLOAD
Some legacy boards use RAW image for SPL boot. Add Kconfig option SPL_PAYLOAD to set alternative image. Signed-off-by: York Sun <york.sun@nxp.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'common/spl')
-rw-r--r--common/spl/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index 99c9053ab8..2af26a881a 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -553,6 +553,16 @@ config SYS_OS_BASE
endif # SPL_OS_BOOT
+config SPL_PAYLOAD
+ string "SPL payload"
+ default "tpl/u-boot-with-tpl.bin" if TPL
+ default "u-boot.bin"
+ help
+ Payload for SPL boot. For backward compability, default to
+ u-boot.bin, i.e. RAW image without any header. In case of
+ TPL, tpl/u-boot-with-tpl.bin. For new boards, suggest to
+ use u-boot.img.
+
config SPL_PCI_SUPPORT
bool "Support PCI drivers"
help