blob: e29e4c0acc06d0d843de16989a5ff80fe41d2f82 [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
Neil Armstrongd96a7822018-07-27 14:10:00 +020011 select BOARD_LATE_INIT
Michal Simek08a00cb2018-07-23 15:55:14 +020012 imply CMD_DM
Jerome Brunet32caa1e2018-10-05 10:25:47 +020013
Jerome Brunet33e33782018-10-05 17:00:37 +020014config MESON_GX
15 bool
16 select MESON64_COMMON
17
Jerome Brunet32caa1e2018-10-05 10:25:47 +020018choice
19 prompt "Platform select"
Jerome Brunet96a739b2018-10-25 16:41:37 +020020 default MESON_GXBB
Beniamino Galvanibfcef282016-05-08 08:30:16 +020021
Jerome Brunet96a739b2018-10-25 16:41:37 +020022config MESON_GXBB
23 bool "GXBB"
Jerome Brunet33e33782018-10-05 17:00:37 +020024 select MESON_GX
Beniamino Galvanibfcef282016-05-08 08:30:16 +020025 help
Jerome Brunet96a739b2018-10-25 16:41:37 +020026 Select this if your SoC is an S905
Neil Armstrongcade8652017-10-12 15:50:32 +020027
Jerome Brunet96a739b2018-10-25 16:41:37 +020028config MESON_GXL
29 bool "GXL"
Jerome Brunet33e33782018-10-05 17:00:37 +020030 select MESON_GX
Neil Armstrongcade8652017-10-12 15:50:32 +020031 help
Jerome Brunet96a739b2018-10-25 16:41:37 +020032 Select this if your SoC is an S905X/D or S805X
Neil Armstrong5ff2ee42017-11-27 10:16:20 +010033
Jerome Brunet96a739b2018-10-25 16:41:37 +020034config MESON_GXM
35 bool "GXM"
Jerome Brunet33e33782018-10-05 17:00:37 +020036 select MESON_GX
Loic Devulder8afd4ea2018-10-03 12:02:07 +020037 help
Jerome Brunet96a739b2018-10-25 16:41:37 +020038 Select this if your SoC is an S912
Loic Devulder8afd4ea2018-10-03 12:02:07 +020039
Neil Armstrong485bba32018-09-05 15:56:12 +020040config MESON_AXG
41 bool "AXG"
42 select MESON64_COMMON
43 help
Jerome Brunet17b7efe2019-02-08 16:23:20 +010044 Select this if your SoC is an A113X/D
45
46config MESON_G12A
47 bool "G12A"
48 select MESON64_COMMON
49 help
50 Select this if your SoC is an S905X/D2
Neil Armstrong485bba32018-09-05 15:56:12 +020051
Jerome Brunet32caa1e2018-10-05 10:25:47 +020052endchoice
Loic Devulder8afd4ea2018-10-03 12:02:07 +020053
Beniamino Galvanibfcef282016-05-08 08:30:16 +020054config SYS_SOC
55 default "meson"
56
57config SYS_MALLOC_F_LEN
58 default 0x1000
59
Jerome Brunet96a739b2018-10-25 16:41:37 +020060config SYS_VENDOR
61 string "Vendor name"
62 default "amlogic"
63 help
64 This option contains information about board name.
65 Based on this option board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> will
66 be used.
Beniamino Galvanibfcef282016-05-08 08:30:16 +020067
Jerome Brunet96a739b2018-10-25 16:41:37 +020068config SYS_BOARD
69 string "Board name"
Mohammad Rasim4778afc2019-03-23 14:52:22 +030070 default "p200" if MESON_GXBB
Jerome Brunet96a739b2018-10-25 16:41:37 +020071 default "p212" if MESON_GXL
72 default "q200" if MESON_GXM
Neil Armstrongb72794e2018-09-05 15:57:11 +020073 default "s400" if MESON_AXG
Jerome Brunet17b7efe2019-02-08 16:23:20 +010074 default "u200" if MESON_G12A
Jerome Brunet96a739b2018-10-25 16:41:37 +020075 default ""
76 help
77 This option contains information about board name.
78 Based on this option board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> will
79 be used.
Neil Armstrongcade8652017-10-12 15:50:32 +020080
Jerome Brunet96a739b2018-10-25 16:41:37 +020081config SYS_CONFIG_NAME
82 string "Board configuration name"
83 default "meson64"
84 help
85 This option contains information about board configuration name.
86 Based on this option include/configs/<CONFIG_SYS_CONFIG_NAME>.h header
87 will be used for board configuration.
Loic Devulder8afd4ea2018-10-03 12:02:07 +020088
Beniamino Galvanibfcef282016-05-08 08:30:16 +020089endif