mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-06-09 23:36:03 +09:00
d54e03b612
The nanopi-k2 and the odroid-c2 are similar enough to be supported by the same u-boot board. This change use odroid-c2 u-boot board for the nanopi-k2 as well. Dedicated defconfig are kept to customize the names and device tree. Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
70 lines
1.4 KiB
Plaintext
70 lines
1.4 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.
|
|
You should also select this TARGET if you have an nanopi-k2
|
|
|
|
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/p212/Kconfig"
|
|
|
|
source "board/amlogic/q200/Kconfig"
|
|
|
|
endif
|