blob: deddcc5ab07f5f2ea8a546e792d25d6ac158d719 [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
Michal Simek08a00cb2018-07-23 15:55:14 +020011 imply CMD_DM
Jerome Brunet32caa1e2018-10-05 10:25:47 +020012
Jerome Brunet33e33782018-10-05 17:00:37 +020013config MESON_GX
14 bool
15 select MESON64_COMMON
16
Jerome Brunet32caa1e2018-10-05 10:25:47 +020017choice
18 prompt "Platform select"
Jerome Brunet96a739b2018-10-25 16:41:37 +020019 default MESON_GXBB
Beniamino Galvanibfcef282016-05-08 08:30:16 +020020
Jerome Brunet96a739b2018-10-25 16:41:37 +020021config MESON_GXBB
22 bool "GXBB"
Jerome Brunet33e33782018-10-05 17:00:37 +020023 select MESON_GX
Beniamino Galvanibfcef282016-05-08 08:30:16 +020024 help
Jerome Brunet96a739b2018-10-25 16:41:37 +020025 Select this if your SoC is an S905
Neil Armstrongcade8652017-10-12 15:50:32 +020026
Jerome Brunet96a739b2018-10-25 16:41:37 +020027config MESON_GXL
28 bool "GXL"
Jerome Brunet33e33782018-10-05 17:00:37 +020029 select MESON_GX
Neil Armstrongcade8652017-10-12 15:50:32 +020030 help
Jerome Brunet96a739b2018-10-25 16:41:37 +020031 Select this if your SoC is an S905X/D or S805X
Neil Armstrong5ff2ee42017-11-27 10:16:20 +010032
Jerome Brunet96a739b2018-10-25 16:41:37 +020033config MESON_GXM
34 bool "GXM"
Jerome Brunet33e33782018-10-05 17:00:37 +020035 select MESON_GX
Loic Devulder8afd4ea2018-10-03 12:02:07 +020036 help
Jerome Brunet96a739b2018-10-25 16:41:37 +020037 Select this if your SoC is an S912
Loic Devulder8afd4ea2018-10-03 12:02:07 +020038
Neil Armstrong485bba32018-09-05 15:56:12 +020039config MESON_AXG
40 bool "AXG"
41 select MESON64_COMMON
42 help
43 Select this if your SoC is an A113X/D
44
Jerome Brunet32caa1e2018-10-05 10:25:47 +020045endchoice
Loic Devulder8afd4ea2018-10-03 12:02:07 +020046
Beniamino Galvanibfcef282016-05-08 08:30:16 +020047config SYS_SOC
48 default "meson"
49
50config SYS_MALLOC_F_LEN
51 default 0x1000
52
Jerome Brunet96a739b2018-10-25 16:41:37 +020053config SYS_VENDOR
54 string "Vendor name"
55 default "amlogic"
56 help
57 This option contains information about board name.
58 Based on this option board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> will
59 be used.
Beniamino Galvanibfcef282016-05-08 08:30:16 +020060
Jerome Brunet96a739b2018-10-25 16:41:37 +020061config SYS_BOARD
62 string "Board name"
63 default "odroid-c2" if MESON_GXBB
64 default "p212" if MESON_GXL
65 default "q200" if MESON_GXM
Neil Armstrongb72794e2018-09-05 15:57:11 +020066 default "s400" if MESON_AXG
Jerome Brunet96a739b2018-10-25 16:41:37 +020067 default ""
68 help
69 This option contains information about board name.
70 Based on this option board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> will
71 be used.
Neil Armstrongcade8652017-10-12 15:50:32 +020072
Jerome Brunet96a739b2018-10-25 16:41:37 +020073config SYS_CONFIG_NAME
74 string "Board configuration name"
75 default "meson64"
76 help
77 This option contains information about board configuration name.
78 Based on this option include/configs/<CONFIG_SYS_CONFIG_NAME>.h header
79 will be used for board configuration.
Loic Devulder8afd4ea2018-10-03 12:02:07 +020080
Beniamino Galvanibfcef282016-05-08 08:30:16 +020081endif