blob: e29e4c0acc06d0d843de16989a5ff80fe41d2f82 [file] [log] [blame]
Beniamino Galvanid1037e42016-05-08 08:30:16 +02001if ARCH_MESON
2
Jerome Brunet630239d2018-10-05 10:25:47 +02003config MESON64_COMMON
4 bool
Beniamino Galvanid1037e42016-05-08 08:30:16 +02005 select ARM64
Beniamino Galvanib67bfaf2018-06-14 13:43:39 +02006 select CLK
Beniamino Galvanid1037e42016-05-08 08:30:16 +02007 select DM
8 select DM_SERIAL
Neil Armstrong0fca9232018-09-05 15:56:12 +02009 select SYSCON
10 select REGMAP
Neil Armstrong2fbfcbb2018-07-27 14:10:00 +020011 select BOARD_LATE_INIT
Michal Simek2e7c8192018-07-23 15:55:14 +020012 imply CMD_DM
Jerome Brunet630239d2018-10-05 10:25:47 +020013
Jerome Brunetf897c4b2018-10-05 17:00:37 +020014config MESON_GX
15 bool
16 select MESON64_COMMON
17
Jerome Brunet32bacc52018-10-25 16:41:37 +020018choice
19 prompt "Platform select"
20 default MESON_GXBB
21
Jerome Brunet630239d2018-10-05 10:25:47 +020022config MESON_GXBB
Jerome Brunet32bacc52018-10-25 16:41:37 +020023 bool "GXBB"
Jerome Brunetf897c4b2018-10-05 17:00:37 +020024 select MESON_GX
Jerome Brunet32bacc52018-10-25 16:41:37 +020025 help
26 Select this if your SoC is an S905
Beniamino Galvanid1037e42016-05-08 08:30:16 +020027
Neil Armstrong4c2ea412017-10-12 15:50:32 +020028config MESON_GXL
Jerome Brunet32bacc52018-10-25 16:41:37 +020029 bool "GXL"
Jerome Brunetf897c4b2018-10-05 17:00:37 +020030 select MESON_GX
Jerome Brunet32bacc52018-10-25 16:41:37 +020031 help
32 Select this if your SoC is an S905X/D or S805X
Neil Armstrong4c2ea412017-10-12 15:50:32 +020033
Loic Devulderd17b8092018-10-03 12:02:07 +020034config MESON_GXM
Jerome Brunet32bacc52018-10-25 16:41:37 +020035 bool "GXM"
Jerome Brunetf897c4b2018-10-05 17:00:37 +020036 select MESON_GX
Loic Devulderd17b8092018-10-03 12:02:07 +020037 help
Jerome Brunet32bacc52018-10-25 16:41:37 +020038 Select this if your SoC is an S912
Loic Devulderd17b8092018-10-03 12:02:07 +020039
Neil Armstrong0fca9232018-09-05 15:56:12 +020040config MESON_AXG
41 bool "AXG"
42 select MESON64_COMMON
43 help
Jerome Brunet993709a2019-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 Armstrong0fca9232018-09-05 15:56:12 +020051
Jerome Brunet630239d2018-10-05 10:25:47 +020052endchoice
Loic Devulderd17b8092018-10-03 12:02:07 +020053
Beniamino Galvanid1037e42016-05-08 08:30:16 +020054config SYS_SOC
55 default "meson"
56
57config SYS_MALLOC_F_LEN
58 default 0x1000
59
Jerome Brunet32bacc52018-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 Galvanid1037e42016-05-08 08:30:16 +020067
Jerome Brunet32bacc52018-10-25 16:41:37 +020068config SYS_BOARD
69 string "Board name"
Mohammad Rasimfbe29962019-03-23 14:52:22 +030070 default "p200" if MESON_GXBB
Jerome Brunet32bacc52018-10-25 16:41:37 +020071 default "p212" if MESON_GXL
72 default "q200" if MESON_GXM
Neil Armstrong64b6de92018-09-05 15:57:11 +020073 default "s400" if MESON_AXG
Jerome Brunet993709a2019-02-08 16:23:20 +010074 default "u200" if MESON_G12A
Jerome Brunet32bacc52018-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 Armstrong4c2ea412017-10-12 15:50:32 +020080
Jerome Brunet32bacc52018-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 Devulderd17b8092018-10-03 12:02:07 +020088
Beniamino Galvanid1037e42016-05-08 08:30:16 +020089endif