summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2018-05-10 22:57:41 -0400
committerTom Rini <trini@konsulko.com>2018-05-10 22:57:41 -0400
commit3aba3fd65490eff5305160e92937dc5592ab9bfb (patch)
treee07d43bb085f02ba440fda96b94ad7d4121dfebf /scripts
parentf739fcd831240dda10a92f4212f1854f8481aeee (diff)
parent792557d1110e13f82ee66dab57c5dca2102744da (diff)
Merge git://git.denx.de/u-boot-socfpga
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile.spl4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/Makefile.spl b/scripts/Makefile.spl
index 09e7cef96e..057389997d 100644
--- a/scripts/Makefile.spl
+++ b/scripts/Makefile.spl
@@ -307,7 +307,11 @@ LDFLAGS_$(SPL_BIN) += -Ttext $(CONFIG_SPL_TEXT_BASE)
endif
endif
+ifdef CONFIG_TARGET_SOCFPGA_ARRIA10
+MKIMAGEFLAGS_$(SPL_BIN).sfp = -T socfpgaimage_v1
+else
MKIMAGEFLAGS_$(SPL_BIN).sfp = -T socfpgaimage
+endif
$(obj)/$(SPL_BIN).sfp: $(obj)/$(SPL_BIN).bin FORCE
$(call if_changed,mkimage)