aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-mediatek/patches/010-no-binman.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/boot/uboot-mediatek/patches/010-no-binman.patch')
-rw-r--r--package/boot/uboot-mediatek/patches/010-no-binman.patch10
1 files changed, 4 insertions, 6 deletions
diff --git a/package/boot/uboot-mediatek/patches/010-no-binman.patch b/package/boot/uboot-mediatek/patches/010-no-binman.patch
index 8a05a2d41d..a2680e56fd 100644
--- a/package/boot/uboot-mediatek/patches/010-no-binman.patch
+++ b/package/boot/uboot-mediatek/patches/010-no-binman.patch
@@ -1,11 +1,9 @@
---- a/Makefile
-+++ b/Makefile
-@@ -1667,8 +1667,10 @@ u-boot-elf.lds: arch/u-boot-elf.lds prepare FORCE
+--- a/Makefile 2020-10-13 13:39:06.471438591 +0800
++++ b/Makefile 2020-10-13 13:39:39.190798462 +0800
+@@ -1725,6 +1725,10 @@
+
ifeq ($(CONFIG_SPL),y)
spl/u-boot-spl-mtk.bin: spl/u-boot-spl
-
--u-boot-mtk.bin: u-boot.dtb u-boot.img spl/u-boot-spl-mtk.bin FORCE
-- $(call if_changed,binman)
+OBJCOPYFLAGS_u-boot-mtk.bin = -I binary -O binary \
+ --pad-to=$(CONFIG_SPL_PAD_TO) --gap-fill=0xff
+u-boot-mtk.bin: u-boot.img spl/u-boot-spl-mtk.bin FORCE