blob: 1d837ae0f3e88858a900a169c44d9dd37403562e [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
Alexey Romanovbabf17e2023-09-21 11:13:41 +030014 select MESON_SM
Michal Simek2e7c8192018-07-23 15:55:14 +020015 imply CMD_DM
Jerome Brunet630239d2018-10-05 10:25:47 +020016
Jerome Brunetf897c4b2018-10-05 17:00:37 +020017config MESON_GX
18 bool
19 select MESON64_COMMON
20
Jerome Brunet32bacc52018-10-25 16:41:37 +020021choice
22 prompt "Platform select"
23 default MESON_GXBB
24
Jerome Brunet630239d2018-10-05 10:25:47 +020025config MESON_GXBB
Jerome Brunet32bacc52018-10-25 16:41:37 +020026 bool "GXBB"
Jerome Brunetf897c4b2018-10-05 17:00:37 +020027 select MESON_GX
Sumit Garg5517a8f2024-02-22 15:06:06 +053028 imply OF_UPSTREAM
Jerome Brunet32bacc52018-10-25 16:41:37 +020029 help
30 Select this if your SoC is an S905
Beniamino Galvanid1037e42016-05-08 08:30:16 +020031
Neil Armstrong4c2ea412017-10-12 15:50:32 +020032config MESON_GXL
Jerome Brunet32bacc52018-10-25 16:41:37 +020033 bool "GXL"
Jerome Brunetf897c4b2018-10-05 17:00:37 +020034 select MESON_GX
Neil Armstrong65662e22024-03-29 18:51:49 +010035 imply OF_UPSTREAM
Jerome Brunet32bacc52018-10-25 16:41:37 +020036 help
37 Select this if your SoC is an S905X/D or S805X
Neil Armstrong4c2ea412017-10-12 15:50:32 +020038
Loic Devulderd17b8092018-10-03 12:02:07 +020039config MESON_GXM
Jerome Brunet32bacc52018-10-25 16:41:37 +020040 bool "GXM"
Jerome Brunetf897c4b2018-10-05 17:00:37 +020041 select MESON_GX
Neil Armstrong65662e22024-03-29 18:51:49 +010042 imply OF_UPSTREAM
Loic Devulderd17b8092018-10-03 12:02:07 +020043 help
Jerome Brunet32bacc52018-10-25 16:41:37 +020044 Select this if your SoC is an S912
Loic Devulderd17b8092018-10-03 12:02:07 +020045
Neil Armstrong0fca9232018-09-05 15:56:12 +020046config MESON_AXG
47 bool "AXG"
48 select MESON64_COMMON
Neil Armstrong65662e22024-03-29 18:51:49 +010049 imply OF_UPSTREAM
Neil Armstrong0fca9232018-09-05 15:56:12 +020050 help
Jerome Brunet993709a2019-02-08 16:23:20 +010051 Select this if your SoC is an A113X/D
52
53config MESON_G12A
54 bool "G12A"
55 select MESON64_COMMON
56 help
57 Select this if your SoC is an S905X/D2
Neil Armstrong0fca9232018-09-05 15:56:12 +020058
Igor Prusov7da68fb2023-05-05 15:56:37 +030059config MESON_A1
60 bool "A1"
61 select MESON64_COMMON
62 help
63 Select this if your SoC is an A113L
64
Jerome Brunet630239d2018-10-05 10:25:47 +020065endchoice
Loic Devulderd17b8092018-10-03 12:02:07 +020066
Beniamino Galvanid1037e42016-05-08 08:30:16 +020067config SYS_SOC
68 default "meson"
69
70config SYS_MALLOC_F_LEN
71 default 0x1000
72
Jerome Brunet32bacc52018-10-25 16:41:37 +020073config SYS_VENDOR
74 string "Vendor name"
75 default "amlogic"
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.
Beniamino Galvanid1037e42016-05-08 08:30:16 +020080
Jerome Brunet32bacc52018-10-25 16:41:37 +020081config SYS_BOARD
82 string "Board name"
Igor Prusov9ad0ebb2023-05-05 15:56:39 +030083 default "ad401" if MESON_A1
Mohammad Rasimfbe29962019-03-23 14:52:22 +030084 default "p200" if MESON_GXBB
Jerome Brunet32bacc52018-10-25 16:41:37 +020085 default "p212" if MESON_GXL
86 default "q200" if MESON_GXM
Neil Armstrong64b6de92018-09-05 15:57:11 +020087 default "s400" if MESON_AXG
Jerome Brunet993709a2019-02-08 16:23:20 +010088 default "u200" if MESON_G12A
Jerome Brunet32bacc52018-10-25 16:41:37 +020089 default ""
90 help
91 This option contains information about board name.
92 Based on this option board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> will
93 be used.
Neil Armstrong4c2ea412017-10-12 15:50:32 +020094
Beniamino Galvanid1037e42016-05-08 08:30:16 +020095endif