blob: 46abf070f9d5aefb8a94e7544577641480aef939 [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_ETAMIN
109 bool "Support etamin"
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
Andrew F. Davis817bbee2016-08-30 14:06:20 -0500117config TARGET_PCM051
118 bool "Support pcm051"
119 select DM
Andrew F. Davis817bbee2016-08-30 14:06:20 -0500120 select DM_GPIO
Michal Simek84f3dec2018-07-23 15:55:13 +0200121 select DM_SERIAL
Michal Simek2e7c8192018-07-23 15:55:14 +0200122 imply CMD_DM
Andrew F. Davis817bbee2016-08-30 14:06:20 -0500123
Niel Fouried3951852019-06-03 15:31:17 +0200124config TARGET_PHYCORE_AM335X_R2
125 bool "Support phyCORE AM335X R2"
126 select DM
127 select DM_GPIO
128 select DM_SERIAL
129 imply CMD_DM
130
Tom Rini3d46f242017-06-09 16:59:17 -0400131config TARGET_PXM2
132 bool "Support pxm2"
133 select BOARD_LATE_INIT
134 select DM
Tom Rini3d46f242017-06-09 16:59:17 -0400135 select DM_GPIO
Michal Simek84f3dec2018-07-23 15:55:13 +0200136 select DM_SERIAL
Tom Rini29e05952022-06-10 22:59:35 -0400137 select FACTORYSET
Michal Simek2e7c8192018-07-23 15:55:14 +0200138 imply CMD_DM
Tom Rini3d46f242017-06-09 16:59:17 -0400139
140config TARGET_RASTABAN
141 bool "Support rastaban"
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_RUT
150 bool "Support rut"
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_THUBAN
159 bool "Support thuban"
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
Felix Brack1ba8c9e2018-01-23 18:27:22 +0100167config TARGET_PDU001
168 bool "Support PDU001"
169 select DM
170 select DM_SERIAL
Felix Brack813742e2018-12-07 15:01:55 +0100171 imply SPL_SEPARATE_BSS
Michal Simek2e7c8192018-07-23 15:55:14 +0200172 imply CMD_DM
Felix Brack1ba8c9e2018-01-23 18:27:22 +0100173 help
174 Support for PDU001 platform developed by EETS GmbH.
175 The PDU001 is a processor and display unit developed around
176 the Computing-Module m2 from bytes at work AG.
177
Andrew F. Davis817bbee2016-08-30 14:06:20 -0500178endchoice
179
Tom Rinidc776902022-03-23 17:20:07 -0400180config CLOCK_SYNTHESIZER
181 bool "CDCE913 and CDCEL913 clock synthesizer support"
182 help
183 The CDCE913 and CDCEL913 devices are modular PLL-based, low cost,
184 high performance , programmable clock synthesizers. They generate
185 up to 3 output clocks from a single input frequency. Each output can
186 be programmed for any clock-frequency.
187
188config CLK_SYNTHESIZER_I2C_ADDR
189 hex "Clock synthesizer i2c bus address"
190 depends on CLOCK_SYNTHESIZER
191 default 0x65
192
Andrew F. Davis817bbee2016-08-30 14:06:20 -0500193endif
194
Madan Srinivaseba13cd2016-05-19 19:10:43 -0500195if AM43XX
Simon Glassc5ec6362016-09-12 23:18:37 -0600196
Tom Rini3d46f242017-06-09 16:59:17 -0400197choice
198 prompt "AM43xx board select"
199
Madan Srinivaseba13cd2016-05-19 19:10:43 -0500200config TARGET_AM43XX_EVM
201 bool "Support am43xx_evm"
Tom Rini22d567e2017-01-22 19:43:11 -0500202 select BOARD_LATE_INIT
Madan Srinivaseba13cd2016-05-19 19:10:43 -0500203 select TI_I2C_BOARD_DETECT
Lokesh Vutla493368d2017-02-21 11:40:43 +0530204 imply DM_I2C
205 imply DM_SPI
206 imply DM_SPI_FLASH
Tom Riniddb1ec12024-01-10 13:46:10 -0500207 imply MTD
Tom Rini3b235102017-03-03 15:33:31 -0500208 imply SPL_ENV_SUPPORT
Tien Fong Chee6091dd12019-01-23 14:20:05 +0800209 imply SPL_FS_EXT4
Tien Fong Chee6fd0a712019-01-23 14:20:03 +0800210 imply SPL_FS_FAT
Simon Glass035939e2021-07-10 21:14:30 -0600211 imply SPL_GPIO
Simon Glassbccfc2e2021-07-10 21:14:36 -0600212 imply SPL_I2C
Tom Rini3b235102017-03-03 15:33:31 -0500213 imply SPL_LIBCOMMON_SUPPORT
214 imply SPL_LIBDISK_SUPPORT
215 imply SPL_LIBGENERIC_SUPPORT
Simon Glassb58bfe02021-08-08 12:20:09 -0600216 imply SPL_MMC
Tom Rini3b235102017-03-03 15:33:31 -0500217 imply SPL_NAND_SUPPORT
Simon Glasse91ac4c2021-07-10 21:14:24 -0600218 imply SPL_POWER
Simon Glassf4d60392021-08-08 12:20:12 -0600219 imply SPL_SERIAL
Simon Glass1ba1d4e2021-07-10 21:14:28 -0600220 imply SPL_WATCHDOG
Tom Rini3b235102017-03-03 15:33:31 -0500221 imply SPL_YMODEM_SUPPORT
Madan Srinivaseba13cd2016-05-19 19:10:43 -0500222 help
223 This option specifies support for the AM43xx
224 GP and HS EVM development platforms.The AM437x
225 GP EVM is a standalone test, development, and
226 evaluation module system that enables developers
227 to write software and develop hardware around
228 an AM43xx processor subsystem.
Tom Rini3d46f242017-06-09 16:59:17 -0400229
230config TARGET_CM_T43
231 bool "Support cm_t43"
232
233endchoice
234
Tero Kristo5d6acae2018-03-17 13:32:52 +0530235config SPL_RTC_DDR_SUPPORT
236 bool
237 depends on SPL
238 prompt "Enable RTC-DDR ONLY Support"
239 help
240 If you want RTC-DDR ONLY Support, say Y. RTC Only with DDR in
241 self-refresh mode is a special power saving mode where in all
242 the other voltages are turned off apart from the RTC domain and DDR.
243 So only RTC is alive and ticking and one can program it to wake
244 up after a predetermined period. Once RTC alarm fires, the PMIC
245 powers up all the voltage domains. U-Boot takes a special path
246 as the DDR has contents is in self-refresh and restore path is
247 followed.
248
Andrew F. Davis817bbee2016-08-30 14:06:20 -0500249endif
Madan Srinivaseba13cd2016-05-19 19:10:43 -0500250
Andrew F. Davis817bbee2016-08-30 14:06:20 -0500251if AM43XX || AM33XX
Madan Srinivasfb59e8e2016-05-19 19:10:42 -0500252config PUB_ROM_DATA_SIZE
253 hex "Size in bytes of the L3 SRAM reserved by ROM to store data"
Michal Simek84f3dec2018-07-23 15:55:13 +0200254 default 0x8400
Madan Srinivasfb59e8e2016-05-19 19:10:42 -0500255 help
256 During the device boot, the public ROM uses the top of
257 the public L3 OCMC RAM to store r/w data like stack,
258 heap, globals etc. When the ROM is copying the boot
259 image from the boot media into memory, the image must
260 not spill over into this area. This value can be used
261 during compile time to determine the maximum size of a
262 boot image. Once the ROM transfers control to the boot
263 image, this area is no longer used, and can be reclaimed
264 for run time use by the boot image.
Madan Srinivaseba13cd2016-05-19 19:10:43 -0500265endif
Tom Rinid10c0ac2022-03-11 23:07:29 -0500266
267config AM335X_USB0
268 bool "Static mode configuration for USB0 in SPL"
269 depends on AM33XX && SPL_MUSB_NEW && !SPL_OF_CONTROL
270
271choice
272 prompt "USB0 port configuration"
273 depends on AM335X_USB0
274
275config AM335X_USB0_HOST
276 bool "Port is used in host mode"
277
278config AM335X_USB0_PERIPHERAL
279 bool "Port is used in peripheral mode"
280
281endchoice
282
283config AM335X_USB1
284 bool "Static mode configuration for USB1 in SPL"
285 depends on AM33XX && SPL_MUSB_NEW && !SPL_OF_CONTROL
286
287choice
288 prompt "USB1 port configuration"
289 depends on AM335X_USB1
290
291config AM335X_USB1_HOST
292 bool "Port is used in host mode"
293
294config AM335X_USB1_PERIPHERAL
295 bool "Port is used in peripheral mode"
296
297endchoice