blob: 95e7b019ce8511421d437eabfda3bfe4957f7ddd [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 Armstrongcade8652017-10-12 15:50:32 +020035 help
Jerome Brunet96a739b2018-10-25 16:41:37 +020036 Select this if your SoC is an S905X/D or S805X
Neil Armstrong5ff2ee42017-11-27 10:16:20 +010037
Jerome Brunet96a739b2018-10-25 16:41:37 +020038config MESON_GXM
39 bool "GXM"
Jerome Brunet33e33782018-10-05 17:00:37 +020040 select MESON_GX
Loic Devulder8afd4ea2018-10-03 12:02:07 +020041 help
Jerome Brunet96a739b2018-10-25 16:41:37 +020042 Select this if your SoC is an S912
Loic Devulder8afd4ea2018-10-03 12:02:07 +020043
Neil Armstrong485bba32018-09-05 15:56:12 +020044config MESON_AXG
45 bool "AXG"
46 select MESON64_COMMON
47 help
Jerome Brunet17b7efe2019-02-08 16:23:20 +010048 Select this if your SoC is an A113X/D
49
50config MESON_G12A
51 bool "G12A"
52 select MESON64_COMMON
53 help
54 Select this if your SoC is an S905X/D2
Neil Armstrong485bba32018-09-05 15:56:12 +020055
Igor Prusov0e3f7e92023-05-05 15:56:37 +030056config MESON_A1
57 bool "A1"
58 select MESON64_COMMON
59 help
60 Select this if your SoC is an A113L
61
Jerome Brunet32caa1e2018-10-05 10:25:47 +020062endchoice
Loic Devulder8afd4ea2018-10-03 12:02:07 +020063
Beniamino Galvanibfcef282016-05-08 08:30:16 +020064config SYS_SOC
65 default "meson"
66
67config SYS_MALLOC_F_LEN
68 default 0x1000
69
Jerome Brunet96a739b2018-10-25 16:41:37 +020070config SYS_VENDOR
71 string "Vendor name"
72 default "amlogic"
73 help
74 This option contains information about board name.
75 Based on this option board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> will
76 be used.
Beniamino Galvanibfcef282016-05-08 08:30:16 +020077
Jerome Brunet96a739b2018-10-25 16:41:37 +020078config SYS_BOARD
79 string "Board name"
Igor Prusov1f0d2e82023-05-05 15:56:39 +030080 default "ad401" if MESON_A1
Mohammad Rasim4778afc2019-03-23 14:52:22 +030081 default "p200" if MESON_GXBB
Jerome Brunet96a739b2018-10-25 16:41:37 +020082 default "p212" if MESON_GXL
83 default "q200" if MESON_GXM
Neil Armstrongb72794e2018-09-05 15:57:11 +020084 default "s400" if MESON_AXG
Jerome Brunet17b7efe2019-02-08 16:23:20 +010085 default "u200" if MESON_G12A
Jerome Brunet96a739b2018-10-25 16:41:37 +020086 default ""
87 help
88 This option contains information about board name.
89 Based on this option board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> will
90 be used.
Neil Armstrongcade8652017-10-12 15:50:32 +020091
Beniamino Galvanibfcef282016-05-08 08:30:16 +020092endif