blob: 6cba2c40ddaaf7e004c2fdcb1dc2d516284c4dba [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
Michal Simek08a00cb2018-07-23 15:55:14 +020014 imply CMD_DM
Jerome Brunet32caa1e2018-10-05 10:25:47 +020015
Jerome Brunet33e33782018-10-05 17:00:37 +020016config MESON_GX
17 bool
18 select MESON64_COMMON
19
Jerome Brunet32caa1e2018-10-05 10:25:47 +020020choice
21 prompt "Platform select"
Jerome Brunet96a739b2018-10-25 16:41:37 +020022 default MESON_GXBB
Beniamino Galvanibfcef282016-05-08 08:30:16 +020023
Jerome Brunet96a739b2018-10-25 16:41:37 +020024config MESON_GXBB
25 bool "GXBB"
Jerome Brunet33e33782018-10-05 17:00:37 +020026 select MESON_GX
Beniamino Galvanibfcef282016-05-08 08:30:16 +020027 help
Jerome Brunet96a739b2018-10-25 16:41:37 +020028 Select this if your SoC is an S905
Neil Armstrongcade8652017-10-12 15:50:32 +020029
Jerome Brunet96a739b2018-10-25 16:41:37 +020030config MESON_GXL
31 bool "GXL"
Jerome Brunet33e33782018-10-05 17:00:37 +020032 select MESON_GX
Neil Armstrongcade8652017-10-12 15:50:32 +020033 help
Jerome Brunet96a739b2018-10-25 16:41:37 +020034 Select this if your SoC is an S905X/D or S805X
Neil Armstrong5ff2ee42017-11-27 10:16:20 +010035
Jerome Brunet96a739b2018-10-25 16:41:37 +020036config MESON_GXM
37 bool "GXM"
Jerome Brunet33e33782018-10-05 17:00:37 +020038 select MESON_GX
Loic Devulder8afd4ea2018-10-03 12:02:07 +020039 help
Jerome Brunet96a739b2018-10-25 16:41:37 +020040 Select this if your SoC is an S912
Loic Devulder8afd4ea2018-10-03 12:02:07 +020041
Neil Armstrong485bba32018-09-05 15:56:12 +020042config MESON_AXG
43 bool "AXG"
44 select MESON64_COMMON
45 help
Jerome Brunet17b7efe2019-02-08 16:23:20 +010046 Select this if your SoC is an A113X/D
47
48config MESON_G12A
49 bool "G12A"
50 select MESON64_COMMON
51 help
52 Select this if your SoC is an S905X/D2
Neil Armstrong485bba32018-09-05 15:56:12 +020053
Jerome Brunet32caa1e2018-10-05 10:25:47 +020054endchoice
Loic Devulder8afd4ea2018-10-03 12:02:07 +020055
Beniamino Galvanibfcef282016-05-08 08:30:16 +020056config SYS_SOC
57 default "meson"
58
59config SYS_MALLOC_F_LEN
60 default 0x1000
61
Jerome Brunet96a739b2018-10-25 16:41:37 +020062config SYS_VENDOR
63 string "Vendor name"
64 default "amlogic"
65 help
66 This option contains information about board name.
67 Based on this option board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> will
68 be used.
Beniamino Galvanibfcef282016-05-08 08:30:16 +020069
Jerome Brunet96a739b2018-10-25 16:41:37 +020070config SYS_BOARD
71 string "Board name"
Mohammad Rasim4778afc2019-03-23 14:52:22 +030072 default "p200" if MESON_GXBB
Jerome Brunet96a739b2018-10-25 16:41:37 +020073 default "p212" if MESON_GXL
74 default "q200" if MESON_GXM
Neil Armstrongb72794e2018-09-05 15:57:11 +020075 default "s400" if MESON_AXG
Jerome Brunet17b7efe2019-02-08 16:23:20 +010076 default "u200" if MESON_G12A
Jerome Brunet96a739b2018-10-25 16:41:37 +020077 default ""
78 help
79 This option contains information about board name.
80 Based on this option board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> will
81 be used.
Neil Armstrongcade8652017-10-12 15:50:32 +020082
Jerome Brunet96a739b2018-10-25 16:41:37 +020083config SYS_CONFIG_NAME
84 string "Board configuration name"
85 default "meson64"
86 help
87 This option contains information about board configuration name.
88 Based on this option include/configs/<CONFIG_SYS_CONFIG_NAME>.h header
89 will be used for board configuration.
Loic Devulder8afd4ea2018-10-03 12:02:07 +020090
Beniamino Galvanibfcef282016-05-08 08:30:16 +020091endif