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 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 79cbad22db..36c145b71b 100644 --- a/Makefile +++ b/Makefile @@ -1111,8 +1111,8 @@ u-boot.sha1: u-boot.bin u-boot.dis: u-boot $(OBJDUMP) -d $< > $@ -ifdef CONFIG_TPL -SPL_PAYLOAD := tpl/u-boot-with-tpl.bin +ifneq ($(CONFIG_SPL_PAYLOAD),) +SPL_PAYLOAD := $(CONFIG_SPL_PAYLOAD:"%"=%) else SPL_PAYLOAD := u-boot.bin endif -- cgit v1.2.3