blob: 8cb0c57163b1b13df18d05fb420252607a1342d9 [file] [log] [blame]
Andrew F. Davis817bbee2016-08-30 14:06:20 -05001if AM33XX
2
Marcin Niestroj07623922017-01-25 09:53:07 +01003config AM33XX_CHILISOM
4 bool
5 select SUPPORT_SPL
6
Andrew F. Davis817bbee2016-08-30 14:06:20 -05007choice
8 prompt "AM33xx board select"
Andrew F. Davis817bbee2016-08-30 14:06:20 -05009
10config TARGET_AM335X_EVM
11 bool "Support am335x_evm"
Tom Rini22d567e2017-01-22 19:43:11 -050012 select BOARD_LATE_INIT
Andrew F. Davis817bbee2016-08-30 14:06:20 -050013 select DM
Andrew F. Davis817bbee2016-08-30 14:06:20 -050014 select DM_GPIO
Michal Simek84f3dec2018-07-23 15:55:13 +020015 select DM_SERIAL
Andrew F. Davis817bbee2016-08-30 14:06:20 -050016 select TI_I2C_BOARD_DETECT
Kory Maincent169bf972021-05-04 19:31:30 +020017 select SUPPORT_EXTENSION_SCAN
Michal Simek2e7c8192018-07-23 15:55:14 +020018 imply CMD_DM
Michal Simek84f3dec2018-07-23 15:55:13 +020019 imply SPL_DM
20 imply SPL_DM_SEQ_ALIAS
Tom Rini60adb2f2017-03-03 15:33:30 -050021 imply SPL_ENV_SUPPORT
Tien Fong Chee6091dd12019-01-23 14:20:05 +080022 imply SPL_FS_EXT4
Tien Fong Chee6fd0a712019-01-23 14:20:03 +080023 imply SPL_FS_FAT
Simon Glass035939e2021-07-10 21:14:30 -060024 imply SPL_GPIO
Simon Glassbccfc2e2021-07-10 21:14:36 -060025 imply SPL_I2C
Tom Rini3b235102017-03-03 15:33:31 -050026 imply SPL_LIBCOMMON_SUPPORT
27 imply SPL_LIBDISK_SUPPORT
28 imply SPL_LIBGENERIC_SUPPORT
Simon Glassb58bfe02021-08-08 12:20:09 -060029 imply SPL_MMC
Tom Rini3b235102017-03-03 15:33:31 -050030 imply SPL_NAND_SUPPORT
Michal Simek84f3dec2018-07-23 15:55:13 +020031 imply SPL_OF_LIBFDT
Simon Glasse91ac4c2021-07-10 21:14:24 -060032 imply SPL_POWER
Michal Simek84f3dec2018-07-23 15:55:13 +020033 imply SPL_SEPARATE_BSS
Simon Glassf4d60392021-08-08 12:20:12 -060034 imply SPL_SERIAL
Michal Simek84f3dec2018-07-23 15:55:13 +020035 imply SPL_SYS_MALLOC_SIMPLE
Simon Glass1ba1d4e2021-07-10 21:14:28 -060036 imply SPL_WATCHDOG
Tom Rini3b235102017-03-03 15:33:31 -050037 imply SPL_YMODEM_SUPPORT
Andrew F. Davis817bbee2016-08-30 14:06:20 -050038 help
39 This option specifies support for the AM335x
40 GP and HS EVM development platforms. The AM335x
41 GP EVM is a standalone test, development, and
42 evaluation module system that enables developers
43 to write software and develop hardware around
44 an AM335x processor subsystem.
45
46config TARGET_AM335X_BALTOS
47 bool "Support am335x_baltos"
Tom Rini22d567e2017-01-22 19:43:11 -050048 select BOARD_LATE_INIT
Andrew F. Davis817bbee2016-08-30 14:06:20 -050049 select DM
Andrew F. Davis817bbee2016-08-30 14:06:20 -050050 select DM_GPIO
Michal Simek84f3dec2018-07-23 15:55:13 +020051 select DM_SERIAL
Michal Simek2e7c8192018-07-23 15:55:14 +020052 imply CMD_DM
Andrew F. Davis817bbee2016-08-30 14:06:20 -050053
Ladislav Michl10bdc712017-04-01 17:17:16 +020054config TARGET_AM335X_IGEP003X
55 bool "Support am335x_igep003x"
Pau Pajuelob2310f12017-04-01 17:18:40 +020056 select BOARD_LATE_INIT
Andrew F. Davis817bbee2016-08-30 14:06:20 -050057 select DM
Andrew F. Davis817bbee2016-08-30 14:06:20 -050058 select DM_GPIO
Michal Simek84f3dec2018-07-23 15:55:13 +020059 select DM_SERIAL
Michal Simek2e7c8192018-07-23 15:55:14 +020060 imply CMD_DM
Andrew F. Davis817bbee2016-08-30 14:06:20 -050061
62config TARGET_AM335X_SHC
63 bool "Support am335x based shc board from bosch"
Tom Rini22d567e2017-01-22 19:43:11 -050064 select BOARD_LATE_INIT
Andrew F. Davis817bbee2016-08-30 14:06:20 -050065 select DM
Andrew F. Davis817bbee2016-08-30 14:06:20 -050066 select DM_GPIO
Michal Simek84f3dec2018-07-23 15:55:13 +020067 select DM_SERIAL
Michal Simek2e7c8192018-07-23 15:55:14 +020068 imply CMD_DM
Simon Glassc6567fa2017-08-04 16:34:48 -060069 imply CMD_SPL
Andrew F. Davis817bbee2016-08-30 14:06:20 -050070
Sjoerd Simonsf93564c2019-02-25 15:33:00 +000071config TARGET_AM335X_GUARDIAN
72 bool "Support am335x based guardian board from bosch"
Moses Christopher5d489f82019-09-17 14:25:37 +000073 select BOARD_LATE_INIT
Sjoerd Simonsf93564c2019-02-25 15:33:00 +000074 select DM
75 select DM_SERIAL
76 select DM_GPIO
Simon Glass52cb5042022-10-18 07:46:31 -060077 select VIDEO
Simon Glassf8360fe2022-10-06 08:36:07 -060078 select PANEL_HX8238D
Sjoerd Simonsf93564c2019-02-25 15:33:00 +000079
Andrew F. Davis817bbee2016-08-30 14:06:20 -050080config TARGET_AM335X_SL50
81 bool "Support am335x_sl50"
Tom Rini22d567e2017-01-22 19:43:11 -050082 select BOARD_LATE_INIT
Andrew F. Davis817bbee2016-08-30 14:06:20 -050083 select DM
Andrew F. Davis817bbee2016-08-30 14:06:20 -050084 select DM_GPIO
Michal Simek84f3dec2018-07-23 15:55:13 +020085 select DM_SERIAL
Michal Simek2e7c8192018-07-23 15:55:14 +020086 imply CMD_DM
Andrew F. Davis817bbee2016-08-30 14:06:20 -050087
Tom Rini3d46f242017-06-09 16:59:17 -040088config TARGET_BRXRE1
89 bool "Support BRXRE1"
90 select BOARD_LATE_INIT
91
Hannes Schmelzer82088482019-08-01 07:04:46 +020092config TARGET_BRSMARC1
93 bool "Support BRSMARC1"
94 select BOARD_LATE_INIT
95
Tom Rini3d46f242017-06-09 16:59:17 -040096config TARGET_BRPPT1
97 bool "Support BRPPT1"
98 select BOARD_LATE_INIT
99
Marcin Niestroj20315d22017-01-25 09:53:08 +0100100config TARGET_CHILIBOARD
101 bool "Grinn chiliBoard"
102 select AM33XX_CHILISOM
103 select BOARD_LATE_INIT
104 select DM
105 select DM_SERIAL
Michal Simek2e7c8192018-07-23 15:55:14 +0200106 imply CMD_DM
Marcin Niestroj20315d22017-01-25 09:53:08 +0100107
Tom Rini3d46f242017-06-09 16:59:17 -0400108config TARGET_DRACO
109 bool "Support draco"
110 select BOARD_LATE_INIT
111 select DM
Tom Rini3d46f242017-06-09 16:59:17 -0400112 select DM_GPIO
Michal Simek84f3dec2018-07-23 15:55:13 +0200113 select DM_SERIAL
Tom Rini29e05952022-06-10 22:59:35 -0400114 select FACTORYSET
Michal Simek2e7c8192018-07-23 15:55:14 +0200115 imply CMD_DM
Tom Rini3d46f242017-06-09 16:59:17 -0400116
117config TARGET_ETAMIN
118 bool "Support etamin"
119 select BOARD_LATE_INIT
120 select DM
Tom Rini3d46f242017-06-09 16:59:17 -0400121 select DM_GPIO
Michal Simek84f3dec2018-07-23 15:55:13 +0200122 select DM_SERIAL
Tom Rini29e05952022-06-10 22:59:35 -0400123 select FACTORYSET
Michal Simek2e7c8192018-07-23 15:55:14 +0200124 imply CMD_DM
Tom Rini3d46f242017-06-09 16:59:17 -0400125
Andrew F. Davis817bbee2016-08-30 14:06:20 -0500126config TARGET_PCM051
127 bool "Support pcm051"
128 select DM
Andrew F. Davis817bbee2016-08-30 14:06:20 -0500129 select DM_GPIO
Michal Simek84f3dec2018-07-23 15:55:13 +0200130 select DM_SERIAL
Michal Simek2e7c8192018-07-23 15:55:14 +0200131 imply CMD_DM
Andrew F. Davis817bbee2016-08-30 14:06:20 -0500132
Niel Fouried3951852019-06-03 15:31:17 +0200133config TARGET_PHYCORE_AM335X_R2
134 bool "Support phyCORE AM335X R2"
135 select DM
136 select DM_GPIO
137 select DM_SERIAL
138 imply CMD_DM
139
Tom Rini3d46f242017-06-09 16:59:17 -0400140config TARGET_PXM2
141 bool "Support pxm2"
142 select BOARD_LATE_INIT
143 select DM
Tom Rini3d46f242017-06-09 16:59:17 -0400144 select DM_GPIO
Michal Simek84f3dec2018-07-23 15:55:13 +0200145 select DM_SERIAL
Tom Rini29e05952022-06-10 22:59:35 -0400146 select FACTORYSET
Michal Simek2e7c8192018-07-23 15:55:14 +0200147 imply CMD_DM
Tom Rini3d46f242017-06-09 16:59:17 -0400148
149config TARGET_RASTABAN
150 bool "Support rastaban"
151 select BOARD_LATE_INIT
152 select DM
Tom Rini3d46f242017-06-09 16:59:17 -0400153 select DM_GPIO
Michal Simek84f3dec2018-07-23 15:55:13 +0200154 select DM_SERIAL
Tom Rini29e05952022-06-10 22:59:35 -0400155 select FACTORYSET
Michal Simek2e7c8192018-07-23 15:55:14 +0200156 imply CMD_DM
Tom Rini3d46f242017-06-09 16:59:17 -0400157
158config TARGET_RUT
159 bool "Support rut"
160 select BOARD_LATE_INIT
161 select DM
Tom Rini3d46f242017-06-09 16:59:17 -0400162 select DM_GPIO
Michal Simek84f3dec2018-07-23 15:55:13 +0200163 select DM_SERIAL
Tom Rini29e05952022-06-10 22:59:35 -0400164 select FACTORYSET
Michal Simek2e7c8192018-07-23 15:55:14 +0200165 imply CMD_DM
Tom Rini3d46f242017-06-09 16:59:17 -0400166
167config TARGET_THUBAN
168 bool "Support thuban"
169 select BOARD_LATE_INIT
170 select DM
Tom Rini3d46f242017-06-09 16:59:17 -0400171 select DM_GPIO
Michal Simek84f3dec2018-07-23 15:55:13 +0200172 select DM_SERIAL
Tom Rini29e05952022-06-10 22:59:35 -0400173 select FACTORYSET
Michal Simek2e7c8192018-07-23 15:55:14 +0200174 imply CMD_DM
Tom Rini3d46f242017-06-09 16:59:17 -0400175
Felix Brack1ba8c9e2018-01-23 18:27:22 +0100176config TARGET_PDU001
177 bool "Support PDU001"
178 select DM
179 select DM_SERIAL
Felix Brack813742e2018-12-07 15:01:55 +0100180 imply SPL_SEPARATE_BSS
Michal Simek2e7c8192018-07-23 15:55:14 +0200181 imply CMD_DM
Felix Brack1ba8c9e2018-01-23 18:27:22 +0100182 help
183 Support for PDU001 platform developed by EETS GmbH.
184 The PDU001 is a processor and display unit developed around
185 the Computing-Module m2 from bytes at work AG.
186
Andrew F. Davis817bbee2016-08-30 14:06:20 -0500187endchoice
188
Tom Rinidc776902022-03-23 17:20:07 -0400189config CLOCK_SYNTHESIZER
190 bool "CDCE913 and CDCEL913 clock synthesizer support"
191 help
192 The CDCE913 and CDCEL913 devices are modular PLL-based, low cost,
193 high performance , programmable clock synthesizers. They generate
194 up to 3 output clocks from a single input frequency. Each output can
195 be programmed for any clock-frequency.
196
197config CLK_SYNTHESIZER_I2C_ADDR
198 hex "Clock synthesizer i2c bus address"
199 depends on CLOCK_SYNTHESIZER
200 default 0x65
201
Andrew F. Davis817bbee2016-08-30 14:06:20 -0500202endif
203
Madan Srinivaseba13cd2016-05-19 19:10:43 -0500204if AM43XX
Simon Glassc5ec6362016-09-12 23:18:37 -0600205
Tom Rini3d46f242017-06-09 16:59:17 -0400206choice
207 prompt "AM43xx board select"
208
Madan Srinivaseba13cd2016-05-19 19:10:43 -0500209config TARGET_AM43XX_EVM
210 bool "Support am43xx_evm"
Tom Rini22d567e2017-01-22 19:43:11 -0500211 select BOARD_LATE_INIT
Madan Srinivaseba13cd2016-05-19 19:10:43 -0500212 select TI_I2C_BOARD_DETECT
Lokesh Vutla493368d2017-02-21 11:40:43 +0530213 imply DM_I2C
214 imply DM_SPI
215 imply DM_SPI_FLASH
Tom Rini3b235102017-03-03 15:33:31 -0500216 imply SPL_ENV_SUPPORT
Tien Fong Chee6091dd12019-01-23 14:20:05 +0800217 imply SPL_FS_EXT4
Tien Fong Chee6fd0a712019-01-23 14:20:03 +0800218 imply SPL_FS_FAT
Simon Glass035939e2021-07-10 21:14:30 -0600219 imply SPL_GPIO
Simon Glassbccfc2e2021-07-10 21:14:36 -0600220 imply SPL_I2C
Tom Rini3b235102017-03-03 15:33:31 -0500221 imply SPL_LIBCOMMON_SUPPORT
222 imply SPL_LIBDISK_SUPPORT
223 imply SPL_LIBGENERIC_SUPPORT
Simon Glassb58bfe02021-08-08 12:20:09 -0600224 imply SPL_MMC
Tom Rini3b235102017-03-03 15:33:31 -0500225 imply SPL_NAND_SUPPORT
Simon Glasse91ac4c2021-07-10 21:14:24 -0600226 imply SPL_POWER
Simon Glassf4d60392021-08-08 12:20:12 -0600227 imply SPL_SERIAL
Simon Glass1ba1d4e2021-07-10 21:14:28 -0600228 imply SPL_WATCHDOG
Tom Rini3b235102017-03-03 15:33:31 -0500229 imply SPL_YMODEM_SUPPORT
Madan Srinivaseba13cd2016-05-19 19:10:43 -0500230 help
231 This option specifies support for the AM43xx
232 GP and HS EVM development platforms.The AM437x
233 GP EVM is a standalone test, development, and
234 evaluation module system that enables developers
235 to write software and develop hardware around
236 an AM43xx processor subsystem.
Tom Rini3d46f242017-06-09 16:59:17 -0400237
238config TARGET_CM_T43
239 bool "Support cm_t43"
240
241endchoice
242
Tero Kristo5d6acae2018-03-17 13:32:52 +0530243config SPL_RTC_DDR_SUPPORT
244 bool
245 depends on SPL
246 prompt "Enable RTC-DDR ONLY Support"
247 help
248 If you want RTC-DDR ONLY Support, say Y. RTC Only with DDR in
249 self-refresh mode is a special power saving mode where in all
250 the other voltages are turned off apart from the RTC domain and DDR.
251 So only RTC is alive and ticking and one can program it to wake
252 up after a predetermined period. Once RTC alarm fires, the PMIC
253 powers up all the voltage domains. U-Boot takes a special path
254 as the DDR has contents is in self-refresh and restore path is
255 followed.
256
Andrew F. Davis817bbee2016-08-30 14:06:20 -0500257endif
Madan Srinivaseba13cd2016-05-19 19:10:43 -0500258
Andrew F. Davis817bbee2016-08-30 14:06:20 -0500259if AM43XX || AM33XX
Madan Srinivasfb59e8e2016-05-19 19:10:42 -0500260config PUB_ROM_DATA_SIZE
261 hex "Size in bytes of the L3 SRAM reserved by ROM to store data"
Michal Simek84f3dec2018-07-23 15:55:13 +0200262 default 0x8400
Madan Srinivasfb59e8e2016-05-19 19:10:42 -0500263 help
264 During the device boot, the public ROM uses the top of
265 the public L3 OCMC RAM to store r/w data like stack,
266 heap, globals etc. When the ROM is copying the boot
267 image from the boot media into memory, the image must
268 not spill over into this area. This value can be used
269 during compile time to determine the maximum size of a
270 boot image. Once the ROM transfers control to the boot
271 image, this area is no longer used, and can be reclaimed
272 for run time use by the boot image.
Madan Srinivaseba13cd2016-05-19 19:10:43 -0500273endif
Tom Rinid10c0ac2022-03-11 23:07:29 -0500274
275config AM335X_USB0
276 bool "Static mode configuration for USB0 in SPL"
277 depends on AM33XX && SPL_MUSB_NEW && !SPL_OF_CONTROL
278
279choice
280 prompt "USB0 port configuration"
281 depends on AM335X_USB0
282
283config AM335X_USB0_HOST
284 bool "Port is used in host mode"
285
286config AM335X_USB0_PERIPHERAL
287 bool "Port is used in peripheral mode"
288
289endchoice
290
291config AM335X_USB1
292 bool "Static mode configuration for USB1 in SPL"
293 depends on AM33XX && SPL_MUSB_NEW && !SPL_OF_CONTROL
294
295choice
296 prompt "USB1 port configuration"
297 depends on AM335X_USB1
298
299config AM335X_USB1_HOST
300 bool "Port is used in host mode"
301
302config AM335X_USB1_PERIPHERAL
303 bool "Port is used in peripheral mode"
304
305endchoice