mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-20 00:48:52 +09:00
![Sam Shih](/assets/img/avatar_default.png)
The binman-option BINMAN_FDT is introduced by this commit: commit3c10dc95bd
("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: commitcbd2fba1ec
("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>
83 lines
2.5 KiB
Plaintext
83 lines
2.5 KiB
Plaintext
if ARCH_MEDIATEK
|
|
|
|
config SYS_SOC
|
|
default "mediatek"
|
|
|
|
config SYS_VENDOR
|
|
default "mediatek"
|
|
|
|
config MT8512
|
|
bool "MediaTek MT8512 SoC"
|
|
default n
|
|
|
|
choice
|
|
prompt "MediaTek board select"
|
|
|
|
config TARGET_MT7622
|
|
bool "MediaTek MT7622 SoC"
|
|
select ARM64
|
|
help
|
|
The MediaTek MT7622 is a ARM64-based SoC with a dual-core Cortex-A53.
|
|
including UART, SPI, USB3.0, SD and MMC cards, NAND, SNFI, PWM, PCIe,
|
|
Gigabit Ethernet, I2C, built-in Wi-Fi, and PCIe.
|
|
|
|
config TARGET_MT7623
|
|
bool "MediaTek MT7623 SoC"
|
|
select CPU_V7A
|
|
help
|
|
The MediaTek MT7623 is a ARM-based SoC with a quad-core Cortex-A7
|
|
including NEON and GPU, Mali-450 graphics, several DDR3 options,
|
|
crypto engine, built-in Wi-Fi / Bluetooth combo chip, JPEG decoder,
|
|
video interfaces supporting HDMI and MIPI, and video codec support.
|
|
Peripherals include Gigabit Ethernet, switch, USB3.0 and OTG, PCIe,
|
|
I2S, PCM, S/PDIF, UART, SPI, I2C, IR TX/RX, and PWM.
|
|
|
|
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,
|
|
switch, USB3.0, PCIe, UART, SPI, I2C and PWM.
|
|
|
|
config TARGET_MT8512
|
|
bool "MediaTek MT8512 M1 Board"
|
|
select ARM64
|
|
select MT8512
|
|
help
|
|
The MediaTek MT8512 is a ARM64-based SoC with a quad-core Cortex-A53.
|
|
including UART, SPI, USB2.0 and OTG, SD and MMC cards, NAND, PWM,
|
|
Ethernet, IR TX/RX, I2C, I2S, S/PDIF, and built-in Wi-Fi / Bluetooth combo
|
|
chip and several DDR3 and DDR4 options.
|
|
|
|
config TARGET_MT8516
|
|
bool "MediaTek MT8516 SoC"
|
|
select ARM64
|
|
help
|
|
The MediaTek MT8516 is a ARM64-based SoC with a quad-core Cortex-A35.
|
|
including UART, SPI, USB2.0 and OTG, SD and MMC cards, NAND, PWM,
|
|
Ethernet, IR TX/RX, I2C, I2S, S/PDIF, and built-in Wi-Fi / Bluetooth combo
|
|
chip and several DDR3 and DDR4 options.
|
|
|
|
config TARGET_MT8518
|
|
bool "MediaTek MT8518 SoC"
|
|
select ARM64
|
|
help
|
|
The MediaTek MT8518 is a ARM64-based SoC with a quad-core Cortex-A53.
|
|
including UART, SPI, USB2.0 and OTG, SD and MMC cards, NAND, PWM,
|
|
Ethernet, IR TX/RX, I2C, I2S, S/PDIF, and built-in Wi-Fi / Bluetooth combo
|
|
chip and several DDR3 and DDR4 options.
|
|
|
|
endchoice
|
|
|
|
source "board/mediatek/mt7622/Kconfig"
|
|
source "board/mediatek/mt7623/Kconfig"
|
|
source "board/mediatek/mt7629/Kconfig"
|
|
source "board/mediatek/mt8512/Kconfig"
|
|
source "board/mediatek/mt8518/Kconfig"
|
|
source "board/mediatek/pumpkin/Kconfig"
|
|
|
|
endif
|