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