blob: 6f60167c8cfb775d85673de85dc85e5a4698c7b7 [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
Michal Simek08a00cb2018-07-23 15:55:14 +02009 imply CMD_DM
Jerome Brunet32caa1e2018-10-05 10:25:47 +020010
Jerome Brunet32caa1e2018-10-05 10:25:47 +020011choice
12 prompt "Platform select"
Jerome Brunet96a739b2018-10-25 16:41:37 +020013 default MESON_GXBB
Beniamino Galvanibfcef282016-05-08 08:30:16 +020014
Jerome Brunet96a739b2018-10-25 16:41:37 +020015config MESON_GXBB
16 bool "GXBB"
17 select MESON64_COMMON
Beniamino Galvanibfcef282016-05-08 08:30:16 +020018 help
Jerome Brunet96a739b2018-10-25 16:41:37 +020019 Select this if your SoC is an S905
Neil Armstrongcade8652017-10-12 15:50:32 +020020
Jerome Brunet96a739b2018-10-25 16:41:37 +020021config MESON_GXL
22 bool "GXL"
23 select MESON64_COMMON
Neil Armstrongcade8652017-10-12 15:50:32 +020024 help
Jerome Brunet96a739b2018-10-25 16:41:37 +020025 Select this if your SoC is an S905X/D or S805X
Neil Armstrong5ff2ee42017-11-27 10:16:20 +010026
Jerome Brunet96a739b2018-10-25 16:41:37 +020027config MESON_GXM
28 bool "GXM"
29 select MESON64_COMMON
Loic Devulder8afd4ea2018-10-03 12:02:07 +020030 help
Jerome Brunet96a739b2018-10-25 16:41:37 +020031 Select this if your SoC is an S912
Loic Devulder8afd4ea2018-10-03 12:02:07 +020032
Jerome Brunet32caa1e2018-10-05 10:25:47 +020033endchoice
Loic Devulder8afd4ea2018-10-03 12:02:07 +020034
Beniamino Galvanibfcef282016-05-08 08:30:16 +020035config SYS_SOC
36 default "meson"
37
38config SYS_MALLOC_F_LEN
39 default 0x1000
40
Jerome Brunet96a739b2018-10-25 16:41:37 +020041config SYS_VENDOR
42 string "Vendor name"
43 default "amlogic"
44 help
45 This option contains information about board name.
46 Based on this option board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> will
47 be used.
Beniamino Galvanibfcef282016-05-08 08:30:16 +020048
Jerome Brunet96a739b2018-10-25 16:41:37 +020049config SYS_BOARD
50 string "Board name"
51 default "odroid-c2" if MESON_GXBB
52 default "p212" if MESON_GXL
53 default "q200" if MESON_GXM
54 default ""
55 help
56 This option contains information about board name.
57 Based on this option board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> will
58 be used.
Neil Armstrongcade8652017-10-12 15:50:32 +020059
Jerome Brunet96a739b2018-10-25 16:41:37 +020060config SYS_CONFIG_NAME
61 string "Board configuration name"
62 default "meson64"
63 help
64 This option contains information about board configuration name.
65 Based on this option include/configs/<CONFIG_SYS_CONFIG_NAME>.h header
66 will be used for board configuration.
Loic Devulder8afd4ea2018-10-03 12:02:07 +020067
Beniamino Galvanibfcef282016-05-08 08:30:16 +020068endif