The Khadas vim and the libretech aml-s905x-cc (aka Potato) derive from amlogic s905x reference design (P212). All the code in these board is a copy/paste from the p212, which is tedious to maintain. This change use p212 u-boot board for all these boards, while keeping a dedicated defconfig to customize the names and device tree. Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
78 lines
1.6 KiB
Plaintext
78 lines
1.6 KiB
Plaintext
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_KHADAS_VIM2
|
|
bool "KHADAS-VIM2"
|
|
select MESON_GXM
|
|
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.
|
|
|
|
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/khadas-vim2/Kconfig"
|
|
|
|
endif
|