blob: 11077bc6cc24ccf4c74c575192b2ef415430a4ba [file] [log] [blame]
Beniamino Galvanibfcef282016-05-08 08:30:16 +02001if ARCH_MESON
2
Jerome Brunet32caa1e2018-10-05 10:25:47 +02003config MESON64_COMMON
4 bool
Beniamino Galvanibfcef282016-05-08 08:30:16 +02005 select ARM64
Beniamino Galvanic0fc1e22018-06-14 13:43:39 +02006 select CLK
Beniamino Galvanibfcef282016-05-08 08:30:16 +02007 select DM
8 select DM_SERIAL
Neil Armstrong485bba32018-09-05 15:56:12 +02009 select SYSCON
10 select REGMAP
Neil Armstrongd96a7822018-07-27 14:10:00 +020011 select BOARD_LATE_INIT
Michal Simek08a00cb2018-07-23 15:55:14 +020012 imply CMD_DM
Jerome Brunet32caa1e2018-10-05 10:25:47 +020013
Jerome Brunet33e33782018-10-05 17:00:37 +020014config MESON_GX
15 bool
16 select MESON64_COMMON
17
Jerome Brunet32caa1e2018-10-05 10:25:47 +020018choice
19 prompt "Platform select"
Jerome Brunet96a739b2018-10-25 16:41:37 +020020 default MESON_GXBB
Beniamino Galvanibfcef282016-05-08 08:30:16 +020021
Jerome Brunet96a739b2018-10-25 16:41:37 +020022config MESON_GXBB
23 bool "GXBB"
Jerome Brunet33e33782018-10-05 17:00:37 +020024 select MESON_GX
Beniamino Galvanibfcef282016-05-08 08:30:16 +020025 help
Jerome Brunet96a739b2018-10-25 16:41:37 +020026 Select this if your SoC is an S905
Neil Armstrongcade8652017-10-12 15:50:32 +020027
Jerome Brunet96a739b2018-10-25 16:41:37 +020028config MESON_GXL
29 bool "GXL"
Jerome Brunet33e33782018-10-05 17:00:37 +020030 select MESON_GX
Neil Armstrongcade8652017-10-12 15:50:32 +020031 help
Jerome Brunet96a739b2018-10-25 16:41:37 +020032 Select this if your SoC is an S905X/D or S805X
Neil Armstrong5ff2ee42017-11-27 10:16:20 +010033
Jerome Brunet96a739b2018-10-25 16:41:37 +020034config MESON_GXM
35 bool "GXM"
Jerome Brunet33e33782018-10-05 17:00:37 +020036 select MESON_GX
Loic Devulder8afd4ea2018-10-03 12:02:07 +020037 help
Jerome Brunet96a739b2018-10-25 16:41:37 +020038 Select this if your SoC is an S912
Loic Devulder8afd4ea2018-10-03 12:02:07 +020039
Neil Armstrong485bba32018-09-05 15:56:12 +020040config MESON_AXG
41 bool "AXG"
42 select MESON64_COMMON
43 help
44 Select this if your SoC is an A113X/D
45
Jerome Brunet32caa1e2018-10-05 10:25:47 +020046endchoice
Loic Devulder8afd4ea2018-10-03 12:02:07 +020047
Beniamino Galvanibfcef282016-05-08 08:30:16 +020048config SYS_SOC
49 default "meson"
50
51config SYS_MALLOC_F_LEN
52 default 0x1000
53
Jerome Brunet96a739b2018-10-25 16:41:37 +020054config SYS_VENDOR
55 string "Vendor name"
56 default "amlogic"
57 help
58 This option contains information about board name.
59 Based on this option board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> will
60 be used.
Beniamino Galvanibfcef282016-05-08 08:30:16 +020061
Jerome Brunet96a739b2018-10-25 16:41:37 +020062config SYS_BOARD
63 string "Board name"
64 default "odroid-c2" if MESON_GXBB
65 default "p212" if MESON_GXL
66 default "q200" if MESON_GXM
Neil Armstrongb72794e2018-09-05 15:57:11 +020067 default "s400" if MESON_AXG
Jerome Brunet96a739b2018-10-25 16:41:37 +020068 default ""
69 help
70 This option contains information about board name.
71 Based on this option board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> will
72 be used.
Neil Armstrongcade8652017-10-12 15:50:32 +020073
Jerome Brunet96a739b2018-10-25 16:41:37 +020074config SYS_CONFIG_NAME
75 string "Board configuration name"
76 default "meson64"
77 help
78 This option contains information about board configuration name.
79 Based on this option include/configs/<CONFIG_SYS_CONFIG_NAME>.h header
80 will be used for board configuration.
Loic Devulder8afd4ea2018-10-03 12:02:07 +020081
Beniamino Galvanibfcef282016-05-08 08:30:16 +020082endif