xref: /openbmc/u-boot/arch/arm/mach-meson/Kconfig (revision 8bbfb40e)
1if ARCH_MESON
2
3config MESON64_COMMON
4	bool
5	select ARM64
6	select CLK
7	select DM
8	select DM_SERIAL
9	imply CMD_DM
10
11config MESON_GXBB
12	bool
13	select MESON64_COMMON
14
15config MESON_GXL
16	bool
17	select MESON64_COMMON
18
19config MESON_GXM
20	bool
21	select MESON64_COMMON
22
23choice
24	prompt "Platform select"
25	default TARGET_ODROID_C2
26
27config TARGET_ODROID_C2
28	bool "ODROID-C2"
29	select MESON_GXBB
30	help
31	  ODROID-C2 is a single board computer based on Meson GXBaby
32	  with 2 GiB of RAM, Gigabit Ethernet, HDMI, 4 USB, micro-SD
33	  slot, eMMC, IR receiver and a 40-pin GPIO header.
34
35config TARGET_NANOPI_K2
36	bool "NANOPI_K2"
37	select MESON_GXBB
38	help
39	  NANOPI_K2 is a single board computer based on Meson GXBaby
40	  with 2 GiB of RAM, Gigabit Ethernet,AP6212 Wifi, HDMI, 4 USB,
41	  micro-SD slot, eMMC, IR receiver and a 40-pin GPIO header.
42
43config TARGET_P212
44	bool "P212"
45	select MESON_GXL
46	help
47	  P212 is a reference dessign board based on Meson GXL S905X SoC
48	  with 2 GiB of RAM, Ethernet, HDMI, 2 USB, micro-SD slot,
49	  eMMC, IR receiver, CVBS+Audio jack and a SDIO WiFi module.
50	  You should also select this TARGET if you have Khadas Vim or
51	  a libretech aml-s905x-cc
52
53config TARGET_KHADAS_VIM2
54	bool "KHADAS-VIM2"
55	select MESON_GXM
56	help
57	  Khadas VIM2 is a single board computer based on Meson GXM
58	  with 2/3 GiB of RAM, Ethernet, HDMI, 4 USB, micro-SD slot,
59	  eMMC, IR receiver and a 40-pin GPIO header.
60
61endchoice
62
63config SYS_SOC
64	default "meson"
65
66config SYS_MALLOC_F_LEN
67	default 0x1000
68
69source "board/amlogic/odroid-c2/Kconfig"
70
71source "board/amlogic/nanopi-k2/Kconfig"
72
73source "board/amlogic/p212/Kconfig"
74
75source "board/amlogic/khadas-vim2/Kconfig"
76
77endif
78