arm: mediatek: remove unused binman config
authorSam Shih <sam.shih@mediatek.com>
Wed, 4 Mar 2020 12:03:48 +0000 (20:03 +0800)
committerTom Rini <trini@konsulko.com>
Tue, 10 Mar 2020 21:08:13 +0000 (17:08 -0400)
The binman-option BINMAN_FDT is introduced by this commit:
commit 3c10dc95bdd0 ("binman: Add a library to access binman entries")
BINMAN_FDT being selected when BINMAN=y that resulting in mt7623
and mt7622 are unable to boot. The root cause of this issue is commit:
commit cbd2fba1eca1 ("arm: MediaTek: add basic support for MT7629 boards")
select BINMAN=y in all mediatek SoCs, and others mediatek SoCs not
expect to use BINMAN_FDT.
This patch remove BINMAN=y option when ARCH_MEDIATEK=y and
move this to the specify SoCs part config.

Signed-off-by: Sam Shih <sam.shih@mediatek.com>
Tested-by: Frank Wunderlich <frank-w@public-files.de>
arch/arm/Kconfig
arch/arm/mach-mediatek/Kconfig

index 3d3d070223d6420fbc65d3b87232916f6a5f995a..5d367888d8a5488fe224b2694d627afd4955a248 100644 (file)
@@ -769,7 +769,6 @@ config ARCH_MESON
 
 config ARCH_MEDIATEK
        bool "MediaTek SoCs"
-       select BINMAN
        select DM
        select OF_CONTROL
        select SPL_DM if SPL
index 17b84db5a8df3f5bfe3f4abdc04a8e0b24780796..0042e57017f146c7b162932c7e14d9d589bbf123 100644 (file)
@@ -36,6 +36,7 @@ config TARGET_MT7629
        bool "MediaTek MT7629 SoC"
        select CPU_V7A
        select SPL
+       select BINMAN
        help
          The MediaTek MT7629 is a ARM-based SoC with a dual-core Cortex-A7
          including DDR3, crypto engine, 3x3 11n/ac Wi-Fi, Gigabit Ethernet,