mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-29 16:10:58 +00:00
abf2c68566
This adds a general board file based on MT8518 SoCs from MediaTek. Apart from the generic parts (cpu) we add some low level init codes and initialize the early clocks. This commit is adding the basic boot support for the MT8518 eMMC board. Signed-off-by: mingming lee <mingming.lee@mediatek.com> [trini: Migrate env location to defconfig, set ENV_IS_IN_MMC] Signeed-off-by: Tom Rini <trini@konsulko.com>
57 lines
1.7 KiB
Text
57 lines
1.7 KiB
Text
if ARCH_MEDIATEK
|
|
|
|
config SYS_SOC
|
|
default "mediatek"
|
|
|
|
config SYS_VENDOR
|
|
default "mediatek"
|
|
|
|
choice
|
|
prompt "MediaTek board select"
|
|
|
|
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
|
|
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_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/mt7623/Kconfig"
|
|
source "board/mediatek/mt7629/Kconfig"
|
|
source "board/mediatek/mt8518/Kconfig"
|
|
source "board/mediatek/pumpkin/Kconfig"
|
|
|
|
endif
|