blob: 669ca09a00add883e79678dafc4810c2531bec8d [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
Anand Moonc528ed92019-12-26 11:33:53 +000011 select PWRSEQ
Jaehoon Chung14907302021-02-16 10:16:55 +090012 select MMC_PWRSEQ
Neil Armstrong2fbfcbb2018-07-27 14:10:00 +020013 select BOARD_LATE_INIT
Michal Simek2e7c8192018-07-23 15:55:14 +020014 imply CMD_DM
Jerome Brunet630239d2018-10-05 10:25:47 +020015
Jerome Brunetf897c4b2018-10-05 17:00:37 +020016config MESON_GX
17 bool
18 select MESON64_COMMON
19
Jerome Brunet32bacc52018-10-25 16:41:37 +020020choice
21 prompt "Platform select"
22 default MESON_GXBB
23
Jerome Brunet630239d2018-10-05 10:25:47 +020024config MESON_GXBB
Jerome Brunet32bacc52018-10-25 16:41:37 +020025 bool "GXBB"
Jerome Brunetf897c4b2018-10-05 17:00:37 +020026 select MESON_GX
Jerome Brunet32bacc52018-10-25 16:41:37 +020027 help
28 Select this if your SoC is an S905
Beniamino Galvanid1037e42016-05-08 08:30:16 +020029
Neil Armstrong4c2ea412017-10-12 15:50:32 +020030config MESON_GXL
Jerome Brunet32bacc52018-10-25 16:41:37 +020031 bool "GXL"
Jerome Brunetf897c4b2018-10-05 17:00:37 +020032 select MESON_GX
Jerome Brunet32bacc52018-10-25 16:41:37 +020033 help
34 Select this if your SoC is an S905X/D or S805X
Neil Armstrong4c2ea412017-10-12 15:50:32 +020035
Loic Devulderd17b8092018-10-03 12:02:07 +020036config MESON_GXM
Jerome Brunet32bacc52018-10-25 16:41:37 +020037 bool "GXM"
Jerome Brunetf897c4b2018-10-05 17:00:37 +020038 select MESON_GX
Loic Devulderd17b8092018-10-03 12:02:07 +020039 help
Jerome Brunet32bacc52018-10-25 16:41:37 +020040 Select this if your SoC is an S912
Loic Devulderd17b8092018-10-03 12:02:07 +020041
Neil Armstrong0fca9232018-09-05 15:56:12 +020042config MESON_AXG
43 bool "AXG"
44 select MESON64_COMMON
45 help
Jerome Brunet993709a2019-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 Armstrong0fca9232018-09-05 15:56:12 +020053
Igor Prusov7da68fb2023-05-05 15:56:37 +030054config MESON_A1
55 bool "A1"
56 select MESON64_COMMON
57 help
58 Select this if your SoC is an A113L
59
Jerome Brunet630239d2018-10-05 10:25:47 +020060endchoice
Loic Devulderd17b8092018-10-03 12:02:07 +020061
Beniamino Galvanid1037e42016-05-08 08:30:16 +020062config SYS_SOC
63 default "meson"
64
65config SYS_MALLOC_F_LEN
66 default 0x1000
67
Jerome Brunet32bacc52018-10-25 16:41:37 +020068config SYS_VENDOR
69 string "Vendor name"
70 default "amlogic"
71 help
72 This option contains information about board name.
73 Based on this option board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> will
74 be used.
Beniamino Galvanid1037e42016-05-08 08:30:16 +020075
Jerome Brunet32bacc52018-10-25 16:41:37 +020076config SYS_BOARD
77 string "Board name"
Igor Prusov9ad0ebb2023-05-05 15:56:39 +030078 default "ad401" if MESON_A1
Mohammad Rasimfbe29962019-03-23 14:52:22 +030079 default "p200" if MESON_GXBB
Jerome Brunet32bacc52018-10-25 16:41:37 +020080 default "p212" if MESON_GXL
81 default "q200" if MESON_GXM
Neil Armstrong64b6de92018-09-05 15:57:11 +020082 default "s400" if MESON_AXG
Jerome Brunet993709a2019-02-08 16:23:20 +010083 default "u200" if MESON_G12A
Jerome Brunet32bacc52018-10-25 16:41:37 +020084 default ""
85 help
86 This option contains information about board name.
87 Based on this option board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> will
88 be used.
Neil Armstrong4c2ea412017-10-12 15:50:32 +020089
Jerome Brunet32bacc52018-10-25 16:41:37 +020090config SYS_CONFIG_NAME
91 string "Board configuration name"
92 default "meson64"
93 help
94 This option contains information about board configuration name.
95 Based on this option include/configs/<CONFIG_SYS_CONFIG_NAME>.h header
96 will be used for board configuration.
Loic Devulderd17b8092018-10-03 12:02:07 +020097
Beniamino Galvanid1037e42016-05-08 08:30:16 +020098endif