mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-02 01:19:49 +00:00
302987b6c5
The Khadas vim2 derive from amlogic s912 reference design (Q200). This patch moves the khadas-vim2 board support to a generic Q200 board, while keeping a dedicated defconfig to customize the names and device tree. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
78 lines
1.6 KiB
Text
78 lines
1.6 KiB
Text
if ARCH_MESON
|
|
|
|
config MESON64_COMMON
|
|
bool
|
|
select ARM64
|
|
select CLK
|
|
select DM
|
|
select DM_SERIAL
|
|
imply CMD_DM
|
|
|
|
config MESON_GXBB
|
|
bool
|
|
select MESON64_COMMON
|
|
|
|
config MESON_GXL
|
|
bool
|
|
select MESON64_COMMON
|
|
|
|
config MESON_GXM
|
|
bool
|
|
select MESON64_COMMON
|
|
|
|
choice
|
|
prompt "Platform select"
|
|
default TARGET_ODROID_C2
|
|
|
|
config TARGET_ODROID_C2
|
|
bool "ODROID-C2"
|
|
select MESON_GXBB
|
|
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"
|
|
select MESON_GXBB
|
|
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.
|
|
|
|
config TARGET_P212
|
|
bool "P212"
|
|
select MESON_GXL
|
|
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.
|
|
You should also select this TARGET if you have Khadas Vim or
|
|
a libretech aml-s905x-cc
|
|
|
|
config TARGET_Q200
|
|
bool "KHADAS-VIM2"
|
|
select MESON_GXM
|
|
help
|
|
Q200 is a reference dessign board based on Meson GXM
|
|
with 2/3 GiB of RAM, Ethernet, HDMI, 4 USB, micro-SD slot,
|
|
eMMC, IR receiver.
|
|
You should also select this TARGET if you have Khadas Vim2.
|
|
|
|
endchoice
|
|
|
|
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/q200/Kconfig"
|
|
|
|
endif
|