blob: 6225417a56b8882638cb80c1ba560e833f0a6dff [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
Jerome Brunetf897c4b2018-10-05 17:00:37 +020011config MESON_GX
12 bool
13 select MESON64_COMMON
14
Jerome Brunet32bacc52018-10-25 16:41:37 +020015choice
16 prompt "Platform select"
17 default MESON_GXBB
18
Jerome Brunet630239d2018-10-05 10:25:47 +020019config MESON_GXBB
Jerome Brunet32bacc52018-10-25 16:41:37 +020020 bool "GXBB"
Jerome Brunetf897c4b2018-10-05 17:00:37 +020021 select MESON_GX
Jerome Brunet32bacc52018-10-25 16:41:37 +020022 help
23 Select this if your SoC is an S905
Beniamino Galvanid1037e42016-05-08 08:30:16 +020024
Neil Armstrong4c2ea412017-10-12 15:50:32 +020025config MESON_GXL
Jerome Brunet32bacc52018-10-25 16:41:37 +020026 bool "GXL"
Jerome Brunetf897c4b2018-10-05 17:00:37 +020027 select MESON_GX
Jerome Brunet32bacc52018-10-25 16:41:37 +020028 help
29 Select this if your SoC is an S905X/D or S805X
Neil Armstrong4c2ea412017-10-12 15:50:32 +020030
Loic Devulderd17b8092018-10-03 12:02:07 +020031config MESON_GXM
Jerome Brunet32bacc52018-10-25 16:41:37 +020032 bool "GXM"
Jerome Brunetf897c4b2018-10-05 17:00:37 +020033 select MESON_GX
Loic Devulderd17b8092018-10-03 12:02:07 +020034 help
Jerome Brunet32bacc52018-10-25 16:41:37 +020035 Select this if your SoC is an S912
Loic Devulderd17b8092018-10-03 12:02:07 +020036
Jerome Brunet630239d2018-10-05 10:25:47 +020037endchoice
Loic Devulderd17b8092018-10-03 12:02:07 +020038
Beniamino Galvanid1037e42016-05-08 08:30:16 +020039config SYS_SOC
40 default "meson"
41
42config SYS_MALLOC_F_LEN
43 default 0x1000
44
Jerome Brunet32bacc52018-10-25 16:41:37 +020045config SYS_VENDOR
46 string "Vendor name"
47 default "amlogic"
48 help
49 This option contains information about board name.
50 Based on this option board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> will
51 be used.
Beniamino Galvanid1037e42016-05-08 08:30:16 +020052
Jerome Brunet32bacc52018-10-25 16:41:37 +020053config SYS_BOARD
54 string "Board name"
55 default "odroid-c2" if MESON_GXBB
56 default "p212" if MESON_GXL
57 default "q200" if MESON_GXM
58 default ""
59 help
60 This option contains information about board name.
61 Based on this option board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> will
62 be used.
Neil Armstrong4c2ea412017-10-12 15:50:32 +020063
Jerome Brunet32bacc52018-10-25 16:41:37 +020064config SYS_CONFIG_NAME
65 string "Board configuration name"
66 default "meson64"
67 help
68 This option contains information about board configuration name.
69 Based on this option include/configs/<CONFIG_SYS_CONFIG_NAME>.h header
70 will be used for board configuration.
Loic Devulderd17b8092018-10-03 12:02:07 +020071
Beniamino Galvanid1037e42016-05-08 08:30:16 +020072endif