mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-04 03:43:19 +09:00
![Loic Devulder](/assets/img/avatar_default.png)
This adds platform code for the Khadas VIM2 board based on a Meson GXM (S912) SoC with the Meson GXM configuration. This initial submission supports UART, MMC/SDCard and Ethernet. USB is partially supported. All the code is from Neil Armstrong! I just rebased the code, do some cleanup and tested on my board. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Loic Devulder <ldevulder@suse.de> Acked-by: Neil Armstrong <narmstrong@baylibre.com>
107 lines
2.4 KiB
Plaintext
107 lines
2.4 KiB
Plaintext
if ARCH_MESON
|
|
|
|
config MESON_GXBB
|
|
bool "Support Meson GXBaby"
|
|
select ARM64
|
|
select CLK
|
|
select DM
|
|
select DM_SERIAL
|
|
imply CMD_DM
|
|
help
|
|
The Amlogic Meson GXBaby (S905) is an ARM SoC with a
|
|
quad-core Cortex-A53 CPU and a Mali-450 GPU.
|
|
|
|
config MESON_GXL
|
|
bool "Support Meson GXL"
|
|
select ARM64
|
|
select CLK
|
|
select DM
|
|
select DM_SERIAL
|
|
imply CMD_DM
|
|
help
|
|
The Amlogic Meson GXL (S905X and S905D) is an ARM SoC with a
|
|
quad-core Cortex-A53 CPU and a Mali-450 GPU.
|
|
|
|
config MESON_GXM
|
|
bool "Support Meson GXM"
|
|
select ARM64
|
|
select CLK
|
|
select DM
|
|
select DM_SERIAL
|
|
help
|
|
The Amlogic Meson GXM (S912) is an ARM SoC with an
|
|
octo-core Cortex-A53 CPU and a Mali-T860 GPU.
|
|
|
|
if MESON_GXBB
|
|
|
|
config TARGET_ODROID_C2
|
|
bool "ODROID-C2"
|
|
help
|
|
ODROID-C2 is a single board computer based on Meson GXBaby
|
|
with 2 GiB of RAM, Gigabit Ethernet, HDMI, 4 USB, micro-SD
|
|
slot, eMMC, IR receiver and a 40-pin GPIO header.
|
|
|
|
config TARGET_NANOPI_K2
|
|
bool "NANOPI_K2"
|
|
help
|
|
NANOPI_K2 is a single board computer based on Meson GXBaby
|
|
with 2 GiB of RAM, Gigabit Ethernet,AP6212 Wifi, HDMI, 4 USB,
|
|
micro-SD slot, eMMC, IR receiver and a 40-pin GPIO header.
|
|
endif
|
|
|
|
if MESON_GXL
|
|
|
|
config TARGET_P212
|
|
bool "P212"
|
|
help
|
|
P212 is a reference dessign board based on Meson GXL S905X SoC
|
|
with 2 GiB of RAM, Ethernet, HDMI, 2 USB, micro-SD slot,
|
|
eMMC, IR receiver, CVBS+Audio jack and a SDIO WiFi module.
|
|
|
|
config TARGET_LIBRETECH_CC
|
|
bool "LIBRETECH-CC"
|
|
help
|
|
LibreTech CC is a single board computer based on Meson GXL
|
|
with 2 GiB of RAM, Ethernet, HDMI, 4 USB, micro-SD slot,
|
|
eMMC, IR receiver and a 40-pin GPIO header.
|
|
|
|
config TARGET_KHADAS_VIM
|
|
bool "KHADAS-VIM"
|
|
help
|
|
Khadas VIM is a single board computer based on Meson GXL
|
|
with 2 GiB of RAM, Ethernet, HDMI, 4 USB, micro-SD slot,
|
|
eMMC, IR receiver and a 40-pin GPIO header.
|
|
|
|
endif
|
|
|
|
if MESON_GXM
|
|
|
|
config TARGET_KHADAS_VIM2
|
|
bool "KHADAS-VIM2"
|
|
help
|
|
Khadas VIM2 is a single board computer based on Meson GXM
|
|
with 2/3 GiB of RAM, Ethernet, HDMI, 4 USB, micro-SD slot,
|
|
eMMC, IR receiver and a 40-pin GPIO header.
|
|
|
|
endif
|
|
|
|
config SYS_SOC
|
|
default "meson"
|
|
|
|
config SYS_MALLOC_F_LEN
|
|
default 0x1000
|
|
|
|
source "board/amlogic/odroid-c2/Kconfig"
|
|
|
|
source "board/amlogic/nanopi-k2/Kconfig"
|
|
|
|
source "board/amlogic/p212/Kconfig"
|
|
|
|
source "board/amlogic/libretech-cc/Kconfig"
|
|
|
|
source "board/amlogic/khadas-vim/Kconfig"
|
|
|
|
source "board/amlogic/khadas-vim2/Kconfig"
|
|
|
|
endif
|