blob: 95e7b019ce8511421d437eabfda3bfe4957f7ddd [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
Jerome Brunet32bacc52018-10-25 16:41:37 +020035 help
36 Select this if your SoC is an S905X/D or S805X
Neil Armstrong4c2ea412017-10-12 15:50:32 +020037
Loic Devulderd17b8092018-10-03 12:02:07 +020038config MESON_GXM
Jerome Brunet32bacc52018-10-25 16:41:37 +020039 bool "GXM"
Jerome Brunetf897c4b2018-10-05 17:00:37 +020040 select MESON_GX
Loic Devulderd17b8092018-10-03 12:02:07 +020041 help
Jerome Brunet32bacc52018-10-25 16:41:37 +020042 Select this if your SoC is an S912
Loic Devulderd17b8092018-10-03 12:02:07 +020043
Neil Armstrong0fca9232018-09-05 15:56:12 +020044config MESON_AXG
45 bool "AXG"
46 select MESON64_COMMON
47 help
Jerome Brunet993709a2019-02-08 16:23:20 +010048 Select this if your SoC is an A113X/D
49
50config MESON_G12A
51 bool "G12A"
52 select MESON64_COMMON
53 help
54 Select this if your SoC is an S905X/D2
Neil Armstrong0fca9232018-09-05 15:56:12 +020055
Igor Prusov7da68fb2023-05-05 15:56:37 +030056config MESON_A1
57 bool "A1"
58 select MESON64_COMMON
59 help
60 Select this if your SoC is an A113L
61
Jerome Brunet630239d2018-10-05 10:25:47 +020062endchoice
Loic Devulderd17b8092018-10-03 12:02:07 +020063
Beniamino Galvanid1037e42016-05-08 08:30:16 +020064config SYS_SOC
65 default "meson"
66
67config SYS_MALLOC_F_LEN
68 default 0x1000
69
Jerome Brunet32bacc52018-10-25 16:41:37 +020070config SYS_VENDOR
71 string "Vendor name"
72 default "amlogic"
73 help
74 This option contains information about board name.
75 Based on this option board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> will
76 be used.
Beniamino Galvanid1037e42016-05-08 08:30:16 +020077
Jerome Brunet32bacc52018-10-25 16:41:37 +020078config SYS_BOARD
79 string "Board name"
Igor Prusov9ad0ebb2023-05-05 15:56:39 +030080 default "ad401" if MESON_A1
Mohammad Rasimfbe29962019-03-23 14:52:22 +030081 default "p200" if MESON_GXBB
Jerome Brunet32bacc52018-10-25 16:41:37 +020082 default "p212" if MESON_GXL
83 default "q200" if MESON_GXM
Neil Armstrong64b6de92018-09-05 15:57:11 +020084 default "s400" if MESON_AXG
Jerome Brunet993709a2019-02-08 16:23:20 +010085 default "u200" if MESON_G12A
Jerome Brunet32bacc52018-10-25 16:41:37 +020086 default ""
87 help
88 This option contains information about board name.
89 Based on this option board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> will
90 be used.
Neil Armstrong4c2ea412017-10-12 15:50:32 +020091
Beniamino Galvanid1037e42016-05-08 08:30:16 +020092endif