diff options
| author | York Sun <[email protected]> | 2018-06-14 14:38:48 -0700 |
|---|---|---|
| committer | York Sun <[email protected]> | 2018-07-26 10:59:35 -0700 |
| commit | 7550dbe38b3ffb49f1ea290beeaf633606c6c869 (patch) | |
| tree | cce40f49afc179cd65677808d4f7f0b7542ca7d2 /Makefile | |
| parent | 67b4f5302a40bd9a963e48d964a5895d60f75e8f (diff) | |
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 <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |
