blob: d6c8905806173217a9cb2e5138aedde6614f0326 [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
Jerome Brunet32bacc52018-10-25 16:41:37 +020028 help
29 Select this if your SoC is an S905
Beniamino Galvanid1037e42016-05-08 08:30:16 +020030
Neil Armstrong4c2ea412017-10-12 15:50:32 +020031config MESON_GXL
Jerome Brunet32bacc52018-10-25 16:41:37 +020032 bool "GXL"
Jerome Brunetf897c4b2018-10-05 17:00:37 +020033 select MESON_GX
Jerome Brunet32bacc52018-10-25 16:41:37 +020034 help
35 Select this if your SoC is an S905X/D or S805X
Neil Armstrong4c2ea412017-10-12 15:50:32 +020036
Loic Devulderd17b8092018-10-03 12:02:07 +020037config MESON_GXM
Jerome Brunet32bacc52018-10-25 16:41:37 +020038 bool "GXM"
Jerome Brunetf897c4b2018-10-05 17:00:37 +020039 select MESON_GX
Loic Devulderd17b8092018-10-03 12:02:07 +020040 help
Jerome Brunet32bacc52018-10-25 16:41:37 +020041 Select this if your SoC is an S912
Loic Devulderd17b8092018-10-03 12:02:07 +020042
Neil Armstrong0fca9232018-09-05 15:56:12 +020043config MESON_AXG
44 bool "AXG"
45 select MESON64_COMMON
46 help
Jerome Brunet993709a2019-02-08 16:23:20 +010047 Select this if your SoC is an A113X/D
48
49config MESON_G12A
50 bool "G12A"
51 select MESON64_COMMON
52 help
53 Select this if your SoC is an S905X/D2
Neil Armstrong0fca9232018-09-05 15:56:12 +020054
Igor Prusov7da68fb2023-05-05 15:56:37 +030055config MESON_A1
56 bool "A1"
57 select MESON64_COMMON
58 help
59 Select this if your SoC is an A113L
60
Jerome Brunet630239d2018-10-05 10:25:47 +020061endchoice
Loic Devulderd17b8092018-10-03 12:02:07 +020062
Beniamino Galvanid1037e42016-05-08 08:30:16 +020063config SYS_SOC
64 default "meson"
65
66config SYS_MALLOC_F_LEN
67 default 0x1000
68
Jerome Brunet32bacc52018-10-25 16:41:37 +020069config SYS_VENDOR
70 string "Vendor name"
71 default "amlogic"
72 help
73 This option contains information about board name.
74 Based on this option board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> will
75 be used.
Beniamino Galvanid1037e42016-05-08 08:30:16 +020076
Jerome Brunet32bacc52018-10-25 16:41:37 +020077config SYS_BOARD
78 string "Board name"
Igor Prusov9ad0ebb2023-05-05 15:56:39 +030079 default "ad401" if MESON_A1
Mohammad Rasimfbe29962019-03-23 14:52:22 +030080 default "p200" if MESON_GXBB
Jerome Brunet32bacc52018-10-25 16:41:37 +020081 default "p212" if MESON_GXL
82 default "q200" if MESON_GXM
Neil Armstrong64b6de92018-09-05 15:57:11 +020083 default "s400" if MESON_AXG
Jerome Brunet993709a2019-02-08 16:23:20 +010084 default "u200" if MESON_G12A
Jerome Brunet32bacc52018-10-25 16:41:37 +020085 default ""
86 help
87 This option contains information about board name.
88 Based on this option board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> will
89 be used.
Neil Armstrong4c2ea412017-10-12 15:50:32 +020090
Jerome Brunet32bacc52018-10-25 16:41:37 +020091config SYS_CONFIG_NAME
92 string "Board configuration name"
93 default "meson64"
94 help
95 This option contains information about board configuration name.
96 Based on this option include/configs/<CONFIG_SYS_CONFIG_NAME>.h header
97 will be used for board configuration.
Loic Devulderd17b8092018-10-03 12:02:07 +020098
Beniamino Galvanid1037e42016-05-08 08:30:16 +020099endif