summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorIcenowy Zheng <[email protected]>2021-10-14 20:53:07 -0500
committerAndre Przywara <[email protected]>2022-04-04 23:24:17 +0100
commit8c621f4c3b794973a0dd76623cab6069d89fb3d7 (patch)
tree81b64f9282b7edc3e7324860d085e7187883bd54 /scripts
parent78ac2c0fd0662f021fc99e8ee066525ed115a8e2 (diff)
sunxi: specify architecture when generating SPL boot image
As mkimage -T sunxi_egon now gains support for -A parameter, specify the architecture when generating SPL boot image for sunxi. Reviewed-by: Andre Przywara <[email protected]> Signed-off-by: Icenowy Zheng <[email protected]> Signed-off-by: Samuel Holland <[email protected]> Signed-off-by: Andre Przywara <[email protected]>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile.spl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile.spl b/scripts/Makefile.spl
index 83a95ee4aa2..16b5a3ddf9b 100644
--- a/scripts/Makefile.spl
+++ b/scripts/Makefile.spl
@@ -411,7 +411,7 @@ endif
$(obj)/$(SPL_BIN).sfp: $(obj)/$(SPL_BIN).bin FORCE
$(call if_changed,mkimage)
-MKIMAGEFLAGS_sunxi-spl.bin = -T sunxi_egon \
+MKIMAGEFLAGS_sunxi-spl.bin = -A $(ARCH) -T sunxi_egon \
-n $(CONFIG_DEFAULT_DEVICE_TREE)
OBJCOPYFLAGS_u-boot-spl-dtb.hex := -I binary -O ihex --change-address=$(CONFIG_SPL_TEXT_BASE)