blob: d6c8905806173217a9cb2e5138aedde6614f0326 [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
Anand Moon262d3432019-12-26 11:33:53 +000011 select PWRSEQ
Jaehoon Chungba74bc12021-02-16 10:16:55 +090012 select MMC_PWRSEQ
Neil Armstrongd96a7822018-07-27 14:10:00 +020013 select BOARD_LATE_INIT
Alexey Romanov7cd53e02023-09-21 11:13:41 +030014 select MESON_SM
Michal Simek08a00cb2018-07-23 15:55:14 +020015 imply CMD_DM
Jerome Brunet32caa1e2018-10-05 10:25:47 +020016
Jerome Brunet33e33782018-10-05 17:00:37 +020017config MESON_GX
18 bool
19 select MESON64_COMMON
20
Jerome Brunet32caa1e2018-10-05 10:25:47 +020021choice
22 prompt "Platform select"
Jerome Brunet96a739b2018-10-25 16:41:37 +020023 default MESON_GXBB
Beniamino Galvanibfcef282016-05-08 08:30:16 +020024
Jerome Brunet96a739b2018-10-25 16:41:37 +020025config MESON_GXBB
26 bool "GXBB"
Jerome Brunet33e33782018-10-05 17:00:37 +020027 select MESON_GX
Beniamino Galvanibfcef282016-05-08 08:30:16 +020028 help
Jerome Brunet96a739b2018-10-25 16:41:37 +020029 Select this if your SoC is an S905
Neil Armstrongcade8652017-10-12 15:50:32 +020030
Jerome Brunet96a739b2018-10-25 16:41:37 +020031config MESON_GXL
32 bool "GXL"
Jerome Brunet33e33782018-10-05 17:00:37 +020033 select MESON_GX
Neil Armstrongcade8652017-10-12 15:50:32 +020034 help
Jerome Brunet96a739b2018-10-25 16:41:37 +020035 Select this if your SoC is an S905X/D or S805X
Neil Armstrong5ff2ee42017-11-27 10:16:20 +010036
Jerome Brunet96a739b2018-10-25 16:41:37 +020037config MESON_GXM
38 bool "GXM"
Jerome Brunet33e33782018-10-05 17:00:37 +020039 select MESON_GX
Loic Devulder8afd4ea2018-10-03 12:02:07 +020040 help
Jerome Brunet96a739b2018-10-25 16:41:37 +020041 Select this if your SoC is an S912
Loic Devulder8afd4ea2018-10-03 12:02:07 +020042
Neil Armstrong485bba32018-09-05 15:56:12 +020043config MESON_AXG
44 bool "AXG"
45 select MESON64_COMMON
46 help
Jerome Brunet17b7efe2019-02-08 16:23:20 +010047 Select this if your SoC is an A113X/D
48
49config MESON_G12A
50 bool "G12A"
51 select MESON64_COMMON
52 help
53 Select this if your SoC is an S905X/D2
Neil Armstrong485bba32018-09-05 15:56:12 +020054
Igor Prusov0e3f7e92023-05-05 15:56:37 +030055config MESON_A1
56 bool "A1"
57 select MESON64_COMMON
58 help
59 Select this if your SoC is an A113L
60
Jerome Brunet32caa1e2018-10-05 10:25:47 +020061endchoice
Loic Devulder8afd4ea2018-10-03 12:02:07 +020062
Beniamino Galvanibfcef282016-05-08 08:30:16 +020063config SYS_SOC
64 default "meson"
65
66config SYS_MALLOC_F_LEN
67 default 0x1000
68
Jerome Brunet96a739b2018-10-25 16:41:37 +020069config SYS_VENDOR
70 string "Vendor name"
71 default "amlogic"
72 help
73 This option contains information about board name.
74 Based on this option board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> will
75 be used.
Beniamino Galvanibfcef282016-05-08 08:30:16 +020076
Jerome Brunet96a739b2018-10-25 16:41:37 +020077config SYS_BOARD
78 string "Board name"
Igor Prusov1f0d2e82023-05-05 15:56:39 +030079 default "ad401" if MESON_A1
Mohammad Rasim4778afc2019-03-23 14:52:22 +030080 default "p200" if MESON_GXBB
Jerome Brunet96a739b2018-10-25 16:41:37 +020081 default "p212" if MESON_GXL
82 default "q200" if MESON_GXM
Neil Armstrongb72794e2018-09-05 15:57:11 +020083 default "s400" if MESON_AXG
Jerome Brunet17b7efe2019-02-08 16:23:20 +010084 default "u200" if MESON_G12A
Jerome Brunet96a739b2018-10-25 16:41:37 +020085 default ""
86 help
87 This option contains information about board name.
88 Based on this option board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> will
89 be used.
Neil Armstrongcade8652017-10-12 15:50:32 +020090
Jerome Brunet96a739b2018-10-25 16:41:37 +020091config SYS_CONFIG_NAME
92 string "Board configuration name"
93 default "meson64"
94 help
95 This option contains information about board configuration name.
96 Based on this option include/configs/<CONFIG_SYS_CONFIG_NAME>.h header
97 will be used for board configuration.
Loic Devulder8afd4ea2018-10-03 12:02:07 +020098
Beniamino Galvanibfcef282016-05-08 08:30:16 +020099endif