From 7550dbe38b3ffb49f1ea290beeaf633606c6c869 Mon Sep 17 00:00:00 2001 From: York Sun Date: Thu, 14 Jun 2018 14:38:48 -0700 Subject: 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 Reviewed-by: Tom Rini --- common/spl/Kconfig | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'common/spl') 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 -- cgit