blob: 11077bc6cc24ccf4c74c575192b2ef415430a4ba [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
Neil Armstrong0fca9232018-09-05 15:56:12 +02009 select SYSCON
10 select REGMAP
Neil Armstrong2fbfcbb2018-07-27 14:10:00 +020011 select BOARD_LATE_INIT
Michal Simek2e7c8192018-07-23 15:55:14 +020012 imply CMD_DM
Jerome Brunet630239d2018-10-05 10:25:47 +020013
Jerome Brunetf897c4b2018-10-05 17:00:37 +020014config MESON_GX
15 bool
16 select MESON64_COMMON
17
Jerome Brunet32bacc52018-10-25 16:41:37 +020018choice
19 prompt "Platform select"
20 default MESON_GXBB
21
Jerome Brunet630239d2018-10-05 10:25:47 +020022config MESON_GXBB
Jerome Brunet32bacc52018-10-25 16:41:37 +020023 bool "GXBB"
Jerome Brunetf897c4b2018-10-05 17:00:37 +020024 select MESON_GX
Jerome Brunet32bacc52018-10-25 16:41:37 +020025 help
26 Select this if your SoC is an S905
Beniamino Galvanid1037e42016-05-08 08:30:16 +020027
Neil Armstrong4c2ea412017-10-12 15:50:32 +020028config MESON_GXL
Jerome Brunet32bacc52018-10-25 16:41:37 +020029 bool "GXL"
Jerome Brunetf897c4b2018-10-05 17:00:37 +020030 select MESON_GX
Jerome Brunet32bacc52018-10-25 16:41:37 +020031 help
32 Select this if your SoC is an S905X/D or S805X
Neil Armstrong4c2ea412017-10-12 15:50:32 +020033
Loic Devulderd17b8092018-10-03 12:02:07 +020034config MESON_GXM
Jerome Brunet32bacc52018-10-25 16:41:37 +020035 bool "GXM"
Jerome Brunetf897c4b2018-10-05 17:00:37 +020036 select MESON_GX
Loic Devulderd17b8092018-10-03 12:02:07 +020037 help
Jerome Brunet32bacc52018-10-25 16:41:37 +020038 Select this if your SoC is an S912
Loic Devulderd17b8092018-10-03 12:02:07 +020039
Neil Armstrong0fca9232018-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 Brunet630239d2018-10-05 10:25:47 +020046endchoice
Loic Devulderd17b8092018-10-03 12:02:07 +020047
Beniamino Galvanid1037e42016-05-08 08:30:16 +020048config SYS_SOC
49 default "meson"
50
51config SYS_MALLOC_F_LEN
52 default 0x1000
53
Jerome Brunet32bacc52018-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 Galvanid1037e42016-05-08 08:30:16 +020061
Jerome Brunet32bacc52018-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 Armstrong64b6de92018-09-05 15:57:11 +020067 default "s400" if MESON_AXG
Jerome Brunet32bacc52018-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 Armstrong4c2ea412017-10-12 15:50:32 +020073
Jerome Brunet32bacc52018-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 Devulderd17b8092018-10-03 12:02:07 +020081
Beniamino Galvanid1037e42016-05-08 08:30:16 +020082endif