]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - Makefile
arm, davinci: Use CONFIG_SPL_PAD_TO for padding the SPL in an ais image
[karo-tx-uboot.git] / Makefile
index 840c39b43b882ad6e7432c9a1940efea87adb159..aad8127d1ccfc7db7128b4b2be1b7b5d0ca9f585 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -890,7 +890,7 @@ MKIMAGEFLAGS_u-boot-spl.ais = -s -n $(if $(CONFIG_AIS_CONFIG_FILE), \
 spl/u-boot-spl.ais: spl/u-boot-spl.bin FORCE
        $(call if_changed,mkimage)
 
-OBJCOPYFLAGS_u-boot.ais = -I binary -O binary --pad-to=$(CONFIG_SPL_MAX_SIZE)
+OBJCOPYFLAGS_u-boot.ais = -I binary -O binary --pad-to=$(CONFIG_SPL_PAD_TO)
 u-boot.ais: spl/u-boot-spl.ais u-boot.img FORCE
        $(call if_changed,pad_cat)