blob: 513a33dae2045f08829c8dd2af5c6a4ed1d210a7 [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
Neil Armstrongd96a7822018-07-27 14:10:00 +020012 select BOARD_LATE_INIT
Michal Simek08a00cb2018-07-23 15:55:14 +020013 imply CMD_DM
Jerome Brunet32caa1e2018-10-05 10:25:47 +020014
Jerome Brunet33e33782018-10-05 17:00:37 +020015config MESON_GX
16 bool
17 select MESON64_COMMON
18
Jerome Brunet32caa1e2018-10-05 10:25:47 +020019choice
20 prompt "Platform select"
Jerome Brunet96a739b2018-10-25 16:41:37 +020021 default MESON_GXBB
Beniamino Galvanibfcef282016-05-08 08:30:16 +020022
Jerome Brunet96a739b2018-10-25 16:41:37 +020023config MESON_GXBB
24 bool "GXBB"
Jerome Brunet33e33782018-10-05 17:00:37 +020025 select MESON_GX
Beniamino Galvanibfcef282016-05-08 08:30:16 +020026 help
Jerome Brunet96a739b2018-10-25 16:41:37 +020027 Select this if your SoC is an S905
Neil Armstrongcade8652017-10-12 15:50:32 +020028
Jerome Brunet96a739b2018-10-25 16:41:37 +020029config MESON_GXL
30 bool "GXL"
Jerome Brunet33e33782018-10-05 17:00:37 +020031 select MESON_GX
Neil Armstrongcade8652017-10-12 15:50:32 +020032 help
Jerome Brunet96a739b2018-10-25 16:41:37 +020033 Select this if your SoC is an S905X/D or S805X
Neil Armstrong5ff2ee42017-11-27 10:16:20 +010034
Jerome Brunet96a739b2018-10-25 16:41:37 +020035config MESON_GXM
36 bool "GXM"
Jerome Brunet33e33782018-10-05 17:00:37 +020037 select MESON_GX
Loic Devulder8afd4ea2018-10-03 12:02:07 +020038 help
Jerome Brunet96a739b2018-10-25 16:41:37 +020039 Select this if your SoC is an S912
Loic Devulder8afd4ea2018-10-03 12:02:07 +020040
Neil Armstrong485bba32018-09-05 15:56:12 +020041config MESON_AXG
42 bool "AXG"
43 select MESON64_COMMON
44 help
Jerome Brunet17b7efe2019-02-08 16:23:20 +010045 Select this if your SoC is an A113X/D
46
47config MESON_G12A
48 bool "G12A"
49 select MESON64_COMMON
50 help
51 Select this if your SoC is an S905X/D2
Neil Armstrong485bba32018-09-05 15:56:12 +020052
Jerome Brunet32caa1e2018-10-05 10:25:47 +020053endchoice
Loic Devulder8afd4ea2018-10-03 12:02:07 +020054
Beniamino Galvanibfcef282016-05-08 08:30:16 +020055config SYS_SOC
56 default "meson"
57
58config SYS_MALLOC_F_LEN
59 default 0x1000
60
Jerome Brunet96a739b2018-10-25 16:41:37 +020061config SYS_VENDOR
62 string "Vendor name"
63 default "amlogic"
64 help
65 This option contains information about board name.
66 Based on this option board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> will
67 be used.
Beniamino Galvanibfcef282016-05-08 08:30:16 +020068
Jerome Brunet96a739b2018-10-25 16:41:37 +020069config SYS_BOARD
70 string "Board name"
Mohammad Rasim4778afc2019-03-23 14:52:22 +030071 default "p200" if MESON_GXBB
Jerome Brunet96a739b2018-10-25 16:41:37 +020072 default "p212" if MESON_GXL
73 default "q200" if MESON_GXM
Neil Armstrongb72794e2018-09-05 15:57:11 +020074 default "s400" if MESON_AXG
Jerome Brunet17b7efe2019-02-08 16:23:20 +010075 default "u200" if MESON_G12A
Jerome Brunet96a739b2018-10-25 16:41:37 +020076 default ""
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.
Neil Armstrongcade8652017-10-12 15:50:32 +020081
Jerome Brunet96a739b2018-10-25 16:41:37 +020082config SYS_CONFIG_NAME
83 string "Board configuration name"
84 default "meson64"
85 help
86 This option contains information about board configuration name.
87 Based on this option include/configs/<CONFIG_SYS_CONFIG_NAME>.h header
88 will be used for board configuration.
Loic Devulder8afd4ea2018-10-03 12:02:07 +020089
Beniamino Galvanibfcef282016-05-08 08:30:16 +020090endif