uboot-mediatek: remove swig requirement
[openwrt/staging/dedeckeh.git] / package / boot / uboot-mediatek / patches / 010-no-binman.patch
1 --- a/Makefile
2 +++ b/Makefile
3 @@ -1667,8 +1667,10 @@ u-boot-elf.lds: arch/u-boot-elf.lds prepare FORCE
4 ifeq ($(CONFIG_SPL),y)
5 spl/u-boot-spl-mtk.bin: spl/u-boot-spl
6
7 -u-boot-mtk.bin: u-boot.dtb u-boot.img spl/u-boot-spl-mtk.bin FORCE
8 - $(call if_changed,binman)
9 +OBJCOPYFLAGS_u-boot-mtk.bin = -I binary -O binary \
10 + --pad-to=$(CONFIG_SPL_PAD_TO) --gap-fill=0xff
11 +u-boot-mtk.bin: u-boot.img spl/u-boot-spl-mtk.bin FORCE
12 + $(call if_changed,pad_cat)
13 else
14 MKIMAGEFLAGS_u-boot-mtk.bin = -T mtk_image \
15 -a $(CONFIG_SYS_TEXT_BASE) -e $(CONFIG_SYS_TEXT_BASE) \
16 --- a/arch/arm/mach-mediatek/Kconfig
17 +++ b/arch/arm/mach-mediatek/Kconfig
18 @@ -36,7 +36,6 @@ config TARGET_MT7629
19 bool "MediaTek MT7629 SoC"
20 select CPU_V7A
21 select SPL
22 - select BINMAN
23 help
24 The MediaTek MT7629 is a ARM-based SoC with a dual-core Cortex-A7
25 including DDR3, crypto engine, 3x3 11n/ac Wi-Fi, Gigabit Ethernet,