blob: 98303dbda19919d2b6653102388018508bc4bb16 [file] [log] [blame]
Beniamino Galvanid1037e42016-05-08 08:30:16 +02001if ARCH_MESON
2
Jerome Brunet630239d2018-10-05 10:25:47 +02003config MESON64_COMMON
4 bool
Beniamino Galvanid1037e42016-05-08 08:30:16 +02005 select ARM64
Beniamino Galvanib67bfaf2018-06-14 13:43:39 +02006 select CLK
Beniamino Galvanid1037e42016-05-08 08:30:16 +02007 select DM
8 select DM_SERIAL
Michal Simek2e7c8192018-07-23 15:55:14 +02009 imply CMD_DM
Jerome Brunet630239d2018-10-05 10:25:47 +020010
11config MESON_GXBB
12 bool
13 select MESON64_COMMON
Beniamino Galvanid1037e42016-05-08 08:30:16 +020014
Neil Armstrong4c2ea412017-10-12 15:50:32 +020015config MESON_GXL
Jerome Brunet630239d2018-10-05 10:25:47 +020016 bool
17 select MESON64_COMMON
Neil Armstrong4c2ea412017-10-12 15:50:32 +020018
Loic Devulderd17b8092018-10-03 12:02:07 +020019config MESON_GXM
Jerome Brunet630239d2018-10-05 10:25:47 +020020 bool
21 select MESON64_COMMON
Loic Devulderd17b8092018-10-03 12:02:07 +020022
Jerome Brunet630239d2018-10-05 10:25:47 +020023choice
24 prompt "Platform select"
25 default TARGET_ODROID_C2
Beniamino Galvanid1037e42016-05-08 08:30:16 +020026
27config TARGET_ODROID_C2
28 bool "ODROID-C2"
Jerome Brunet630239d2018-10-05 10:25:47 +020029 select MESON_GXBB
Beniamino Galvanid1037e42016-05-08 08:30:16 +020030 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
Thomas McKahan7cb61e02018-06-25 16:50:17 +020035config TARGET_NANOPI_K2
36 bool "NANOPI_K2"
Jerome Brunet630239d2018-10-05 10:25:47 +020037 select MESON_GXBB
Thomas McKahan7cb61e02018-06-25 16:50:17 +020038 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.
Neil Armstrong4c2ea412017-10-12 15:50:32 +020042
43config TARGET_P212
44 bool "P212"
Jerome Brunet630239d2018-10-05 10:25:47 +020045 select MESON_GXL
Neil Armstrong4c2ea412017-10-12 15:50:32 +020046 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.
Jerome Brunet41910662018-10-19 12:14:57 +020050 You should also select this TARGET if you have Khadas Vim or
51 a libretech aml-s905x-cc
Neil Armstrong83256d82017-11-27 10:16:20 +010052
Neil Armstrong716dbbf2018-11-09 11:57:47 +010053config TARGET_Q200
Loic Devulderd17b8092018-10-03 12:02:07 +020054 bool "KHADAS-VIM2"
Jerome Brunet630239d2018-10-05 10:25:47 +020055 select MESON_GXM
Loic Devulderd17b8092018-10-03 12:02:07 +020056 help
Neil Armstrong716dbbf2018-11-09 11:57:47 +010057 Q200 is a reference dessign board based on Meson GXM
Loic Devulderd17b8092018-10-03 12:02:07 +020058 with 2/3 GiB of RAM, Ethernet, HDMI, 4 USB, micro-SD slot,
Neil Armstrong716dbbf2018-11-09 11:57:47 +010059 eMMC, IR receiver.
60 You should also select this TARGET if you have Khadas Vim2.
Loic Devulderd17b8092018-10-03 12:02:07 +020061
Jerome Brunet630239d2018-10-05 10:25:47 +020062endchoice
Loic Devulderd17b8092018-10-03 12:02:07 +020063
Beniamino Galvanid1037e42016-05-08 08:30:16 +020064config SYS_SOC
65 default "meson"
66
67config SYS_MALLOC_F_LEN
68 default 0x1000
69
Carlo Caione6ac06992016-06-10 20:18:23 +020070source "board/amlogic/odroid-c2/Kconfig"
Beniamino Galvanid1037e42016-05-08 08:30:16 +020071
Thomas McKahan7cb61e02018-06-25 16:50:17 +020072source "board/amlogic/nanopi-k2/Kconfig"
73
Neil Armstrong4c2ea412017-10-12 15:50:32 +020074source "board/amlogic/p212/Kconfig"
75
Neil Armstrong716dbbf2018-11-09 11:57:47 +010076source "board/amlogic/q200/Kconfig"
Loic Devulderd17b8092018-10-03 12:02:07 +020077
Beniamino Galvanid1037e42016-05-08 08:30:16 +020078endif