blob: 7570f48e25fe477ce4dfb1eb608ed07b3a83d27f [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
Sumit Gargb5fb3652024-02-22 15:06:06 +053028 imply OF_UPSTREAM
Beniamino Galvanibfcef282016-05-08 08:30:16 +020029 help
Jerome Brunet96a739b2018-10-25 16:41:37 +020030 Select this if your SoC is an S905
Neil Armstrongcade8652017-10-12 15:50:32 +020031
Jerome Brunet96a739b2018-10-25 16:41:37 +020032config MESON_GXL
33 bool "GXL"
Jerome Brunet33e33782018-10-05 17:00:37 +020034 select MESON_GX
Neil Armstrong4bb49612024-03-29 18:51:49 +010035 imply OF_UPSTREAM
Neil Armstrongcade8652017-10-12 15:50:32 +020036 help
Jerome Brunet96a739b2018-10-25 16:41:37 +020037 Select this if your SoC is an S905X/D or S805X
Neil Armstrong5ff2ee42017-11-27 10:16:20 +010038
Jerome Brunet96a739b2018-10-25 16:41:37 +020039config MESON_GXM
40 bool "GXM"
Jerome Brunet33e33782018-10-05 17:00:37 +020041 select MESON_GX
Neil Armstrong4bb49612024-03-29 18:51:49 +010042 imply OF_UPSTREAM
Loic Devulder8afd4ea2018-10-03 12:02:07 +020043 help
Jerome Brunet96a739b2018-10-25 16:41:37 +020044 Select this if your SoC is an S912
Loic Devulder8afd4ea2018-10-03 12:02:07 +020045
Neil Armstrong485bba32018-09-05 15:56:12 +020046config MESON_AXG
47 bool "AXG"
48 select MESON64_COMMON
Neil Armstrong4bb49612024-03-29 18:51:49 +010049 imply OF_UPSTREAM
Neil Armstrong485bba32018-09-05 15:56:12 +020050 help
Jerome Brunet17b7efe2019-02-08 16:23:20 +010051 Select this if your SoC is an A113X/D
52
53config MESON_G12A
54 bool "G12A"
55 select MESON64_COMMON
Neil Armstrong834e7c82024-03-29 18:51:51 +010056 imply OF_UPSTREAM
Jerome Brunet17b7efe2019-02-08 16:23:20 +010057 help
58 Select this if your SoC is an S905X/D2
Neil Armstrong485bba32018-09-05 15:56:12 +020059
Igor Prusov0e3f7e92023-05-05 15:56:37 +030060config MESON_A1
61 bool "A1"
62 select MESON64_COMMON
63 help
64 Select this if your SoC is an A113L
65
Jerome Brunet32caa1e2018-10-05 10:25:47 +020066endchoice
Loic Devulder8afd4ea2018-10-03 12:02:07 +020067
Beniamino Galvanibfcef282016-05-08 08:30:16 +020068config SYS_SOC
69 default "meson"
70
71config SYS_MALLOC_F_LEN
72 default 0x1000
73
Jerome Brunet96a739b2018-10-25 16:41:37 +020074config SYS_VENDOR
75 string "Vendor name"
76 default "amlogic"
77 help
78 This option contains information about board name.
79 Based on this option board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> will
80 be used.
Beniamino Galvanibfcef282016-05-08 08:30:16 +020081
Jerome Brunet96a739b2018-10-25 16:41:37 +020082config SYS_BOARD
83 string "Board name"
Igor Prusov1f0d2e82023-05-05 15:56:39 +030084 default "ad401" if MESON_A1
Mohammad Rasim4778afc2019-03-23 14:52:22 +030085 default "p200" if MESON_GXBB
Jerome Brunet96a739b2018-10-25 16:41:37 +020086 default "p212" if MESON_GXL
87 default "q200" if MESON_GXM
Neil Armstrongb72794e2018-09-05 15:57:11 +020088 default "s400" if MESON_AXG
Jerome Brunet17b7efe2019-02-08 16:23:20 +010089 default "u200" if MESON_G12A
Jerome Brunet96a739b2018-10-25 16:41:37 +020090 default ""
91 help
92 This option contains information about board name.
93 Based on this option board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> will
94 be used.
Neil Armstrongcade8652017-10-12 15:50:32 +020095
Beniamino Galvanibfcef282016-05-08 08:30:16 +020096endif