blob: 6f60167c8cfb775d85673de85dc85e5a4698c7b7 [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 Brunet32bacc52018-10-25 16:41:37 +020011choice
12 prompt "Platform select"
13 default MESON_GXBB
14
Jerome Brunet630239d2018-10-05 10:25:47 +020015config MESON_GXBB
Jerome Brunet32bacc52018-10-25 16:41:37 +020016 bool "GXBB"
Jerome Brunet630239d2018-10-05 10:25:47 +020017 select MESON64_COMMON
Jerome Brunet32bacc52018-10-25 16:41:37 +020018 help
19 Select this if your SoC is an S905
Beniamino Galvanid1037e42016-05-08 08:30:16 +020020
Neil Armstrong4c2ea412017-10-12 15:50:32 +020021config MESON_GXL
Jerome Brunet32bacc52018-10-25 16:41:37 +020022 bool "GXL"
Jerome Brunet630239d2018-10-05 10:25:47 +020023 select MESON64_COMMON
Jerome Brunet32bacc52018-10-25 16:41:37 +020024 help
25 Select this if your SoC is an S905X/D or S805X
Neil Armstrong4c2ea412017-10-12 15:50:32 +020026
Loic Devulderd17b8092018-10-03 12:02:07 +020027config MESON_GXM
Jerome Brunet32bacc52018-10-25 16:41:37 +020028 bool "GXM"
Jerome Brunet630239d2018-10-05 10:25:47 +020029 select MESON64_COMMON
Loic Devulderd17b8092018-10-03 12:02:07 +020030 help
Jerome Brunet32bacc52018-10-25 16:41:37 +020031 Select this if your SoC is an S912
Loic Devulderd17b8092018-10-03 12:02:07 +020032
Jerome Brunet630239d2018-10-05 10:25:47 +020033endchoice
Loic Devulderd17b8092018-10-03 12:02:07 +020034
Beniamino Galvanid1037e42016-05-08 08:30:16 +020035config SYS_SOC
36 default "meson"
37
38config SYS_MALLOC_F_LEN
39 default 0x1000
40
Jerome Brunet32bacc52018-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 Galvanid1037e42016-05-08 08:30:16 +020048
Jerome Brunet32bacc52018-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 Armstrong4c2ea412017-10-12 15:50:32 +020059
Jerome Brunet32bacc52018-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 Devulderd17b8092018-10-03 12:02:07 +020067
Beniamino Galvanid1037e42016-05-08 08:30:16 +020068endif