blob: 46d4c1efa50c53cc236bd4e0a11067e8ef762e9e [file] [log] [blame]
Masahiro Yamadadd840582014-07-30 14:08:14 +09001menu "ARM architecture"
2 depends on ARM
3
4config SYS_ARCH
Masahiro Yamadadd840582014-07-30 14:08:14 +09005 default "arm"
6
Masahiro Yamada016a9542014-09-14 03:01:51 +09007config ARM64
8 bool
Masahiro Yamadabb6b1422016-07-25 19:56:03 +09009 select PHYS_64BIT
Tom Rini067716b2016-08-22 08:22:17 -040010 select SYS_CACHE_SHIFT_6
Sean Anderson1dd56db2022-04-12 10:59:04 -040011 imply SPL_SEPARATE_BSS
Masahiro Yamada016a9542014-09-14 03:01:51 +090012
Marek Vasut270f8712021-08-30 15:05:23 +020013config ARM64_CRC32
14 bool "Enable support for CRC32 instruction"
15 depends on ARM64
16 default y
17 help
18 ARMv8 implements dedicated crc32 instruction for crc32 calculation.
19 This is faster than software crc32 calculation. This instruction may
20 not be present on all ARMv8.0, but is always present on ARMv8.1 and
21 newer.
22
Peng Fanbf8c4ce2022-04-13 17:47:18 +080023config COUNTER_FREQUENCY
24 int "Timer clock frequency"
25 depends on ARM64 || CPU_V7A
26 default 0
27 help
28 For platforms with ARMv8-A and ARMv7-A which features a system
29 counter, those platforms needs software to program the counter
30 frequency. Setup time clock frequency for certain platform.
31 0 means no need to configure the system counter frequency.
32 For platforms needs the frequency set in U-Boot with a
33 pre-defined value, should have the macro defined as a non-zero value.
34
Stephen Warren49e93872017-11-02 18:11:27 -060035config POSITION_INDEPENDENT
36 bool "Generate position-independent pre-relocation code"
Chia-Wei Wangcd82f192021-08-03 10:50:10 +080037 depends on ARM64 || CPU_V7A
Stephen Warren49e93872017-11-02 18:11:27 -060038 help
39 U-Boot expects to be linked to a specific hard-coded address, and to
40 be loaded to and run from that address. This option lifts that
Edgar E. Iglesias11f4fbf2020-09-09 19:07:24 +020041 restriction, thus allowing the code to be loaded to and executed from
42 almost any 4K aligned address. This logic relies on the relocation
Robert P. J. Daye852b302019-12-25 06:34:07 -050043 information that is embedded in the binary to support U-Boot
Stephen Warren49e93872017-11-02 18:11:27 -060044 relocating itself to the top-of-RAM later during execution.
Stephen Warrene6c90442017-12-19 18:30:36 -070045
Masahiro Yamada382de4a2019-06-26 13:51:46 +090046config INIT_SP_RELATIVE
47 bool "Specify the early stack pointer relative to the .bss section"
Chia-Wei Wangaa29b212021-08-03 10:50:09 +080048 depends on ARM64
Andre Przywaraf5cb6c32020-09-30 17:39:18 +010049 default n if ARCH_QEMU
Andre Przywara12650e42020-09-30 17:39:15 +010050 default y if POSITION_INDEPENDENT
Stephen Warrene6c90442017-12-19 18:30:36 -070051 help
52 U-Boot typically uses a hard-coded value for the stack pointer
Masahiro Yamada382de4a2019-06-26 13:51:46 +090053 before relocation. Enable this option to instead calculate the
Stephen Warrene6c90442017-12-19 18:30:36 -070054 initial SP at run-time. This is useful to avoid hard-coding addresses
Robert P. J. Daye852b302019-12-25 06:34:07 -050055 into U-Boot, so that it can be loaded and executed at arbitrary
Masahiro Yamada382de4a2019-06-26 13:51:46 +090056 addresses and thus avoid using arbitrary addresses at runtime.
57
58 If this option is enabled, the early stack pointer is set to
59 &_bss_start with a offset value added. The offset is specified by
60 SYS_INIT_SP_BSS_OFFSET.
61
62config SYS_INIT_SP_BSS_OFFSET
63 int "Early stack offset from the .bss base address"
Chia-Wei Wangaa29b212021-08-03 10:50:09 +080064 depends on ARM64
Masahiro Yamada382de4a2019-06-26 13:51:46 +090065 depends on INIT_SP_RELATIVE
66 default 524288
67 help
68 This option's value is the offset added to &_bss_start in order to
Stephen Warrene6c90442017-12-19 18:30:36 -070069 calculate the stack pointer. This offset should be large enough so
70 that the early malloc region, global data (gd), and early stack usage
71 do not overlap any appended DTB.
Stephen Warren8163faf2018-01-03 14:31:51 -070072
Pali Rohár372779a2022-04-06 16:20:18 +020073config SPL_SYS_NO_VECTOR_TABLE
74 depends on SPL
75 bool
76
Stephen Warren8163faf2018-01-03 14:31:51 -070077config LINUX_KERNEL_IMAGE_HEADER
Chia-Wei Wangaa29b212021-08-03 10:50:09 +080078 depends on ARM64
Stephen Warren8163faf2018-01-03 14:31:51 -070079 bool
80 help
81 Place a Linux kernel image header at the start of the U-Boot binary.
82 The format of the header is described in the Linux kernel source at
83 Documentation/arm64/booting.txt. This feature is useful since the
84 image header reports the amount of memory (BSS and similar) that
85 U-Boot needs to use, but which isn't part of the binary.
86
Stephen Warren8163faf2018-01-03 14:31:51 -070087config LNX_KRNL_IMG_TEXT_OFFSET_BASE
Chia-Wei Wangaa29b212021-08-03 10:50:09 +080088 depends on LINUX_KERNEL_IMAGE_HEADER
Stephen Warren8163faf2018-01-03 14:31:51 -070089 hex
90 help
91 The value subtracted from CONFIG_SYS_TEXT_BASE to calculate the
Robert P. J. Daye852b302019-12-25 06:34:07 -050092 TEXT_OFFSET value written to the Linux kernel image header.
Stephen Warren49e93872017-11-02 18:11:27 -060093
Tom Rini5afdcca2021-08-19 14:19:39 -040094config GICV2
95 bool
96
97config GICV3
98 bool
99
Bharat Kumar Reddy Gooty0bc43562019-12-16 09:09:43 -0800100config GIC_V3_ITS
101 bool "ARM GICV3 ITS"
Wasim Khan504f8642021-03-08 16:48:14 +0100102 select IRQ
Bharat Kumar Reddy Gooty0bc43562019-12-16 09:09:43 -0800103 help
104 ARM GICV3 Interrupt translation service (ITS).
105 Basic support for programming locality specific peripheral
106 interrupts (LPI) configuration tables and enable LPI tables.
107 LPI configuration table can be used by u-boot or Linux.
108 ARM GICV3 has limitation, once the LPI table is enabled, LPI
109 configuration table can not be re-programmed, unless GICV3 reset.
110
Stephen Warren49e93872017-11-02 18:11:27 -0600111config STATIC_RELA
112 bool
Andre Przywaraeabc0902020-09-30 17:39:13 +0100113 default y if ARM64
Stephen Warren49e93872017-11-02 18:11:27 -0600114
Lokesh Vutla37217f02016-03-24 16:02:00 +0530115config DMA_ADDR_T_64BIT
116 bool
117 default y if ARM64
118
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100119config HAS_VBAR
Tom Rinie009bfa2016-08-22 08:22:18 -0400120 bool
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100121
Albert ARIBAUD62e92072015-10-23 18:06:40 +0200122config HAS_THUMB2
Tom Rinie009bfa2016-08-22 08:22:18 -0400123 bool
Albert ARIBAUD62e92072015-10-23 18:06:40 +0200124
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900125config GPIO_EXTRA_HEADER
126 bool
127
Phil Edworthy111a6af2017-06-01 07:33:28 +0100128# Used for compatibility with asm files copied from the kernel
129config ARM_ASM_UNIFIED
130 bool
131 default y
132
133# Used for compatibility with asm files copied from the kernel
134config THUMB2_KERNEL
135 bool
136
Trevor Woernera0aba8a2019-05-03 09:40:59 -0400137config SYS_ICACHE_OFF
138 bool "Do not enable icache"
Trevor Woernera0aba8a2019-05-03 09:40:59 -0400139 help
140 Do not enable instruction cache in U-Boot.
141
Trevor Woerner10015022019-05-03 09:41:00 -0400142config SPL_SYS_ICACHE_OFF
143 bool "Do not enable icache in SPL"
144 depends on SPL
145 default SYS_ICACHE_OFF
146 help
147 Do not enable instruction cache in SPL.
148
Trevor Woernera0aba8a2019-05-03 09:40:59 -0400149config SYS_DCACHE_OFF
150 bool "Do not enable dcache"
Trevor Woernera0aba8a2019-05-03 09:40:59 -0400151 help
152 Do not enable data cache in U-Boot.
153
Trevor Woerner10015022019-05-03 09:41:00 -0400154config SPL_SYS_DCACHE_OFF
155 bool "Do not enable dcache in SPL"
156 depends on SPL
157 default SYS_DCACHE_OFF
158 help
159 Do not enable data cache in SPL.
160
Lokesh Vutlaf4bcd762018-04-26 18:21:28 +0530161config SYS_ARM_CACHE_CP15
162 bool "CP15 based cache enabling support"
163 help
164 Select this if your processor suports enabling caches by using
165 CP15 registers.
166
Lokesh Vutla7240b802018-04-26 18:21:27 +0530167config SYS_ARM_MMU
168 bool "MMU-based Paged Memory Management Support"
Lokesh Vutlaf4bcd762018-04-26 18:21:28 +0530169 select SYS_ARM_CACHE_CP15
Lokesh Vutla7240b802018-04-26 18:21:27 +0530170 help
171 Select if you want MMU-based virtualised addressing space
Robert P. J. Daye852b302019-12-25 06:34:07 -0500172 support via paged memory management.
Lokesh Vutla7240b802018-04-26 18:21:27 +0530173
Lokesh Vutlaf2ef2042018-04-26 18:21:30 +0530174config SYS_ARM_MPU
175 bool 'Use the ARM v7 PMSA Compliant MPU'
176 help
177 Some ARM systems without an MMU have instead a Memory Protection
178 Unit (MPU) that defines the type and permissions for regions of
179 memory.
180 If your CPU has an MPU then you should choose 'y' here unless you
181 know that you do not want to use the MPU.
182
Tom Rini8dda2e22017-03-07 07:13:42 -0500183# If set, the workarounds for these ARM errata are applied early during U-Boot
184# startup. Note that in general these options force the workarounds to be
185# applied; no CPU-type/version detection exists, unlike the similar options in
186# the Linux kernel. Do not set these options unless they apply! Also note that
Robert P. J. Daye852b302019-12-25 06:34:07 -0500187# the following can be machine-specific errata. These do have ability to
188# provide rudimentary version and machine-specific checks, but expect no
Tom Rini8dda2e22017-03-07 07:13:42 -0500189# product checks:
190# CONFIG_ARM_ERRATA_430973
191# CONFIG_ARM_ERRATA_454179
192# CONFIG_ARM_ERRATA_621766
193# CONFIG_ARM_ERRATA_798870
194# CONFIG_ARM_ERRATA_801819
Nishanth Menon7b37a9c2018-06-12 15:24:08 -0500195# CONFIG_ARM_CORTEX_A8_CVE_2017_5715
Nishanth Menonc2ca3fd2018-06-12 15:24:09 -0500196# CONFIG_ARM_CORTEX_A15_CVE_2017_5715
Nishanth Menon7b37a9c2018-06-12 15:24:08 -0500197
Tom Rini8dda2e22017-03-07 07:13:42 -0500198config ARM_ERRATA_430973
199 bool
200
201config ARM_ERRATA_454179
202 bool
203
204config ARM_ERRATA_621766
205 bool
206
207config ARM_ERRATA_716044
208 bool
209
Siarhei Siamashka19a75b82017-03-06 03:16:53 +0200210config ARM_ERRATA_725233
211 bool
212
Tom Rini8dda2e22017-03-07 07:13:42 -0500213config ARM_ERRATA_742230
214 bool
215
216config ARM_ERRATA_743622
217 bool
218
219config ARM_ERRATA_751472
220 bool
221
222config ARM_ERRATA_761320
223 bool
224
225config ARM_ERRATA_773022
226 bool
227
228config ARM_ERRATA_774769
229 bool
230
231config ARM_ERRATA_794072
232 bool
233
234config ARM_ERRATA_798870
235 bool
236
237config ARM_ERRATA_801819
238 bool
239
240config ARM_ERRATA_826974
241 bool
242
243config ARM_ERRATA_828024
244 bool
245
246config ARM_ERRATA_829520
247 bool
248
249config ARM_ERRATA_833069
250 bool
251
252config ARM_ERRATA_833471
253 bool
254
Peng Fan11d94312017-08-08 13:34:52 +0800255config ARM_ERRATA_845369
Michal Simek6e7bdde2018-07-23 15:55:12 +0200256 bool
Peng Fan11d94312017-08-08 13:34:52 +0800257
Nisal Menuka87763502017-04-26 16:18:01 -0500258config ARM_ERRATA_852421
259 bool
260
261config ARM_ERRATA_852423
262 bool
263
Alison Wangab0ab542017-12-28 13:00:55 +0800264config ARM_ERRATA_855873
265 bool
266
Nishanth Menon7b37a9c2018-06-12 15:24:08 -0500267config ARM_CORTEX_A8_CVE_2017_5715
268 bool
269
Nishanth Menonc2ca3fd2018-06-12 15:24:09 -0500270config ARM_CORTEX_A15_CVE_2017_5715
271 bool
272
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100273config CPU_ARM720T
Tom Rinie009bfa2016-08-22 08:22:18 -0400274 bool
Tom Rini067716b2016-08-22 08:22:17 -0400275 select SYS_CACHE_SHIFT_5
Lokesh Vutla7240b802018-04-26 18:21:27 +0530276 imply SYS_ARM_MMU
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100277
278config CPU_ARM920T
Tom Rinie009bfa2016-08-22 08:22:18 -0400279 bool
Tom Rini067716b2016-08-22 08:22:17 -0400280 select SYS_CACHE_SHIFT_5
Lokesh Vutla7240b802018-04-26 18:21:27 +0530281 imply SYS_ARM_MMU
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100282
283config CPU_ARM926EJS
Tom Rinie009bfa2016-08-22 08:22:18 -0400284 bool
Tom Rini067716b2016-08-22 08:22:17 -0400285 select SYS_CACHE_SHIFT_5
Lokesh Vutla7240b802018-04-26 18:21:27 +0530286 imply SYS_ARM_MMU
Sean Anderson1dd56db2022-04-12 10:59:04 -0400287 imply SPL_SEPARATE_BSS
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100288
289config CPU_ARM946ES
Tom Rinie009bfa2016-08-22 08:22:18 -0400290 bool
Tom Rini067716b2016-08-22 08:22:17 -0400291 select SYS_CACHE_SHIFT_5
Lokesh Vutla7240b802018-04-26 18:21:27 +0530292 imply SYS_ARM_MMU
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100293
294config CPU_ARM1136
Tom Rinie009bfa2016-08-22 08:22:18 -0400295 bool
Tom Rini067716b2016-08-22 08:22:17 -0400296 select SYS_CACHE_SHIFT_5
Lokesh Vutla7240b802018-04-26 18:21:27 +0530297 imply SYS_ARM_MMU
Sean Anderson1dd56db2022-04-12 10:59:04 -0400298 imply SPL_SEPARATE_BSS
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100299
300config CPU_ARM1176
Tom Rinie009bfa2016-08-22 08:22:18 -0400301 bool
302 select HAS_VBAR
Tom Rini067716b2016-08-22 08:22:17 -0400303 select SYS_CACHE_SHIFT_5
Lokesh Vutla7240b802018-04-26 18:21:27 +0530304 imply SYS_ARM_MMU
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100305
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530306config CPU_V7A
Tom Rinie009bfa2016-08-22 08:22:18 -0400307 bool
Tom Rinie009bfa2016-08-22 08:22:18 -0400308 select HAS_THUMB2
Michal Simek5ed063d2018-07-23 15:55:13 +0200309 select HAS_VBAR
Tom Rini067716b2016-08-22 08:22:17 -0400310 select SYS_CACHE_SHIFT_6
Lokesh Vutla7240b802018-04-26 18:21:27 +0530311 imply SYS_ARM_MMU
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100312
rev13@wp.pl12d8a722015-03-01 12:44:39 +0100313config CPU_V7M
314 bool
Tom Rinie009bfa2016-08-22 08:22:18 -0400315 select HAS_THUMB2
Lokesh Vutlaf2ef2042018-04-26 18:21:30 +0530316 select SYS_ARM_MPU
Michal Simek5ed063d2018-07-23 15:55:13 +0200317 select SYS_CACHE_SHIFT_5
Tom Riniea37f0b2018-05-07 20:46:52 -0400318 select SYS_THUMB_BUILD
Michal Simek5ed063d2018-07-23 15:55:13 +0200319 select THUMB2_KERNEL
rev13@wp.pl12d8a722015-03-01 12:44:39 +0100320
Michal Simek4bbd6b12018-04-26 18:21:29 +0530321config CPU_V7R
322 bool
323 select HAS_THUMB2
Lokesh Vutlaf2ef2042018-04-26 18:21:30 +0530324 select SYS_ARM_CACHE_CP15
Michal Simek5ed063d2018-07-23 15:55:13 +0200325 select SYS_ARM_MPU
326 select SYS_CACHE_SHIFT_6
Michal Simek4bbd6b12018-04-26 18:21:29 +0530327
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100328config CPU_PXA
Tom Rinie009bfa2016-08-22 08:22:18 -0400329 bool
Tom Rini067716b2016-08-22 08:22:17 -0400330 select SYS_CACHE_SHIFT_5
Lokesh Vutla7240b802018-04-26 18:21:27 +0530331 imply SYS_ARM_MMU
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100332
Tom Rini3aca2b62021-12-17 18:08:40 -0500333config CPU_PXA27X
334 bool
335 select CPU_PXA
336
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100337config CPU_SA1100
Tom Rinie009bfa2016-08-22 08:22:18 -0400338 bool
Tom Rini067716b2016-08-22 08:22:17 -0400339 select SYS_CACHE_SHIFT_5
Lokesh Vutla7240b802018-04-26 18:21:27 +0530340 imply SYS_ARM_MMU
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100341
342config SYS_CPU
Tom Rinie009bfa2016-08-22 08:22:18 -0400343 default "arm720t" if CPU_ARM720T
344 default "arm920t" if CPU_ARM920T
345 default "arm926ejs" if CPU_ARM926EJS
346 default "arm946es" if CPU_ARM946ES
347 default "arm1136" if CPU_ARM1136
348 default "arm1176" if CPU_ARM1176
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530349 default "armv7" if CPU_V7A
Michal Simek4bbd6b12018-04-26 18:21:29 +0530350 default "armv7" if CPU_V7R
Tom Rinie009bfa2016-08-22 08:22:18 -0400351 default "armv7m" if CPU_V7M
352 default "pxa" if CPU_PXA
353 default "sa1100" if CPU_SA1100
Masahiro Yamada01541ee2014-11-06 11:39:27 +0900354 default "armv8" if ARM64
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100355
Marek Vasut66020a62016-05-26 18:01:36 +0200356config SYS_ARM_ARCH
357 int
358 default 4 if CPU_ARM720T
359 default 4 if CPU_ARM920T
360 default 5 if CPU_ARM926EJS
361 default 5 if CPU_ARM946ES
362 default 6 if CPU_ARM1136
363 default 6 if CPU_ARM1176
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530364 default 7 if CPU_V7A
Marek Vasut66020a62016-05-26 18:01:36 +0200365 default 7 if CPU_V7M
Michal Simek4bbd6b12018-04-26 18:21:29 +0530366 default 7 if CPU_V7R
Marek Vasut66020a62016-05-26 18:01:36 +0200367 default 5 if CPU_PXA
368 default 4 if CPU_SA1100
369 default 8 if ARM64
370
Patrick Delaunayf8dc7f22020-04-10 16:02:02 +0200371choice
372 prompt "Select the ARM data write cache policy"
373 default SYS_ARM_CACHE_WRITETHROUGH if TARGET_BCMCYGNUS || \
Tom Rinida426462021-02-20 20:05:57 -0500374 CPU_PXA || RZA1
Patrick Delaunayf8dc7f22020-04-10 16:02:02 +0200375 default SYS_ARM_CACHE_WRITEBACK
376
377config SYS_ARM_CACHE_WRITEBACK
378 bool "Write-back (WB)"
379 help
380 A write updates the cache only and marks the cache line as dirty.
381 External memory is updated only when the line is evicted or explicitly
382 cleaned.
383
384config SYS_ARM_CACHE_WRITETHROUGH
385 bool "Write-through (WT)"
386 help
387 A write updates both the cache and the external memory system.
388 This does not mark the cache line as dirty.
389
390config SYS_ARM_CACHE_WRITEALLOC
391 bool "Write allocation (WA)"
392 help
393 A cache line is allocated on a write miss. This means that executing a
394 store instruction on the processor might cause a burst read to occur.
395 There is a linefill to obtain the data for the cache line, before the
396 write is performed.
397endchoice
398
Adam Ford1bf33012019-08-14 08:29:25 -0500399config ARCH_CPU_INIT
400 bool "Enable ARCH_CPU_INIT"
401 help
Robert P. J. Daye852b302019-12-25 06:34:07 -0500402 Some architectures require a call to arch_cpu_init().
Adam Ford1bf33012019-08-14 08:29:25 -0500403 Say Y here to enable it
404
Andre Przywara7842b6a2018-04-12 04:24:46 +0300405config SYS_ARCH_TIMER
406 bool "ARM Generic Timer support"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530407 depends on CPU_V7A || ARM64
Andre Przywara7842b6a2018-04-12 04:24:46 +0300408 default y if ARM64
409 help
410 The ARM Generic Timer (aka arch-timer) provides an architected
411 interface to a timer source on an SoC.
Robert P. J. Daye852b302019-12-25 06:34:07 -0500412 It is mandatory for ARMv8 implementation and widely available
Andre Przywara7842b6a2018-04-12 04:24:46 +0300413 on ARMv7 systems.
414
Masahiro Yamadac54bcf62017-04-14 11:10:23 +0900415config ARM_SMCCC
416 bool "Support for ARM SMC Calling Convention (SMCCC)"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530417 depends on CPU_V7A || ARM64
Masahiro Yamada573a3812017-04-14 11:10:24 +0900418 select ARM_PSCI_FW
Masahiro Yamadac54bcf62017-04-14 11:10:23 +0900419 help
420 Say Y here if you want to enable ARM SMC Calling Convention.
421 This should be enabled if U-Boot needs to communicate with system
422 firmware (for example, PSCI) according to SMCCC.
423
Linus Walleijf91afc42015-01-23 11:50:53 +0100424config SEMIHOSTING
Sean Anderson8e1c9fe2022-03-22 16:59:19 -0400425 bool "Support ARM semihosting"
Linus Walleijf91afc42015-01-23 11:50:53 +0100426 help
Sean Anderson8e1c9fe2022-03-22 16:59:19 -0400427 Semihosting is a method for a target to communicate with a host
428 debugger. It uses special instructions which the debugger will trap
429 on and interpret. This allows U-Boot to read/write files, print to
430 the console, and execute arbitrary commands on the host system.
431
432 Enabling this option will add support for reading and writing files
433 on the host system. If you don't have a debugger attached then trying
434 to do this will likely cause U-Boot to hang. Say 'n' if you are unsure.
435
Sean Anderson385d69d2022-03-22 16:59:30 -0400436config SEMIHOSTING_FALLBACK
437 bool "Recover gracefully when semihosting fails"
438 depends on SEMIHOSTING && ARM64
439 default y
440 help
441 Normally, if U-Boot makes a semihosting call and no debugger is
442 attached, then it will panic due to a synchronous abort
443 exception. This config adds an exception handler which will allow
444 U-Boot to recover. Say 'y' if unsure.
445
Sean Anderson8e1c9fe2022-03-22 16:59:19 -0400446config SPL_SEMIHOSTING
447 bool "Support ARM semihosting in SPL"
448 depends on SPL
449 help
450 Semihosting is a method for a target to communicate with a host
451 debugger. It uses special instructions which the debugger will trap
452 on and interpret. This allows U-Boot to read/write files, print to
453 the console, and execute arbitrary commands on the host system.
454
455 Enabling this option will add support for reading and writing files
456 on the host system. If you don't have a debugger attached then trying
457 to do this will likely cause U-Boot to hang. Say 'n' if you are unsure.
Linus Walleijf91afc42015-01-23 11:50:53 +0100458
Sean Anderson385d69d2022-03-22 16:59:30 -0400459config SPL_SEMIHOSTING_FALLBACK
460 bool "Recover gracefully when semihosting fails in SPL"
461 depends on SPL_SEMIHOSTING && ARM64
462 select ARMV8_SPL_EXCEPTION_VECTORS
463 default y
464 help
465 Normally, if U-Boot makes a semihosting call and no debugger is
466 attached, then it will panic due to a synchronous abort
467 exception. This config adds an exception handler which will allow
468 U-Boot to recover. Say 'y' if unsure.
469
Tom Rini3a649402017-03-18 09:01:44 -0400470config SYS_THUMB_BUILD
471 bool "Build U-Boot using the Thumb instruction set"
472 depends on !ARM64
473 help
474 Use this flag to build U-Boot using the Thumb instruction set for
475 ARM architectures. Thumb instruction set provides better code
476 density. For ARM architectures that support Thumb2 this flag will
477 result in Thumb2 code generated by GCC.
478
479config SPL_SYS_THUMB_BUILD
480 bool "Build SPL using the Thumb instruction set"
481 default y if SYS_THUMB_BUILD
Adam Ford05705562019-08-13 14:32:30 -0500482 depends on !ARM64 && SPL
Tom Rini3a649402017-03-18 09:01:44 -0400483 help
484 Use this flag to build SPL using the Thumb instruction set for
485 ARM architectures. Thumb instruction set provides better code
486 density. For ARM architectures that support Thumb2 this flag will
487 result in Thumb2 code generated by GCC.
488
Kever Yang1e32c512019-04-02 20:41:20 +0800489config TPL_SYS_THUMB_BUILD
490 bool "Build TPL using the Thumb instruction set"
491 default y if SYS_THUMB_BUILD
492 depends on TPL && !ARM64
493 help
Robert P. J. Daye852b302019-12-25 06:34:07 -0500494 Use this flag to build TPL using the Thumb instruction set for
Kever Yang1e32c512019-04-02 20:41:20 +0800495 ARM architectures. Thumb instruction set provides better code
496 density. For ARM architectures that support Thumb2 this flag will
497 result in Thumb2 code generated by GCC.
498
499
Peng Fanf3e9bec2015-08-19 15:48:57 +0800500config SYS_L2CACHE_OFF
501 bool "L2cache off"
502 help
Robert P. J. Daye852b302019-12-25 06:34:07 -0500503 If SoC does not support L2CACHE or one does not want to enable
Peng Fanf3e9bec2015-08-19 15:48:57 +0800504 L2CACHE, choose this option.
505
Andre Przywaracdaa6332016-05-31 10:45:06 -0700506config ENABLE_ARM_SOC_BOOT0_HOOK
507 bool "prepare BOOT0 header"
508 help
509 If the SoC's BOOT0 requires a header area filled with (magic)
Simon Goldschmidt7d531e82018-02-13 13:18:00 +0100510 values, then choose this option, and create a file included as
511 <asm/arch/boot0.h> which contains the required assembler code.
Andre Przywaracdaa6332016-05-31 10:45:06 -0700512
Fabio Estevambe725912016-12-15 19:30:40 -0200513config USE_ARCH_MEMCPY
514 bool "Use an assembly optimized implementation of memcpy"
Stefan Roese4e062fc2021-09-02 17:00:19 +0200515 default y if !ARM64
516 depends on !ARM64 || (ARM64 && (GCC_VERSION >= 90400))
Tom Rini40d55342017-01-12 13:16:02 -0500517 help
518 Enable the generation of an optimized version of memcpy.
Robert P. J. Daye852b302019-12-25 06:34:07 -0500519 Such an implementation may be faster under some conditions
Tom Rini40d55342017-01-12 13:16:02 -0500520 but may increase the binary size.
521
522config SPL_USE_ARCH_MEMCPY
Andy Yanf8136e62017-06-28 16:27:37 +0800523 bool "Use an assembly optimized implementation of memcpy for SPL"
Tom Rini40d55342017-01-12 13:16:02 -0500524 default y if USE_ARCH_MEMCPY
Stefan Roese4e062fc2021-09-02 17:00:19 +0200525 depends on SPL
Fabio Estevambe725912016-12-15 19:30:40 -0200526 help
527 Enable the generation of an optimized version of memcpy.
Robert P. J. Daye852b302019-12-25 06:34:07 -0500528 Such an implementation may be faster under some conditions
Fabio Estevambe725912016-12-15 19:30:40 -0200529 but may increase the binary size.
530
Kever Yang1e32c512019-04-02 20:41:20 +0800531config TPL_USE_ARCH_MEMCPY
532 bool "Use an assembly optimized implementation of memcpy for TPL"
533 default y if USE_ARCH_MEMCPY
Stefan Roese4e062fc2021-09-02 17:00:19 +0200534 depends on TPL
Kever Yang1e32c512019-04-02 20:41:20 +0800535 help
536 Enable the generation of an optimized version of memcpy.
Robert P. J. Daye852b302019-12-25 06:34:07 -0500537 Such an implementation may be faster under some conditions
Kever Yang1e32c512019-04-02 20:41:20 +0800538 but may increase the binary size.
539
Stefan Roese4e062fc2021-09-02 17:00:19 +0200540config USE_ARCH_MEMMOVE
541 bool "Use an assembly optimized implementation of memmove" if !ARM64
542 default USE_ARCH_MEMCPY if ARM64
543 depends on ARM64
544 help
545 Enable the generation of an optimized version of memmove.
546 Such an implementation may be faster under some conditions
547 but may increase the binary size.
548
549config SPL_USE_ARCH_MEMMOVE
550 bool "Use an assembly optimized implementation of memmove for SPL" if !ARM64
551 default SPL_USE_ARCH_MEMCPY if ARM64
552 depends on SPL && ARM64
553 help
554 Enable the generation of an optimized version of memmove.
555 Such an implementation may be faster under some conditions
556 but may increase the binary size.
557
558config TPL_USE_ARCH_MEMMOVE
559 bool "Use an assembly optimized implementation of memmove for TPL" if !ARM64
560 default TPL_USE_ARCH_MEMCPY if ARM64
561 depends on TPL && ARM64
562 help
563 Enable the generation of an optimized version of memmove.
564 Such an implementation may be faster under some conditions
565 but may increase the binary size.
566
Fabio Estevambe725912016-12-15 19:30:40 -0200567config USE_ARCH_MEMSET
568 bool "Use an assembly optimized implementation of memset"
Stefan Roese4e062fc2021-09-02 17:00:19 +0200569 default y if !ARM64
570 depends on !ARM64 || (ARM64 && (GCC_VERSION >= 90400))
Tom Rini40d55342017-01-12 13:16:02 -0500571 help
572 Enable the generation of an optimized version of memset.
Robert P. J. Daye852b302019-12-25 06:34:07 -0500573 Such an implementation may be faster under some conditions
Tom Rini40d55342017-01-12 13:16:02 -0500574 but may increase the binary size.
575
576config SPL_USE_ARCH_MEMSET
Andy Yanf8136e62017-06-28 16:27:37 +0800577 bool "Use an assembly optimized implementation of memset for SPL"
Tom Rini40d55342017-01-12 13:16:02 -0500578 default y if USE_ARCH_MEMSET
Stefan Roese4e062fc2021-09-02 17:00:19 +0200579 depends on SPL
Fabio Estevambe725912016-12-15 19:30:40 -0200580 help
581 Enable the generation of an optimized version of memset.
Robert P. J. Daye852b302019-12-25 06:34:07 -0500582 Such an implementation may be faster under some conditions
Fabio Estevambe725912016-12-15 19:30:40 -0200583 but may increase the binary size.
584
Kever Yang1e32c512019-04-02 20:41:20 +0800585config TPL_USE_ARCH_MEMSET
586 bool "Use an assembly optimized implementation of memset for TPL"
587 default y if USE_ARCH_MEMSET
Stefan Roese4e062fc2021-09-02 17:00:19 +0200588 depends on TPL
Kever Yang1e32c512019-04-02 20:41:20 +0800589 help
590 Enable the generation of an optimized version of memset.
Robert P. J. Daye852b302019-12-25 06:34:07 -0500591 Such an implementation may be faster under some conditions
Kever Yang1e32c512019-04-02 20:41:20 +0800592 but may increase the binary size.
593
Alison Wangec6617c2016-11-10 10:49:03 +0800594config ARM64_SUPPORT_AARCH32
595 bool "ARM64 system support AArch32 execution state"
Adam Ford05705562019-08-13 14:32:30 -0500596 depends on ARM64
597 default y if !TARGET_THUNDERX_88XX
Alison Wangec6617c2016-11-10 10:49:03 +0800598 help
599 This ARM64 system supports AArch32 execution state.
600
Masahiro Yamadadd840582014-07-30 14:08:14 +0900601choice
602 prompt "Target select"
Simon Glassb928e652015-08-30 19:19:30 -0600603 default TARGET_HIKEY
Masahiro Yamadadd840582014-07-30 14:08:14 +0900604
Masahiro Yamada4614b892015-02-20 17:04:01 +0900605config ARCH_AT91
606 bool "Atmel AT91"
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900607 select GPIO_EXTRA_HEADER
Tom Rinif58e9462018-05-10 07:15:52 -0400608 select SPL_BOARD_INIT if SPL && !TARGET_SMARTWEB
Gregory CLEMENTc7c120c2020-06-05 10:43:36 +0200609 select SPL_SEPARATE_BSS if SPL
Masahiro Yamadadd840582014-07-30 14:08:14 +0900610
Masahiro Yamada3491ba62014-08-31 07:11:01 +0900611config ARCH_DAVINCI
612 bool "TI DaVinci"
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100613 select CPU_ARM926EJS
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900614 select GPIO_EXTRA_HEADER
Lukasz Majewski56c40462020-06-04 23:11:53 +0800615 select SPL_DM_SPI if SPL
Simon Glass15dc63d2017-08-04 16:34:43 -0600616 imply CMD_SAVES
Masahiro Yamada3491ba62014-08-31 07:11:01 +0900617 help
618 Support for TI's DaVinci platform.
Masahiro Yamadadd840582014-07-30 14:08:14 +0900619
Trevor Woernerbb0fb4c2020-05-06 08:02:40 -0400620config ARCH_KIRKWOOD
Masahiro Yamada47539e22014-08-31 07:10:59 +0900621 bool "Marvell Kirkwood"
Simon Glass45856012017-01-23 13:31:21 -0700622 select ARCH_MISC_INIT
Michal Simek5ed063d2018-07-23 15:55:13 +0200623 select BOARD_EARLY_INIT_F
624 select CPU_ARM926EJS
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900625 select GPIO_EXTRA_HEADER
Masahiro Yamadadd840582014-07-30 14:08:14 +0900626
Stefan Roesec3d89142015-08-25 13:18:38 +0200627config ARCH_MVEBU
Stefan Roese21b29fc2016-05-25 08:13:45 +0200628 bool "Marvell MVEBU family (Armada XP/375/38x/3700/7K/8K)"
Stefan Roese9cffb232015-09-01 11:27:52 +0200629 select DM
Stefan Roesee3b9c982015-11-19 07:46:15 +0100630 select DM_ETH
Stefan Roese1d51ea12015-09-02 08:41:41 +0200631 select DM_SERIAL
Stefan Roese09a54c02015-11-20 13:51:57 +0100632 select DM_SPI
633 select DM_SPI_FLASH
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900634 select GPIO_EXTRA_HEADER
Lukasz Majewski56c40462020-06-04 23:11:53 +0800635 select SPL_DM_SPI if SPL
636 select SPL_DM_SPI_FLASH if SPL
Michal Simek5ed063d2018-07-23 15:55:13 +0200637 select OF_CONTROL
638 select OF_SEPARATE
Adam Fordf1b1f772018-04-15 13:51:26 -0400639 select SPI
Michal Simek08a00cb2018-07-23 15:55:14 +0200640 imply CMD_DM
Stefan Roesea4884832014-10-22 12:13:19 +0200641
Trevor Woernerb16a3312020-05-06 08:02:38 -0400642config ARCH_ORION5X
Masahiro Yamada22f2be72014-08-31 07:11:06 +0900643 bool "Marvell Orion"
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100644 select CPU_ARM926EJS
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900645 select GPIO_EXTRA_HEADER
Sean Anderson1dd56db2022-04-12 10:59:04 -0400646 select SPL_SEPARATE_BSS if SPL
Masahiro Yamadadd840582014-07-30 14:08:14 +0900647
Vikas Manocha9fa32b12014-11-18 10:42:22 -0800648config TARGET_STV0991
649 bool "Support stv0991"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530650 select CPU_V7A
Masahiro Yamadacac0ca72015-03-31 12:48:01 +0900651 select DM
652 select DM_SERIAL
Vikas Manochae67abca2015-07-02 18:29:41 -0700653 select DM_SPI
654 select DM_SPI_FLASH
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900655 select GPIO_EXTRA_HEADER
Michal Simek5ed063d2018-07-23 15:55:13 +0200656 select PL01X_SERIAL
Adam Fordf1b1f772018-04-15 13:51:26 -0400657 select SPI
Vikas Manochae67abca2015-07-02 18:29:41 -0700658 select SPI_FLASH
Michal Simek08a00cb2018-07-23 15:55:14 +0200659 imply CMD_DM
Vikas Manocha9fa32b12014-11-18 10:42:22 -0800660
Masahiro Yamadaddf6bd42015-03-19 19:42:56 +0900661config ARCH_BCM283X
662 bool "Broadcom BCM283X family"
Masahiro Yamada58d423b2015-03-31 12:47:53 +0900663 select DM
Masahiro Yamada58d423b2015-03-31 12:47:53 +0900664 select DM_GPIO
Michal Simek5ed063d2018-07-23 15:55:13 +0200665 select DM_SERIAL
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900666 select GPIO_EXTRA_HEADER
Fabian Vogt76709092016-09-26 14:26:51 +0200667 select OF_CONTROL
Alexander Grafcf2c7782018-01-25 12:05:52 +0100668 select PL01X_SERIAL
Alexander Grafae5326a2018-01-29 13:57:20 +0100669 select SERIAL_SEARCH_ALL
Michal Simek08a00cb2018-07-23 15:55:14 +0200670 imply CMD_DM
Tom Rini91d27a12017-06-02 11:03:50 -0400671 imply FAT_WRITE
Stephen Warren46414292015-02-16 12:16:15 -0700672
Philippe Reynesea1a7de2019-01-31 18:57:35 +0100673config ARCH_BCM63158
674 bool "Broadcom BCM63158 family"
675 select DM
676 select OF_CONTROL
677 imply CMD_DM
678
Philippe Reynes1d5555f2022-02-11 19:18:34 +0100679config ARCH_BCM6753
680 bool "Broadcom BCM6753 family"
681 select CPU_V7A
682 select DM
683 select OF_CONTROL
684 imply CMD_DM
685
Philippe Reynes6454e952020-01-07 20:14:10 +0100686config ARCH_BCM68360
687 bool "Broadcom BCM68360 family"
688 select DM
689 select OF_CONTROL
690 imply CMD_DM
691
Philippe Reynes40b59b02018-10-11 18:31:58 +0200692config ARCH_BCM6858
693 bool "Broadcom BCM6858 family"
694 select DM
695 select OF_CONTROL
696 imply CMD_DM
697
Thomas Fitzsimmons894c3ad2018-06-08 17:59:45 -0400698config ARCH_BCMSTB
699 bool "Broadcom BCM7XXX family"
700 select CPU_V7A
701 select DM
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900702 select GPIO_EXTRA_HEADER
Thomas Fitzsimmons894c3ad2018-06-08 17:59:45 -0400703 select OF_CONTROL
Michal Simek08a00cb2018-07-23 15:55:14 +0200704 imply CMD_DM
Simon Glass239d22c2021-12-16 20:59:36 -0700705 imply OF_HAS_PRIOR_STAGE
Thomas Fitzsimmons894c3ad2018-06-08 17:59:45 -0400706 help
707 This enables support for Broadcom ARM-based set-top box
708 chipsets, including the 7445 family of chips.
709
Kristian Amlie15e30102021-09-07 08:37:51 +0200710config TARGET_VEXPRESS_CA9X4
711 bool "Support vexpress_ca9x4"
712 select CPU_V7A
713 select PL011_SERIAL
714
Steve Raeabb16782014-11-11 11:32:18 -0800715config TARGET_BCMCYGNUS
716 bool "Support bcmcygnus"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530717 select CPU_V7A
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900718 select GPIO_EXTRA_HEADER
Michal Simek5ed063d2018-07-23 15:55:13 +0200719 imply BCM_SF2_ETH
720 imply BCM_SF2_ETH_GMAC
Simon Glass551c3932017-05-17 03:25:25 -0600721 imply CMD_HASH
Michal Simek5ed063d2018-07-23 15:55:13 +0200722 imply CRC32_VERIFY
Tom Rini91d27a12017-06-02 11:03:50 -0400723 imply FAT_WRITE
Daniel Thompson221a9492017-05-19 17:26:58 +0100724 imply HASH_VERIFY
Suji Velupillaic89782d2017-07-10 14:05:41 -0700725 imply NETDEVICES
Steve Rae9dec5272014-08-11 13:58:26 -0700726
Jon Mason274bced2017-03-17 12:12:14 -0400727config TARGET_BCMNS2
728 bool "Support Broadcom Northstar2"
729 select ARM64
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900730 select GPIO_EXTRA_HEADER
Jon Mason274bced2017-03-17 12:12:14 -0400731 help
732 Support for Broadcom Northstar 2 SoCs. NS2 is a quad-core 64-bit
733 ARMv8 Cortex-A57 processors targeting a broad range of networking
Robert P. J. Daye852b302019-12-25 06:34:07 -0500734 applications.
Jon Mason274bced2017-03-17 12:12:14 -0400735
Rayagonda Kokatanur291635a2020-07-15 22:48:55 +0530736config TARGET_BCMNS3
737 bool "Support Broadcom NS3"
738 select ARM64
739 select BOARD_LATE_INIT
740 help
741 Support for Broadcom Northstar 3 SoCs. NS3 is a octo-core 64-bit
742 ARMv8 Cortex-A72 processors targeting a broad range of networking
743 applications.
744
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900745config ARCH_EXYNOS
746 bool "Samsung EXYNOS"
Masahiro Yamada58d423b2015-03-31 12:47:53 +0900747 select DM
Michal Simek5ed063d2018-07-23 15:55:13 +0200748 select DM_GPIO
Simon Glassfc47cf92016-11-23 06:34:40 -0700749 select DM_I2C
Simon Glass5e19f4a2021-07-18 19:02:40 -0600750 select DM_ETH
Michal Simek5ed063d2018-07-23 15:55:13 +0200751 select DM_KEYBOARD
Masahiro Yamada58d423b2015-03-31 12:47:53 +0900752 select DM_SERIAL
753 select DM_SPI
Michal Simek5ed063d2018-07-23 15:55:13 +0200754 select DM_SPI_FLASH
Adam Fordf1b1f772018-04-15 13:51:26 -0400755 select SPI
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900756 select GPIO_EXTRA_HEADER
Guillaume GARDETc96d9032018-11-20 14:15:13 +0100757 imply SYS_THUMB_BUILD
Michal Simek08a00cb2018-07-23 15:55:14 +0200758 imply CMD_DM
Tom Rini91d27a12017-06-02 11:03:50 -0400759 imply FAT_WRITE
Masahiro Yamadadd840582014-07-30 14:08:14 +0900760
Simon Glass311757b2014-10-07 22:01:50 -0600761config ARCH_S5PC1XX
762 bool "Samsung S5PC1XX"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530763 select CPU_V7A
Masahiro Yamada58d423b2015-03-31 12:47:53 +0900764 select DM
Masahiro Yamada58d423b2015-03-31 12:47:53 +0900765 select DM_GPIO
Simon Glass08848e92016-11-23 06:34:41 -0700766 select DM_I2C
Michal Simek5ed063d2018-07-23 15:55:13 +0200767 select DM_SERIAL
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900768 select GPIO_EXTRA_HEADER
Michal Simek08a00cb2018-07-23 15:55:14 +0200769 imply CMD_DM
Simon Glass311757b2014-10-07 22:01:50 -0600770
Masahiro Yamadaef2b6942014-08-31 07:11:07 +0900771config ARCH_HIGHBANK
772 bool "Calxeda Highbank"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530773 select CPU_V7A
Andre Przywara109552d2021-04-12 01:04:51 +0100774 select PL01X_SERIAL
775 select DM
776 select DM_SERIAL
777 select OF_CONTROL
Andre Przywara109552d2021-04-12 01:04:51 +0100778 select CLK
779 select CLK_CCF
780 select AHCI
Andre Przywaradebb07b2021-04-12 01:04:52 +0100781 select DM_ETH
Andre Przywara1238d012021-04-12 01:04:54 +0100782 select PHYS_64BIT
Simon Glass239d22c2021-12-16 20:59:36 -0700783 imply OF_HAS_PRIOR_STAGE
Masahiro Yamadadd840582014-07-30 14:08:14 +0900784
Masahiro Yamada5cbbd9b2015-04-21 21:59:36 +0900785config ARCH_INTEGRATOR
786 bool "ARM Ltd. Integrator family"
Linus Walleij3f394e72015-07-27 11:22:48 +0200787 select DM
788 select DM_SERIAL
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900789 select GPIO_EXTRA_HEADER
Alexander Grafcf2c7782018-01-25 12:05:52 +0100790 select PL01X_SERIAL
Michal Simek08a00cb2018-07-23 15:55:14 +0200791 imply CMD_DM
Masahiro Yamada5cbbd9b2015-04-21 21:59:36 +0900792
Robert Markoe479a7d2020-07-06 10:37:54 +0200793config ARCH_IPQ40XX
794 bool "Qualcomm IPQ40xx SoCs"
795 select CPU_V7A
796 select DM
797 select DM_GPIO
798 select DM_SERIAL
Robert Marko496a3aa2020-09-10 16:00:03 +0200799 select DM_RESET
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900800 select GPIO_EXTRA_HEADER
Robert Marko6ef099b2020-09-10 16:00:01 +0200801 select MSM_SMEM
Robert Markoe479a7d2020-07-06 10:37:54 +0200802 select PINCTRL
803 select CLK
Robert Marko6ef099b2020-09-10 16:00:01 +0200804 select SMEM
Robert Markoe479a7d2020-07-06 10:37:54 +0200805 select OF_CONTROL
806 imply CMD_DM
807
Masahiro Yamadac338f092014-08-31 07:11:05 +0900808config ARCH_KEYSTONE
809 bool "TI Keystone"
Michal Simek5ed063d2018-07-23 15:55:13 +0200810 select CMD_POWEROFF
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530811 select CPU_V7A
Tom Rini222d22a2021-08-21 13:50:16 -0400812 select DDR_SPD
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900813 select GPIO_EXTRA_HEADER
Masahiro Yamada02627352014-10-20 17:45:56 +0900814 select SUPPORT_SPL
Andre Przywara7842b6a2018-04-12 04:24:46 +0300815 select SYS_ARCH_TIMER
Michal Simek5ed063d2018-07-23 15:55:13 +0200816 select SYS_THUMB_BUILD
Tom Rinid56b4b12017-07-22 18:36:16 -0400817 imply CMD_MTDPARTS
Simon Glass15dc63d2017-08-04 16:34:43 -0600818 imply CMD_SAVES
Michal Simek5ed063d2018-07-23 15:55:13 +0200819 imply FIT
Masahiro Yamadadd840582014-07-30 14:08:14 +0900820
Lokesh Vutla586bde92018-08-27 15:57:08 +0530821config ARCH_K3
822 bool "Texas Instruments' K3 Architecture"
823 select SPL
824 select SUPPORT_SPL
825 select FIT
826
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +0900827config ARCH_OMAP2PLUS
828 bool "TI OMAP2+"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530829 select CPU_V7A
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900830 select GPIO_EXTRA_HEADER
Ley Foon Tan0680f1b2017-05-03 17:13:32 +0800831 select SPL_BOARD_INIT if SPL
Tom Riniff6c3122017-09-17 11:44:49 -0400832 select SPL_STACK_R if SPL
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +0900833 select SUPPORT_SPL
Dario Binacchi92cc4e12020-12-30 00:06:29 +0100834 imply TI_SYSC if DM && OF_CONTROL
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +0900835 imply FIT
Simon Glass7fe32b32022-03-04 08:43:05 -0700836 imply DM_EVENT
Sean Anderson1dd56db2022-04-12 10:59:04 -0400837 imply SPL_SEPARATE_BSS
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +0900838
Beniamino Galvanibfcef282016-05-08 08:30:16 +0200839config ARCH_MESON
840 bool "Amlogic Meson"
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900841 select GPIO_EXTRA_HEADER
Masahiro Yamada7325f6c2018-04-25 18:47:52 +0900842 imply DISTRO_DEFAULTS
Heinrich Schuchardt6da749d2020-04-05 12:20:23 +0200843 imply DM_RNG
Beniamino Galvanibfcef282016-05-08 08:30:16 +0200844 help
845 Support for the Meson SoC family developed by Amlogic Inc.,
846 targeted at media players and tablet computers. We currently
847 support the S905 (GXBaby) 64-bit SoC.
848
Ryder Leecbd2fba2018-11-15 10:07:52 +0800849config ARCH_MEDIATEK
850 bool "MediaTek SoCs"
Ryder Leecbd2fba2018-11-15 10:07:52 +0800851 select DM
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900852 select GPIO_EXTRA_HEADER
Ryder Leecbd2fba2018-11-15 10:07:52 +0800853 select OF_CONTROL
854 select SPL_DM if SPL
855 select SPL_LIBCOMMON_SUPPORT if SPL
856 select SPL_LIBGENERIC_SUPPORT if SPL
857 select SPL_OF_CONTROL if SPL
858 select SUPPORT_SPL
859 help
860 Support for the MediaTek SoCs family developed by MediaTek Inc.
861 Please refer to doc/README.mediatek for more information.
862
Vladimir Zapolskiyee54dfe2018-09-17 21:43:03 +0300863config ARCH_LPC32XX
864 bool "NXP LPC32xx platform"
865 select CPU_ARM926EJS
866 select DM
867 select DM_GPIO
868 select DM_SERIAL
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900869 select GPIO_EXTRA_HEADER
Vladimir Zapolskiyee54dfe2018-09-17 21:43:03 +0300870 select SPL_DM if SPL
871 select SUPPORT_SPL
872 imply CMD_DM
873
Peng Fanb2b8b9b2018-10-18 14:28:08 +0200874config ARCH_IMX8
875 bool "NXP i.MX8 platform"
876 select ARM64
Gaurav Jaincb5d0412022-03-24 11:50:33 +0530877 select SYS_FSL_HAS_SEC
878 select SYS_FSL_SEC_COMPAT_4
879 select SYS_FSL_SEC_LE
Peng Fanb2b8b9b2018-10-18 14:28:08 +0200880 select DM
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900881 select GPIO_EXTRA_HEADER
Tom Rini0c2729e2021-08-24 20:40:59 -0400882 select MACH_IMX
Peng Fanb2b8b9b2018-10-18 14:28:08 +0200883 select OF_CONTROL
Ye Li9a273852019-07-12 09:33:52 +0000884 select ENABLE_ARM_SOC_BOOT0_HOOK
Simon Glass7fe32b32022-03-04 08:43:05 -0700885 imply DM_EVENT
Peng Fanb2b8b9b2018-10-18 14:28:08 +0200886
Peng Fancd357ad2018-11-20 10:19:25 +0000887config ARCH_IMX8M
Peng Fan7a7391f2018-01-10 13:20:19 +0800888 bool "NXP i.MX8M platform"
889 select ARM64
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900890 select GPIO_EXTRA_HEADER
Tom Rini0c2729e2021-08-24 20:40:59 -0400891 select MACH_IMX
Gaurav Jain2cddfcb2022-03-24 11:50:27 +0530892 select SYS_FSL_HAS_SEC
Aymen Sghaier940d36d2021-03-25 17:30:25 +0800893 select SYS_FSL_SEC_COMPAT_4
894 select SYS_FSL_SEC_LE
Tom Rini15e7b762021-08-18 23:12:33 -0400895 select SYS_I2C_MXC
Peng Fan7a7391f2018-01-10 13:20:19 +0800896 select DM
897 select SUPPORT_SPL
Michal Simek08a00cb2018-07-23 15:55:14 +0200898 imply CMD_DM
Simon Glass7fe32b32022-03-04 08:43:05 -0700899 imply DM_EVENT
Peng Fan7a7391f2018-01-10 13:20:19 +0800900
Peng Fan19b990b2021-08-07 16:00:30 +0800901config ARCH_IMX8ULP
902 bool "NXP i.MX8ULP platform"
903 select ARM64
904 select DM
Tom Rini0c2729e2021-08-24 20:40:59 -0400905 select MACH_IMX
Peng Fan19b990b2021-08-07 16:00:30 +0800906 select OF_CONTROL
907 select SUPPORT_SPL
908 select GPIO_EXTRA_HEADER
909 imply CMD_DM
Simon Glass7fe32b32022-03-04 08:43:05 -0700910 imply DM_EVENT
Peng Fan19b990b2021-08-07 16:00:30 +0800911
Giulio Benetti77eb9a92020-01-10 15:51:47 +0100912config ARCH_IMXRT
913 bool "NXP i.MXRT platform"
914 select CPU_V7M
915 select DM
916 select DM_SERIAL
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900917 select GPIO_EXTRA_HEADER
Tom Rini0c2729e2021-08-24 20:40:59 -0400918 select MACH_IMX
Giulio Benetti77eb9a92020-01-10 15:51:47 +0100919 select SUPPORT_SPL
920 imply CMD_DM
921
Stefan Agnerc5343d42018-02-06 09:44:34 +0100922config ARCH_MX23
923 bool "NXP i.MX23 family"
924 select CPU_ARM926EJS
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900925 select GPIO_EXTRA_HEADER
Tom Rini0c2729e2021-08-24 20:40:59 -0400926 select MACH_IMX
Stefan Agnerc5343d42018-02-06 09:44:34 +0100927 select PL011_SERIAL
928 select SUPPORT_SPL
929
Stefan Agner25c5b4e2018-02-06 09:44:35 +0100930config ARCH_MX28
931 bool "NXP i.MX28 family"
932 select CPU_ARM926EJS
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900933 select GPIO_EXTRA_HEADER
Stefan Agner25c5b4e2018-02-06 09:44:35 +0100934 select PL011_SERIAL
Tom Rini0c2729e2021-08-24 20:40:59 -0400935 select MACH_IMX
Stefan Agner25c5b4e2018-02-06 09:44:35 +0100936 select SUPPORT_SPL
937
Magnus Lilja3159ec62018-05-11 14:06:54 +0200938config ARCH_MX31
939 bool "NXP i.MX31 family"
940 select CPU_ARM1136
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900941 select GPIO_EXTRA_HEADER
Tom Rini0c2729e2021-08-24 20:40:59 -0400942 select MACH_IMX
Magnus Lilja3159ec62018-05-11 14:06:54 +0200943
Peng Fane90a08d2017-02-22 16:21:39 +0800944config ARCH_MX7ULP
Michal Simek6e7bdde2018-07-23 15:55:12 +0200945 bool "NXP MX7ULP"
Tom Rini6d21dd32022-02-25 11:19:47 -0500946 select BOARD_POSTCLK_INIT
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530947 select CPU_V7A
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900948 select GPIO_EXTRA_HEADER
Tom Rini0c2729e2021-08-24 20:40:59 -0400949 select MACH_IMX
Gaurav Jain75d3a9f2022-03-24 11:50:31 +0530950 select SYS_FSL_HAS_SEC
Franck LENORMANDb5438002021-03-25 17:30:23 +0800951 select SYS_FSL_SEC_COMPAT_4
952 select SYS_FSL_SEC_LE
Peng Fane90a08d2017-02-22 16:21:39 +0800953 select ROM_UNIFIED_SECTIONS
Adam Ford8bbff6a2018-02-04 09:32:43 -0600954 imply MXC_GPIO
Tom Rini44ad4962019-12-03 09:28:03 -0500955 imply SYS_THUMB_BUILD
Peng Fane90a08d2017-02-22 16:21:39 +0800956
Adrian Alonso1a8150d2015-09-03 11:49:28 -0500957config ARCH_MX7
958 bool "Freescale MX7"
Michal Simek5ed063d2018-07-23 15:55:13 +0200959 select ARCH_MISC_INIT
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530960 select CPU_V7A
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900961 select GPIO_EXTRA_HEADER
Tom Rini0c2729e2021-08-24 20:40:59 -0400962 select MACH_IMX
Gaurav Jain4f1375d2022-03-24 11:50:30 +0530963 select SYS_FSL_HAS_SEC
York Sun2c2e2c92016-12-28 08:43:30 -0800964 select SYS_FSL_SEC_COMPAT_4
York Sun90b80382016-12-28 08:43:31 -0800965 select SYS_FSL_SEC_LE
Marek Vasut72041602020-05-22 01:13:00 +0200966 imply BOARD_EARLY_INIT_F
Adam Ford8bbff6a2018-02-04 09:32:43 -0600967 imply MXC_GPIO
Tom Rini44ad4962019-12-03 09:28:03 -0500968 imply SYS_THUMB_BUILD
Adrian Alonso1a8150d2015-09-03 11:49:28 -0500969
Boris BREZILLON89ebc822015-03-04 13:13:03 +0100970config ARCH_MX6
971 bool "Freescale MX6"
Tom Rini6d21dd32022-02-25 11:19:47 -0500972 select BOARD_POSTCLK_INIT
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530973 select CPU_V7A
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900974 select GPIO_EXTRA_HEADER
Tom Rini0c2729e2021-08-24 20:40:59 -0400975 select MACH_IMX
Heinrich Schuchardt90865612020-06-26 19:57:55 +0200976 select SYS_FSL_HAS_SEC
York Sun2c2e2c92016-12-28 08:43:30 -0800977 select SYS_FSL_SEC_COMPAT_4
York Sun90b80382016-12-28 08:43:31 -0800978 select SYS_FSL_SEC_LE
Adam Ford8bbff6a2018-02-04 09:32:43 -0600979 imply MXC_GPIO
Tom Rini44ad4962019-12-03 09:28:03 -0500980 imply SYS_THUMB_BUILD
Sean Anderson1dd56db2022-04-12 10:59:04 -0400981 imply SPL_SEPARATE_BSS
Boris BREZILLON89ebc822015-03-04 13:13:03 +0100982
Philipp Tomsichb5299932017-08-03 23:23:55 +0200983if ARCH_MX6
984config SPL_LDSCRIPT
Michal Simek6e7bdde2018-07-23 15:55:12 +0200985 default "arch/arm/mach-omap2/u-boot-spl.lds"
Philipp Tomsichb5299932017-08-03 23:23:55 +0200986endif
987
Andrej Rosano424ee3d2015-04-08 18:56:29 +0200988config ARCH_MX5
989 bool "Freescale MX5"
Simon Glassa5d67542017-01-23 13:31:20 -0700990 select BOARD_EARLY_INIT_F
Michal Simek5ed063d2018-07-23 15:55:13 +0200991 select CPU_V7A
Masami Hiramatsu7a672052021-06-04 18:43:55 +0900992 select GPIO_EXTRA_HEADER
Tom Rini0c2729e2021-08-24 20:40:59 -0400993 select MACH_IMX
Adam Ford8bbff6a2018-02-04 09:32:43 -0600994 imply MXC_GPIO
Andrej Rosano424ee3d2015-04-08 18:56:29 +0200995
Stefan Bosch95e9a8e2020-07-10 19:07:26 +0200996config ARCH_NEXELL
997 bool "Nexell S5P4418/S5P6818 SoC"
998 select ENABLE_ARM_SOC_BOOT0_HOOK
999 select DM
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001000 select GPIO_EXTRA_HEADER
Stefan Bosch95e9a8e2020-07-10 19:07:26 +02001001
Mark Kettenis003b6572021-10-23 16:58:03 +02001002config ARCH_APPLE
1003 bool "Apple SoCs"
1004 select ARM64
1005 select BLK
Mark Kettenisd520e1f2021-10-23 16:58:04 +02001006 select CLK
Mark Kettenis003b6572021-10-23 16:58:03 +02001007 select CMD_USB
1008 select DM
Mark Kettenisb814e002021-11-02 18:21:57 +01001009 select DM_GPIO
Mark Kettenis003b6572021-10-23 16:58:03 +02001010 select DM_KEYBOARD
Mark Kettenis456305e2022-01-22 20:38:12 +01001011 select DM_MAILBOX
Mark Kettenis81fafbb2022-01-22 20:38:17 +01001012 select DM_RESET
Mark Kettenis003b6572021-10-23 16:58:03 +02001013 select DM_SERIAL
Mark Kettenis7184e292022-01-23 16:48:12 +01001014 select DM_SPI
Mark Kettenis003b6572021-10-23 16:58:03 +02001015 select DM_USB
1016 select DM_VIDEO
Mark Kettenis785cfde2021-10-23 16:58:05 +02001017 select IOMMU
Mark Kettenis003b6572021-10-23 16:58:03 +02001018 select LINUX_KERNEL_IMAGE_HEADER
1019 select OF_CONTROL
Mark Kettenisb814e002021-11-02 18:21:57 +01001020 select PINCTRL
Mark Kettenis003b6572021-10-23 16:58:03 +02001021 select POSITION_INDEPENDENT
Mark Kettenis97187d52022-01-10 20:58:44 +01001022 select POWER_DOMAIN
1023 select REGMAP
Mark Kettenis7184e292022-01-23 16:48:12 +01001024 select SPI
Mark Kettenis97187d52022-01-10 20:58:44 +01001025 select SYSCON
Mark Kettenis9a8e3732022-01-12 19:55:17 +01001026 select SYSRESET
1027 select SYSRESET_WATCHDOG
1028 select SYSRESET_WATCHDOG_AUTO
Mark Kettenis003b6572021-10-23 16:58:03 +02001029 select USB
1030 imply CMD_DM
1031 imply CMD_GPT
1032 imply DISTRO_DEFAULTS
Simon Glass239d22c2021-12-16 20:59:36 -07001033 imply OF_HAS_PRIOR_STAGE
Mark Kettenis003b6572021-10-23 16:58:03 +02001034
Manivannan Sadhasivam97775d22018-06-14 23:38:31 +05301035config ARCH_OWL
1036 bool "Actions Semi OWL SoCs"
Manivannan Sadhasivam97775d22018-06-14 23:38:31 +05301037 select DM
Amit Singh Tomarcd2baaf2020-05-09 19:55:14 +05301038 select DM_ETH
Manivannan Sadhasivam97775d22018-06-14 23:38:31 +05301039 select DM_SERIAL
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001040 select GPIO_EXTRA_HEADER
Amit Singh Tomarb1a6bb32020-04-19 19:28:25 +05301041 select OWL_SERIAL
Amit Singh Tomar8b520ac2020-04-19 19:28:30 +05301042 select CLK
1043 select CLK_OWL
Manivannan Sadhasivam97775d22018-06-14 23:38:31 +05301044 select OF_CONTROL
Tom Rini36c2f022020-05-01 10:52:11 -04001045 select SYS_RELOC_GD_ENV_ADDR
Michal Simek08a00cb2018-07-23 15:55:14 +02001046 imply CMD_DM
Manivannan Sadhasivam97775d22018-06-14 23:38:31 +05301047
Tuomas Tynkkynen32f11822017-09-19 23:18:07 +03001048config ARCH_QEMU
1049 bool "QEMU Virtual Platform"
Tuomas Tynkkynen32f11822017-09-19 23:18:07 +03001050 select DM
1051 select DM_SERIAL
1052 select OF_CONTROL
Alexander Grafcf2c7782018-01-25 12:05:52 +01001053 select PL01X_SERIAL
Michal Simek08a00cb2018-07-23 15:55:14 +02001054 imply CMD_DM
Heinrich Schuchardt684710d2020-09-19 07:55:35 +02001055 imply DM_RNG
AKASHI Takahiroa47c1b52018-09-14 17:06:54 +09001056 imply DM_RTC
1057 imply RTC_PL031
Simon Glass239d22c2021-12-16 20:59:36 -07001058 imply OF_HAS_PRIOR_STAGE
Tuomas Tynkkynen32f11822017-09-19 23:18:07 +03001059
Nobuhiro Iwamatsu1cc95f62015-10-10 05:58:28 +09001060config ARCH_RMOBILE
Masahiro Yamadaf40b9892014-08-31 07:10:57 +09001061 bool "Renesas ARM SoCs"
Nobuhiro Iwamatsu1cc95f62015-10-10 05:58:28 +09001062 select DM
1063 select DM_SERIAL
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001064 select GPIO_EXTRA_HEADER
Biju Das5157b012020-09-22 13:06:49 +01001065 imply BOARD_EARLY_INIT_F
Michal Simek08a00cb2018-07-23 15:55:14 +02001066 imply CMD_DM
Tom Rini91d27a12017-06-02 11:03:50 -04001067 imply FAT_WRITE
Tom Rini3a649402017-03-18 09:01:44 -04001068 imply SYS_THUMB_BUILD
Marek Vasut00e4b572018-12-03 13:28:25 +01001069 imply ARCH_MISC_INIT if DISPLAY_CPUINFO
Masahiro Yamadadd840582014-07-30 14:08:14 +09001070
Mateusz Kulikowski08592132016-03-31 23:12:32 +02001071config ARCH_SNAPDRAGON
1072 bool "Qualcomm Snapdragon SoCs"
1073 select ARM64
1074 select DM
1075 select DM_GPIO
1076 select DM_SERIAL
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001077 select GPIO_EXTRA_HEADER
Michal Simek5ed063d2018-07-23 15:55:13 +02001078 select MSM_SMEM
Mateusz Kulikowski08592132016-03-31 23:12:32 +02001079 select OF_CONTROL
1080 select OF_SEPARATE
Ramon Fried654dd4a2018-07-02 02:57:56 +03001081 select SMEM
Michal Simek5ed063d2018-07-23 15:55:13 +02001082 select SPMI
Michal Simek08a00cb2018-07-23 15:55:14 +02001083 imply CMD_DM
Mateusz Kulikowski08592132016-03-31 23:12:32 +02001084
Masahiro Yamada7865f4b2015-04-21 20:38:20 +09001085config ARCH_SOCFPGA
1086 bool "Altera SOCFPGA family"
Simon Glassa4211922017-01-23 13:31:19 -07001087 select ARCH_EARLY_INIT_R
Marek Vasutd6a61da2018-08-13 20:06:46 +02001088 select ARCH_MISC_INIT if !TARGET_SOCFPGA_ARRIA10
Siew Chin Lim9a5bbdf2021-03-01 20:04:10 +08001089 select ARM64 if TARGET_SOCFPGA_SOC64
Ley Foon Tana6847292018-05-24 00:17:32 +08001090 select CPU_V7A if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
Marek Vasut48befc02018-05-11 22:25:59 +02001091 select DM
Marek Vasut73172752018-05-11 22:26:35 +02001092 select DM_SERIAL
Tom Rini5afdcca2021-08-19 14:19:39 -04001093 select GICV2
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001094 select GPIO_EXTRA_HEADER
Ley Foon Tana6847292018-05-24 00:17:32 +08001095 select ENABLE_ARM_SOC_BOOT0_HOOK if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
Marek Vasut48befc02018-05-11 22:25:59 +02001096 select OF_CONTROL
Ley Foon Tan00057ee2018-07-13 13:40:23 +08001097 select SPL_DM_RESET if DM_RESET
Michal Simek5ed063d2018-07-23 15:55:13 +02001098 select SPL_DM_SERIAL
Marek Vasut48befc02018-05-11 22:25:59 +02001099 select SPL_LIBCOMMON_SUPPORT
Marek Vasut48befc02018-05-11 22:25:59 +02001100 select SPL_LIBGENERIC_SUPPORT
Marek Vasut48befc02018-05-11 22:25:59 +02001101 select SPL_NAND_SUPPORT if SPL_NAND_DENALI
1102 select SPL_OF_CONTROL
Siew Chin Lim9a5bbdf2021-03-01 20:04:10 +08001103 select SPL_SEPARATE_BSS if TARGET_SOCFPGA_SOC64
Simon Glass2a736062021-08-08 12:20:12 -06001104 select SPL_SERIAL
Simon Goldschmidtef72ba02019-07-15 21:47:55 +02001105 select SPL_SYSRESET
Simon Glass078111b2021-07-10 21:14:28 -06001106 select SPL_WATCHDOG
Marek Vasut48befc02018-05-11 22:25:59 +02001107 select SUPPORT_SPL
Marek Vasut73172752018-05-11 22:26:35 +02001108 select SYS_NS16550
Ley Foon Tana6847292018-05-24 00:17:32 +08001109 select SYS_THUMB_BUILD if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
Simon Goldschmidtef72ba02019-07-15 21:47:55 +02001110 select SYSRESET
1111 select SYSRESET_SOCFPGA if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
Siew Chin Lim9a5bbdf2021-03-01 20:04:10 +08001112 select SYSRESET_SOCFPGA_SOC64 if TARGET_SOCFPGA_SOC64
Michal Simek08a00cb2018-07-23 15:55:14 +02001113 imply CMD_DM
Tom Rinid56b4b12017-07-22 18:36:16 -04001114 imply CMD_MTDPARTS
Daniel Thompson221a9492017-05-19 17:26:58 +01001115 imply CRC32_VERIFY
Simon Goldschmidtfef4a542018-02-13 06:34:14 +01001116 imply DM_SPI
1117 imply DM_SPI_FLASH
Tom Rini91d27a12017-06-02 11:03:50 -04001118 imply FAT_WRITE
Simon Goldschmidtaef44282019-04-09 21:02:05 +02001119 imply SPL
1120 imply SPL_DM
Lukasz Majewski56c40462020-06-04 23:11:53 +08001121 imply SPL_DM_SPI
1122 imply SPL_DM_SPI_FLASH
Simon Goldschmidta9024dc2018-11-29 21:17:08 +01001123 imply SPL_LIBDISK_SUPPORT
Simon Glass103c5f12021-08-08 12:20:09 -06001124 imply SPL_MMC
Simon Goldschmidtfef4a542018-02-13 06:34:14 +01001125 imply SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION
Simon Goldschmidtf48db4e2018-10-30 20:21:49 +01001126 imply SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION_TYPE
Simon Goldschmidta9024dc2018-11-29 21:17:08 +01001127 imply SPL_SPI_FLASH_SUPPORT
Simon Glassea2ca7e2021-08-08 12:20:14 -06001128 imply SPL_SPI
Dinh Nguyenaaa64802019-04-23 16:55:06 -05001129 imply L2X0_CACHE
Masahiro Yamadadd840582014-07-30 14:08:14 +09001130
Ian Campbell2c7e3b92014-10-24 21:20:44 +01001131config ARCH_SUNXI
1132 bool "Support sunxi (Allwinner) SoCs"
Masahiro Yamadad6a0c782017-10-17 13:42:44 +09001133 select BINMAN
Hans de Goede88bb8002016-04-03 09:41:44 +02001134 select CMD_GPIO
Hans de Goede0878a8a2016-05-15 13:51:58 +02001135 select CMD_MMC if MMC
Tom Rinibe5c0602021-07-09 10:11:56 -04001136 select CMD_USB if DISTRO_DEFAULTS && USB_HOST
Jagan Tekie236ff02019-01-11 16:40:20 +05301137 select CLK
Hans de Goedeb6006ba2015-04-15 20:46:48 +02001138 select DM
Tom Rini45368822015-06-30 16:51:15 -04001139 select DM_ETH
Hans de Goede211d57a2015-12-21 20:22:00 +01001140 select DM_GPIO
Samuel Hollandf9437b02021-10-08 00:17:25 -05001141 select DM_I2C if I2C
Andre Przywara81a46c12022-01-11 12:46:02 +00001142 select DM_SPI if SPI
1143 select DM_SPI_FLASH if SPI
Hans de Goede211d57a2015-12-21 20:22:00 +01001144 select DM_KEYBOARD
Jagan Tekibb3362b2019-04-12 16:48:25 +05301145 select DM_MMC if MMC
1146 select DM_SCSI if SCSI
Tom Rini45368822015-06-30 16:51:15 -04001147 select DM_SERIAL
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001148 select GPIO_EXTRA_HEADER
Hans de Goeded75111a2016-03-22 22:51:52 +01001149 select OF_BOARD_SETUP
Hans de Goedeb6006ba2015-04-15 20:46:48 +02001150 select OF_CONTROL
1151 select OF_SEPARATE
Samuel Hollandb799eab2021-08-12 20:09:43 -05001152 select PINCTRL
Tom Rini6f6b7cf2018-03-06 19:02:27 -05001153 select SPECIFY_CONSOLE_INDEX
Samuel Hollanda3010bc2021-08-22 13:23:53 -05001154 select SPL_SEPARATE_BSS if SPL
Tom Riniab43de82017-06-21 07:54:46 -04001155 select SPL_STACK_R if SPL
1156 select SPL_SYS_MALLOC_SIMPLE if SPL
Tom Rini3a649402017-03-18 09:01:44 -04001157 select SPL_SYS_THUMB_BUILD if !ARM64
Andre Przywara10cfbaa2019-06-23 15:09:46 +01001158 select SUNXI_GPIO
Michal Simek5ed063d2018-07-23 15:55:13 +02001159 select SYS_NS16550
Maxime Ripardce2e44d2017-10-19 11:49:29 +02001160 select SYS_THUMB_BUILD if !ARM64
Yann E. MORIN2997ee52016-10-31 22:33:40 +01001161 select USB if DISTRO_DEFAULTS
Tom Rinibe5c0602021-07-09 10:11:56 -04001162 select USB_KEYBOARD if DISTRO_DEFAULTS && USB_HOST
1163 select USB_STORAGE if DISTRO_DEFAULTS && USB_HOST
Simon Glass27084c02019-09-25 08:56:27 -06001164 select SPL_USE_TINY_PRINTF
Andre Przywara48313fe2020-02-20 17:51:14 +00001165 select USE_PREBOOT
1166 select SYS_RELOC_GD_ENV_ADDR
Andy Shevchenko92600ed2020-12-08 17:45:31 +02001167 imply BOARD_LATE_INIT
Michal Simek08a00cb2018-07-23 15:55:14 +02001168 imply CMD_DM
Maxime Riparda12fb0e2017-08-24 11:54:03 +02001169 imply CMD_GPT
Miquel Raynal88718be2019-10-03 19:50:03 +02001170 imply CMD_UBI if MTD_RAW_NAND
Masahiro Yamada7325f6c2018-04-25 18:47:52 +09001171 imply DISTRO_DEFAULTS
Tom Rini91d27a12017-06-02 11:03:50 -04001172 imply FAT_WRITE
Marek Vasut2f13cf32018-10-10 18:27:35 +02001173 imply FIT
Andre Heidereff264d2018-01-16 09:44:22 +01001174 imply OF_LIBFDT_OVERLAY
Masahiro Yamadaaf83a602017-04-28 19:42:19 +09001175 imply PRE_CONSOLE_BUFFER
Simon Glass83061db2021-07-10 21:14:30 -06001176 imply SPL_GPIO
Masahiro Yamadaaf83a602017-04-28 19:42:19 +09001177 imply SPL_LIBCOMMON_SUPPORT
Masahiro Yamadaaf83a602017-04-28 19:42:19 +09001178 imply SPL_LIBGENERIC_SUPPORT
Simon Glass103c5f12021-08-08 12:20:09 -06001179 imply SPL_MMC if MMC
Simon Glass933b2f02021-07-10 21:14:24 -06001180 imply SPL_POWER
Simon Glass2a736062021-08-08 12:20:12 -06001181 imply SPL_SERIAL
Samuel Holland40edc322021-11-03 22:55:16 -05001182 imply SYSRESET
1183 imply SYSRESET_WATCHDOG
1184 imply SYSRESET_WATCHDOG_AUTO
Maxime Ripard654b02b2017-09-07 10:46:24 +02001185 imply USB_GADGET
Samuel Hollandb147bd32021-08-22 13:53:28 -05001186 imply WDT
Chen-Yu Tsai8ebe4f42014-10-22 16:47:44 +08001187
Stephan Gerhold689088f2020-01-04 18:45:17 +01001188config ARCH_U8500
1189 bool "ST-Ericsson U8500 Series"
1190 select CPU_V7A
1191 select DM
1192 select DM_GPIO
1193 select DM_MMC if MMC
1194 select DM_SERIAL
Stephan Gerhold9f78ccf2021-08-07 15:07:19 +02001195 select DM_USB_GADGET if DM_USB
Stephan Gerhold689088f2020-01-04 18:45:17 +01001196 select OF_CONTROL
1197 select SYSRESET
1198 select TIMER
Stephan Gerhold9f78ccf2021-08-07 15:07:19 +02001199 imply AB8500_USB_PHY
Stephan Gerhold689088f2020-01-04 18:45:17 +01001200 imply ARM_PL180_MMCI
Stephan Gerhold9f78ccf2021-08-07 15:07:19 +02001201 imply CLK
1202 imply DM_PMIC
Stephan Gerhold689088f2020-01-04 18:45:17 +01001203 imply DM_RTC
Stephan Gerhold9f78ccf2021-08-07 15:07:19 +02001204 imply NOMADIK_GPIO
Stephan Gerhold689088f2020-01-04 18:45:17 +01001205 imply NOMADIK_MTU_TIMER
Stephan Gerhold9f78ccf2021-08-07 15:07:19 +02001206 imply PHY
Stephan Gerhold689088f2020-01-04 18:45:17 +01001207 imply PL01X_SERIAL
Stephan Gerhold9f78ccf2021-08-07 15:07:19 +02001208 imply PMIC_AB8500
Stephan Gerhold689088f2020-01-04 18:45:17 +01001209 imply RTC_PL031
Stephan Gerhold89568542021-08-07 15:07:24 +02001210 imply SYS_THUMB_BUILD
Stephan Gerhold689088f2020-01-04 18:45:17 +01001211 imply SYSRESET_SYSCON
1212
Michal Simekec48b6c2018-08-22 14:55:27 +02001213config ARCH_VERSAL
1214 bool "Support Xilinx Versal Platform"
1215 select ARM64
1216 select CLK
1217 select DM
Michal Simekfa797152019-01-15 08:52:46 +01001218 select DM_ETH if NET
1219 select DM_MMC if MMC
Michal Simekec48b6c2018-08-22 14:55:27 +02001220 select DM_SERIAL
Tom Rini5afdcca2021-08-19 14:19:39 -04001221 select GICV3
Michal Simekec48b6c2018-08-22 14:55:27 +02001222 select OF_CONTROL
T Karthik Reddy42e20f52021-08-10 06:50:19 -06001223 select SOC_DEVICE
Siva Durga Prasad Paladugubfd092f2019-01-31 17:28:14 +05301224 imply BOARD_LATE_INIT
Michal Simek62b96262020-07-28 12:45:47 +02001225 imply ENV_VARS_UBOOT_RUNTIME_CONFIG
Michal Simekec48b6c2018-08-22 14:55:27 +02001226
Stefan Agner7966b432017-03-13 18:41:36 -07001227config ARCH_VF610
1228 bool "Freescale Vybrid"
Lokesh Vutlaacf15002018-04-26 18:21:26 +05301229 select CPU_V7A
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001230 select GPIO_EXTRA_HEADER
Tom Rini0c2729e2021-08-24 20:40:59 -04001231 select MACH_IMX
York Sunc01e4a12016-12-28 08:43:42 -08001232 select SYS_FSL_ERRATUM_ESDHC111
Tom Rinid56b4b12017-07-22 18:36:16 -04001233 imply CMD_MTDPARTS
Miquel Raynal88718be2019-10-03 19:50:03 +02001234 imply MTD_RAW_NAND
Masahiro Yamadadd840582014-07-30 14:08:14 +09001235
Masahiro Yamada5ca269a2015-03-16 16:43:24 +09001236config ARCH_ZYNQ
Michal Simekb8d44972017-11-23 08:25:41 +01001237 bool "Xilinx Zynq based platform"
Michal Simek5ed063d2018-07-23 15:55:13 +02001238 select CLK
1239 select CLK_ZYNQ
1240 select CPU_V7A
Michal Simek05f0f262022-02-17 14:28:41 +01001241 select DEBUG_UART_BOARD_INIT if SPL && DEBUG_UART
Masahiro Yamada8981f052015-03-31 12:47:55 +09001242 select DM
Michal Simekc4a142f2018-01-09 14:49:28 +01001243 select DM_ETH if NET
Michal Simekc4a142f2018-01-09 14:49:28 +01001244 select DM_MMC if MMC
Simon Glass42800ff2015-10-17 19:41:27 -06001245 select DM_SERIAL
Michal Simek5ed063d2018-07-23 15:55:13 +02001246 select DM_SPI
Jagan Teki9f7a4502015-06-27 00:51:32 +05301247 select DM_SPI_FLASH
Michal Simek5ed063d2018-07-23 15:55:13 +02001248 select OF_CONTROL
Adam Fordf1b1f772018-04-15 13:51:26 -04001249 select SPI
Michal Simek5ed063d2018-07-23 15:55:13 +02001250 select SPL_BOARD_INIT if SPL
1251 select SPL_CLK if SPL
1252 select SPL_DM if SPL
Lukasz Majewski56c40462020-06-04 23:11:53 +08001253 select SPL_DM_SPI if SPL
1254 select SPL_DM_SPI_FLASH if SPL
Michal Simek5ed063d2018-07-23 15:55:13 +02001255 select SPL_OF_CONTROL if SPL
1256 select SPL_SEPARATE_BSS if SPL
1257 select SUPPORT_SPL
Michal Simek4aba5fb2018-01-17 10:56:22 -03001258 imply ARCH_EARLY_INIT_R
Michal Simek8eb55e12018-08-20 08:24:14 +02001259 imply BOARD_LATE_INIT
Michal Simek5ed063d2018-07-23 15:55:13 +02001260 imply CMD_CLK
Michal Simek08a00cb2018-07-23 15:55:14 +02001261 imply CMD_DM
Michal Simek5ed063d2018-07-23 15:55:13 +02001262 imply CMD_SPL
Michal Simek62b96262020-07-28 12:45:47 +02001263 imply ENV_VARS_UBOOT_RUNTIME_CONFIG
Michal Simek5ed063d2018-07-23 15:55:13 +02001264 imply FAT_WRITE
Masahiro Yamadadd840582014-07-30 14:08:14 +09001265
Michal Simek1d6c54e2018-04-12 17:39:46 +02001266config ARCH_ZYNQMP_R5
1267 bool "Xilinx ZynqMP R5 based platform"
Michal Simek5ed063d2018-07-23 15:55:13 +02001268 select CLK
Michal Simek1d6c54e2018-04-12 17:39:46 +02001269 select CPU_V7R
Michal Simek1d6c54e2018-04-12 17:39:46 +02001270 select DM
Michal Simek6f96fb52019-01-15 09:06:46 +01001271 select DM_ETH if NET
1272 select DM_MMC if MMC
Michal Simek1d6c54e2018-04-12 17:39:46 +02001273 select DM_SERIAL
Michal Simek5ed063d2018-07-23 15:55:13 +02001274 select OF_CONTROL
Michal Simek08a00cb2018-07-23 15:55:14 +02001275 imply CMD_DM
Jean-Jacques Hiblot687ab542018-11-29 10:52:42 +01001276 imply DM_USB_GADGET
Michal Simek1d6c54e2018-04-12 17:39:46 +02001277
Siva Durga Prasad Paladugu0b54a9d2015-06-10 15:50:57 +05301278config ARCH_ZYNQMP
Michal Simekb8d44972017-11-23 08:25:41 +01001279 bool "Xilinx ZynqMP based platform"
Michal Simek84c72042015-01-15 10:01:51 +01001280 select ARM64
Michal Simek1f297382016-07-14 15:07:54 +02001281 select CLK
Michal Simek5ed063d2018-07-23 15:55:13 +02001282 select DM
Michal Simek11381fb2022-02-17 14:28:42 +01001283 select DEBUG_UART_BOARD_INIT if SPL && DEBUG_UART
Michal Simekfb693102019-01-15 08:52:51 +01001284 select DM_ETH if NET
Ibai Erkiaga1327d162019-09-27 12:51:41 +02001285 select DM_MAILBOX
Michal Simekfb693102019-01-15 08:52:51 +01001286 select DM_MMC if MMC
Michal Simek5ed063d2018-07-23 15:55:13 +02001287 select DM_SERIAL
Michal Simek088f83e2019-01-15 10:50:39 +01001288 select DM_SPI if SPI
1289 select DM_SPI_FLASH if DM_SPI
Michal Simek71efd452022-01-14 13:08:42 +01001290 imply FIRMWARE
Tom Rini5afdcca2021-08-19 14:19:39 -04001291 select GICV2
Michal Simek5ed063d2018-07-23 15:55:13 +02001292 select OF_CONTROL
Ley Foon Tan0680f1b2017-05-03 17:13:32 +08001293 select SPL_BOARD_INIT if SPL
Michal Simek2f039682017-12-01 15:13:36 +01001294 select SPL_CLK if SPL
Michal Simek6cb402f2020-08-19 10:30:39 +02001295 select SPL_DM if SPL
1296 select SPL_DM_SPI if SPI && SPL_DM
Lukasz Majewski56c40462020-06-04 23:11:53 +08001297 select SPL_DM_SPI_FLASH if SPL_DM_SPI
Ibai Erkiaga325a22d2019-09-27 11:37:04 +01001298 select SPL_DM_MAILBOX if SPL
Michal Simek71efd452022-01-14 13:08:42 +01001299 imply SPL_FIRMWARE if SPL
Michal Simek850e7792018-11-23 09:01:44 +01001300 select SPL_SEPARATE_BSS if SPL
Michal Simek5ed063d2018-07-23 15:55:13 +02001301 select SUPPORT_SPL
Ibai Erkiaga1327d162019-09-27 12:51:41 +02001302 select ZYNQMP_IPI
T Karthik Reddya890a532021-08-10 06:50:18 -06001303 select SOC_DEVICE
Michal Simek8eb55e12018-08-20 08:24:14 +02001304 imply BOARD_LATE_INIT
Michal Simek08a00cb2018-07-23 15:55:14 +02001305 imply CMD_DM
Michal Simek62b96262020-07-28 12:45:47 +02001306 imply ENV_VARS_UBOOT_RUNTIME_CONFIG
Tom Rini91d27a12017-06-02 11:03:50 -04001307 imply FAT_WRITE
Michal Simek22270ca032018-10-04 14:26:13 +02001308 imply MP
Jean-Jacques Hiblot687ab542018-11-29 10:52:42 +01001309 imply DM_USB_GADGET
T Karthik Reddy3b441cf2021-10-29 13:11:43 +02001310 imply ZYNQMP_GPIO_MODEPIN if DM_GPIO && USB
Michal Simek84c72042015-01-15 10:01:51 +01001311
Trevor Woerner18138ab2020-05-06 08:02:41 -04001312config ARCH_TEGRA
Masahiro Yamadaddd960e2014-08-31 07:10:56 +09001313 bool "NVIDIA Tegra"
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001314 select GPIO_EXTRA_HEADER
Masahiro Yamada7325f6c2018-04-25 18:47:52 +09001315 imply DISTRO_DEFAULTS
Tom Rini91d27a12017-06-02 11:03:50 -04001316 imply FAT_WRITE
Masahiro Yamadadd840582014-07-30 14:08:14 +09001317
Andre Przywarafac7fc42022-03-04 16:30:09 +00001318config ARCH_VEXPRESS64
1319 bool "Support ARMv8 Arm Ltd. VExpress based boards and models"
Masahiro Yamada016a9542014-09-14 03:01:51 +09001320 select ARM64
Andre Przywarab3270e92020-04-27 19:18:01 +01001321 select DM
Andre Przywarab3270e92020-04-27 19:18:01 +01001322 select DM_SERIAL
Andre Przywarafac7fc42022-03-04 16:30:09 +00001323 select PL01X_SERIAL
Andre Przywarac0fce922022-03-04 16:30:11 +00001324 select OF_CONTROL
1325 select CLK
Andre Przywara58650382022-03-04 16:30:13 +00001326 select BLK
1327 select MTD_NOR_FLASH if MTD
1328 select FLASH_CFI_DRIVER if MTD
1329 select ENV_IS_IN_FLASH if MTD
Andre Przywara8a0a8ff2022-03-04 16:30:14 +00001330 imply DISTRO_DEFAULTS
Linus Walleijffc10372015-01-23 14:41:10 +01001331
Usama Arif565add12020-08-12 16:12:53 +01001332config TARGET_TOTAL_COMPUTE
1333 bool "Support Total Compute Platform"
1334 select ARM64
1335 select PL01X_SERIAL
1336 select DM
1337 select DM_SERIAL
1338 select DM_MMC
1339 select DM_GPIO
1340
Prabhakar Kushwaha44937212015-11-09 16:42:07 +05301341config TARGET_LS2080A_EMU
1342 bool "Support ls2080a_emu"
York Sunfb2bf8c2016-10-04 14:31:48 -07001343 select ARCH_LS2080A
Masahiro Yamada016a9542014-09-14 03:01:51 +09001344 select ARM64
Linus Walleij23b58772015-03-09 10:53:21 +01001345 select ARMV8_MULTIENTRY
Rajesh Bhagat32413122019-02-01 05:22:01 +00001346 select FSL_DDR_SYNC_REFRESH
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001347 select GPIO_EXTRA_HEADER
York Sun7288c2c2015-03-20 19:28:23 -07001348 help
Robert P. J. Daye852b302019-12-25 06:34:07 -05001349 Support for Freescale LS2080A_EMU platform.
1350 The LS2080A Development System (EMULATOR) is a pre-silicon
Prabhakar Kushwaha44937212015-11-09 16:42:07 +05301351 development platform that supports the QorIQ LS2080A
York Sun7288c2c2015-03-20 19:28:23 -07001352 Layerscape Architecture processor.
1353
Ashish Kumar77697762017-08-31 16:12:55 +05301354config TARGET_LS1088AQDS
1355 bool "Support ls1088aqds"
1356 select ARCH_LS1088A
1357 select ARM64
1358 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001359 select ARCH_SUPPORT_TFABOOT
Ashish Kumar77697762017-08-31 16:12:55 +05301360 select BOARD_LATE_INIT
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001361 select GPIO_EXTRA_HEADER
Ashish Kumar91fded62017-11-06 13:18:44 +05301362 select SUPPORT_SPL
Rajesh Bhagat32413122019-02-01 05:22:01 +00001363 select FSL_DDR_INTERACTIVE if !SD_BOOT
Ashish Kumar77697762017-08-31 16:12:55 +05301364 help
Robert P. J. Daye852b302019-12-25 06:34:07 -05001365 Support for NXP LS1088AQDS platform.
Ashish Kumar77697762017-08-31 16:12:55 +05301366 The LS1088A Development System (QDS) is a high-performance
1367 development platform that supports the QorIQ LS1088A
1368 Layerscape Architecture processor.
1369
Prabhakar Kushwaha44937212015-11-09 16:42:07 +05301370config TARGET_LS2080AQDS
1371 bool "Support ls2080aqds"
York Sunfb2bf8c2016-10-04 14:31:48 -07001372 select ARCH_LS2080A
York Sune2b65ea2015-03-20 19:28:24 -07001373 select ARM64
1374 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001375 select ARCH_SUPPORT_TFABOOT
Tom Rinie5ec4812017-01-22 19:43:11 -05001376 select BOARD_LATE_INIT
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001377 select GPIO_EXTRA_HEADER
Scott Wood32eda7c2015-03-24 13:25:03 -07001378 select SUPPORT_SPL
Simon Glassfedb4282017-06-14 21:28:21 -06001379 imply SCSI
Tuomas Tynkkynen9fd95ef2017-12-08 15:36:19 +02001380 imply SCSI_AHCI
Rajesh Bhagat32413122019-02-01 05:22:01 +00001381 select FSL_DDR_BIST
1382 select FSL_DDR_INTERACTIVE if !SPL
York Sune2b65ea2015-03-20 19:28:24 -07001383 help
Robert P. J. Daye852b302019-12-25 06:34:07 -05001384 Support for Freescale LS2080AQDS platform.
Prabhakar Kushwaha44937212015-11-09 16:42:07 +05301385 The LS2080A Development System (QDS) is a high-performance
1386 development platform that supports the QorIQ LS2080A
1387 Layerscape Architecture processor.
1388
1389config TARGET_LS2080ARDB
1390 bool "Support ls2080ardb"
York Sunfb2bf8c2016-10-04 14:31:48 -07001391 select ARCH_LS2080A
Prabhakar Kushwaha44937212015-11-09 16:42:07 +05301392 select ARM64
1393 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001394 select ARCH_SUPPORT_TFABOOT
Tom Rinie5ec4812017-01-22 19:43:11 -05001395 select BOARD_LATE_INIT
Prabhakar Kushwaha44937212015-11-09 16:42:07 +05301396 select SUPPORT_SPL
Rajesh Bhagat32413122019-02-01 05:22:01 +00001397 select FSL_DDR_BIST
1398 select FSL_DDR_INTERACTIVE if !SPL
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001399 select GPIO_EXTRA_HEADER
Simon Glassfedb4282017-06-14 21:28:21 -06001400 imply SCSI
Tuomas Tynkkynen9fd95ef2017-12-08 15:36:19 +02001401 imply SCSI_AHCI
Prabhakar Kushwaha44937212015-11-09 16:42:07 +05301402 help
1403 Support for Freescale LS2080ARDB platform.
1404 The LS2080A Reference design board (RDB) is a high-performance
1405 development platform that supports the QorIQ LS2080A
York Sune2b65ea2015-03-20 19:28:24 -07001406 Layerscape Architecture processor.
1407
Priyanka Jain3049a582017-04-27 15:08:07 +05301408config TARGET_LS2081ARDB
1409 bool "Support ls2081ardb"
1410 select ARCH_LS2080A
1411 select ARM64
1412 select ARMV8_MULTIENTRY
1413 select BOARD_LATE_INIT
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001414 select GPIO_EXTRA_HEADER
Priyanka Jain3049a582017-04-27 15:08:07 +05301415 select SUPPORT_SPL
Priyanka Jain3049a582017-04-27 15:08:07 +05301416 help
1417 Support for Freescale LS2081ARDB platform.
1418 The LS2081A Reference design board (RDB) is a high-performance
1419 development platform that supports the QorIQ LS2081A/LS2041A
1420 Layerscape Architecture processor.
1421
Priyanka Jain58c3e622018-11-28 13:04:27 +00001422config TARGET_LX2160ARDB
1423 bool "Support lx2160ardb"
1424 select ARCH_LX2160A
Priyanka Jain58c3e622018-11-28 13:04:27 +00001425 select ARM64
1426 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001427 select ARCH_SUPPORT_TFABOOT
Priyanka Jain58c3e622018-11-28 13:04:27 +00001428 select BOARD_LATE_INIT
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001429 select GPIO_EXTRA_HEADER
Priyanka Jain58c3e622018-11-28 13:04:27 +00001430 help
1431 Support for NXP LX2160ARDB platform.
1432 The lx2160ardb (LX2160A Reference design board (RDB)
1433 is a high-performance development platform that supports the
1434 QorIQ LX2160A/LX2120A/LX2080A Layerscape Architecture processor.
1435
Pankaj Bansal1eba7232019-02-08 10:29:58 +00001436config TARGET_LX2160AQDS
1437 bool "Support lx2160aqds"
1438 select ARCH_LX2160A
Pankaj Bansal1eba7232019-02-08 10:29:58 +00001439 select ARM64
1440 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001441 select ARCH_SUPPORT_TFABOOT
Pankaj Bansal1eba7232019-02-08 10:29:58 +00001442 select BOARD_LATE_INIT
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001443 select GPIO_EXTRA_HEADER
Pankaj Bansal1eba7232019-02-08 10:29:58 +00001444 help
1445 Support for NXP LX2160AQDS platform.
1446 The lx2160aqds (LX2160A QorIQ Development System (QDS)
1447 is a high-performance development platform that supports the
1448 QorIQ LX2160A/LX2120A/LX2080A Layerscape Architecture processor.
1449
Meenakshi Aggarwal9ed303d2020-12-04 20:17:28 +05301450config TARGET_LX2162AQDS
1451 bool "Support lx2162aqds"
1452 select ARCH_LX2162A
1453 select ARCH_MISC_INIT
1454 select ARM64
1455 select ARMV8_MULTIENTRY
1456 select ARCH_SUPPORT_TFABOOT
1457 select BOARD_LATE_INIT
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001458 select GPIO_EXTRA_HEADER
Meenakshi Aggarwal9ed303d2020-12-04 20:17:28 +05301459 help
1460 Support for NXP LX2162AQDS platform.
1461 The lx2162aqds support is based on LX2160A Layerscape Architecture processor.
1462
Peter Griffin11ac2362015-07-30 18:55:23 +01001463config TARGET_HIKEY
1464 bool "Support HiKey 96boards Consumer Edition Platform"
1465 select ARM64
Peter Griffinefd7b602015-09-10 21:55:16 +01001466 select DM
1467 select DM_GPIO
Peter Griffin9c71bcd2015-09-10 21:55:17 +01001468 select DM_SERIAL
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001469 select GPIO_EXTRA_HEADER
Peter Griffincd593ed2016-04-20 17:13:59 +01001470 select OF_CONTROL
Alexander Grafcf2c7782018-01-25 12:05:52 +01001471 select PL01X_SERIAL
Tom Rini6f6b7cf2018-03-06 19:02:27 -05001472 select SPECIFY_CONSOLE_INDEX
Michal Simek08a00cb2018-07-23 15:55:14 +02001473 imply CMD_DM
Peter Griffin11ac2362015-07-30 18:55:23 +01001474 help
1475 Support for HiKey 96boards platform. It features a HI6220
1476 SoC, with 8xA53 CPU, mali450 gpu, and 1GB RAM.
1477
Manivannan Sadhasivamc62c7ef2019-08-02 20:40:09 +05301478config TARGET_HIKEY960
1479 bool "Support HiKey960 96boards Consumer Edition Platform"
1480 select ARM64
1481 select DM
1482 select DM_SERIAL
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001483 select GPIO_EXTRA_HEADER
Manivannan Sadhasivamc62c7ef2019-08-02 20:40:09 +05301484 select OF_CONTROL
1485 select PL01X_SERIAL
1486 imply CMD_DM
1487 help
1488 Support for HiKey960 96boards platform. It features a HI3660
1489 SoC, with 4xA73 CPU, 4xA53 CPU, MALI-G71 GPU, and 3GB RAM.
1490
Jorge Ramirez-Ortizd7542542017-06-26 15:52:49 +02001491config TARGET_POPLAR
1492 bool "Support Poplar 96boards Enterprise Edition Platform"
1493 select ARM64
1494 select DM
Jorge Ramirez-Ortizd7542542017-06-26 15:52:49 +02001495 select DM_SERIAL
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001496 select GPIO_EXTRA_HEADER
Michal Simek5ed063d2018-07-23 15:55:13 +02001497 select OF_CONTROL
Alexander Grafcf2c7782018-01-25 12:05:52 +01001498 select PL01X_SERIAL
Michal Simek08a00cb2018-07-23 15:55:14 +02001499 imply CMD_DM
Jorge Ramirez-Ortizd7542542017-06-26 15:52:49 +02001500 help
1501 Support for Poplar 96boards EE platform. It features a HI3798cv200
1502 SoC, with 4xA53 CPU, 1GB RAM and the high performance Mali T720 GPU
1503 making it capable of running any commercial set-top solution based on
1504 Linux or Android.
1505
Prabhakar Kushwaha9d044fc2016-06-03 18:41:34 +05301506config TARGET_LS1012AQDS
1507 bool "Support ls1012aqds"
York Sun9533acf2016-09-26 08:09:26 -07001508 select ARCH_LS1012A
Prabhakar Kushwaha9d044fc2016-06-03 18:41:34 +05301509 select ARM64
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001510 select ARCH_SUPPORT_TFABOOT
Tom Rinie5ec4812017-01-22 19:43:11 -05001511 select BOARD_LATE_INIT
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001512 select GPIO_EXTRA_HEADER
Prabhakar Kushwaha9d044fc2016-06-03 18:41:34 +05301513 help
1514 Support for Freescale LS1012AQDS platform.
1515 The LS1012A Development System (QDS) is a high-performance
1516 development platform that supports the QorIQ LS1012A
1517 Layerscape Architecture processor.
1518
Prabhakar Kushwaha3b6e3892016-06-03 18:41:35 +05301519config TARGET_LS1012ARDB
1520 bool "Support ls1012ardb"
York Sun9533acf2016-09-26 08:09:26 -07001521 select ARCH_LS1012A
Prabhakar Kushwaha3b6e3892016-06-03 18:41:35 +05301522 select ARM64
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001523 select ARCH_SUPPORT_TFABOOT
Tom Rinie5ec4812017-01-22 19:43:11 -05001524 select BOARD_LATE_INIT
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001525 select GPIO_EXTRA_HEADER
Simon Glassfedb4282017-06-14 21:28:21 -06001526 imply SCSI
Tuomas Tynkkynen9fd95ef2017-12-08 15:36:19 +02001527 imply SCSI_AHCI
Prabhakar Kushwaha3b6e3892016-06-03 18:41:35 +05301528 help
1529 Support for Freescale LS1012ARDB platform.
1530 The LS1012A Reference design board (RDB) is a high-performance
1531 development platform that supports the QorIQ LS1012A
1532 Layerscape Architecture processor.
1533
Bhaskar Upadhayab0ce1872018-01-11 20:03:31 +05301534config TARGET_LS1012A2G5RDB
1535 bool "Support ls1012a2g5rdb"
1536 select ARCH_LS1012A
1537 select ARM64
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001538 select ARCH_SUPPORT_TFABOOT
Bhaskar Upadhayab0ce1872018-01-11 20:03:31 +05301539 select BOARD_LATE_INIT
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001540 select GPIO_EXTRA_HEADER
Bhaskar Upadhayab0ce1872018-01-11 20:03:31 +05301541 imply SCSI
1542 help
1543 Support for Freescale LS1012A2G5RDB platform.
1544 The LS1012A 2G5 Reference design board (RDB) is a high-performance
1545 development platform that supports the QorIQ LS1012A
1546 Layerscape Architecture processor.
1547
Bhaskar Upadhaya9629ccd2018-05-23 11:03:30 +05301548config TARGET_LS1012AFRWY
1549 bool "Support ls1012afrwy"
1550 select ARCH_LS1012A
1551 select ARM64
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001552 select ARCH_SUPPORT_TFABOOT
Michal Simek5ed063d2018-07-23 15:55:13 +02001553 select BOARD_LATE_INIT
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001554 select GPIO_EXTRA_HEADER
Bhaskar Upadhaya9629ccd2018-05-23 11:03:30 +05301555 imply SCSI
1556 imply SCSI_AHCI
1557 help
1558 Support for Freescale LS1012AFRWY platform.
1559 The LS1012A FRWY board (FRWY) is a high-performance
1560 development platform that supports the QorIQ LS1012A
1561 Layerscape Architecture processor.
1562
Prabhakar Kushwahaff78aa22016-06-03 18:41:36 +05301563config TARGET_LS1012AFRDM
1564 bool "Support ls1012afrdm"
York Sun9533acf2016-09-26 08:09:26 -07001565 select ARCH_LS1012A
Prabhakar Kushwahaff78aa22016-06-03 18:41:36 +05301566 select ARM64
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001567 select ARCH_SUPPORT_TFABOOT
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001568 select GPIO_EXTRA_HEADER
Prabhakar Kushwahaff78aa22016-06-03 18:41:36 +05301569 help
1570 Support for Freescale LS1012AFRDM platform.
1571 The LS1012A Freedom board (FRDM) is a high-performance
1572 development platform that supports the QorIQ LS1012A
1573 Layerscape Architecture processor.
1574
Yuantian Tangf278a212019-04-10 16:43:35 +08001575config TARGET_LS1028AQDS
1576 bool "Support ls1028aqds"
1577 select ARCH_LS1028A
1578 select ARM64
1579 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001580 select ARCH_SUPPORT_TFABOOT
Yuantian Tangacf40f52019-07-02 16:16:22 +08001581 select BOARD_LATE_INIT
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001582 select GPIO_EXTRA_HEADER
Yuantian Tangf278a212019-04-10 16:43:35 +08001583 help
1584 Support for Freescale LS1028AQDS platform
1585 The LS1028A Development System (QDS) is a high-performance
1586 development platform that supports the QorIQ LS1028A
1587 Layerscape Architecture processor.
1588
Yuantian Tang353f36d2019-04-10 16:43:34 +08001589config TARGET_LS1028ARDB
1590 bool "Support ls1028ardb"
1591 select ARCH_LS1028A
1592 select ARM64
1593 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001594 select ARCH_SUPPORT_TFABOOT
Yuantian Tangc40ebf72020-03-09 14:10:07 +08001595 select BOARD_LATE_INIT
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001596 select GPIO_EXTRA_HEADER
Yuantian Tang353f36d2019-04-10 16:43:34 +08001597 help
1598 Support for Freescale LS1028ARDB platform
1599 The LS1028A Development System (RDB) is a high-performance
1600 development platform that supports the QorIQ LS1028A
1601 Layerscape Architecture processor.
1602
Ashish Kumare84a3242017-08-31 16:12:54 +05301603config TARGET_LS1088ARDB
1604 bool "Support ls1088ardb"
1605 select ARCH_LS1088A
1606 select ARM64
1607 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001608 select ARCH_SUPPORT_TFABOOT
Ashish Kumare84a3242017-08-31 16:12:54 +05301609 select BOARD_LATE_INIT
Ashish Kumar099f4092017-11-06 13:18:43 +05301610 select SUPPORT_SPL
Rajesh Bhagat32413122019-02-01 05:22:01 +00001611 select FSL_DDR_INTERACTIVE if !SD_BOOT
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001612 select GPIO_EXTRA_HEADER
Ashish Kumare84a3242017-08-31 16:12:54 +05301613 help
1614 Support for NXP LS1088ARDB platform.
1615 The LS1088A Reference design board (RDB) is a high-performance
1616 development platform that supports the QorIQ LS1088A
1617 Layerscape Architecture processor.
1618
Wang Huan550e3dc2014-09-05 13:52:44 +08001619config TARGET_LS1021AQDS
Alison Wang0de15702014-12-03 16:18:09 +08001620 bool "Support ls1021aqds"
Michal Simek5ed063d2018-07-23 15:55:13 +02001621 select ARCH_LS1021A
1622 select ARCH_SUPPORT_PSCI
1623 select BOARD_EARLY_INIT_F
Tom Rinie5ec4812017-01-22 19:43:11 -05001624 select BOARD_LATE_INIT
Lokesh Vutlaacf15002018-04-26 18:21:26 +05301625 select CPU_V7A
Hongbo Zhangadee1d42016-09-21 18:31:04 +08001626 select CPU_V7_HAS_NONSEC
1627 select CPU_V7_HAS_VIRT
York Sun5e8bd7e2016-09-26 08:09:29 -07001628 select LS1_DEEP_SLEEP
Michal Simek5ed063d2018-07-23 15:55:13 +02001629 select SUPPORT_SPL
York Sund26e34c2016-12-28 08:43:40 -08001630 select SYS_FSL_DDR
Rajesh Bhagat32413122019-02-01 05:22:01 +00001631 select FSL_DDR_INTERACTIVE
Lukasz Majewski28964222020-06-04 23:11:52 +08001632 select DM_SPI_FLASH if FSL_DSPI || FSL_QSPI
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001633 select GPIO_EXTRA_HEADER
Lukasz Majewski28964222020-06-04 23:11:52 +08001634 select SPI_FLASH_DATAFLASH if FSL_DSPI || FSL_QSPI
Simon Glassfedb4282017-06-14 21:28:21 -06001635 imply SCSI
Masahiro Yamada217f92b2016-08-30 16:22:22 +09001636
Wang Huanc8a7d9d2014-09-05 13:52:45 +08001637config TARGET_LS1021ATWR
Alison Wang0de15702014-12-03 16:18:09 +08001638 bool "Support ls1021atwr"
Michal Simek5ed063d2018-07-23 15:55:13 +02001639 select ARCH_LS1021A
1640 select ARCH_SUPPORT_PSCI
1641 select BOARD_EARLY_INIT_F
Tom Rinie5ec4812017-01-22 19:43:11 -05001642 select BOARD_LATE_INIT
Lokesh Vutlaacf15002018-04-26 18:21:26 +05301643 select CPU_V7A
Hongbo Zhangadee1d42016-09-21 18:31:04 +08001644 select CPU_V7_HAS_NONSEC
1645 select CPU_V7_HAS_VIRT
York Sun5e8bd7e2016-09-26 08:09:29 -07001646 select LS1_DEEP_SLEEP
Michal Simek5ed063d2018-07-23 15:55:13 +02001647 select SUPPORT_SPL
Lukasz Majewski28964222020-06-04 23:11:52 +08001648 select DM_SPI_FLASH if FSL_DSPI || FSL_QSPI
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001649 select GPIO_EXTRA_HEADER
Simon Glassfedb4282017-06-14 21:28:21 -06001650 imply SCSI
Wang Huanc8a7d9d2014-09-05 13:52:45 +08001651
Aleksandar Gerasimovski91ee5472021-02-22 18:18:11 +00001652config TARGET_PG_WCOM_SELI8
1653 bool "Support Hitachi-Powergrids SELI8 service unit card"
1654 select ARCH_LS1021A
1655 select ARCH_SUPPORT_PSCI
1656 select BOARD_EARLY_INIT_F
1657 select BOARD_LATE_INIT
1658 select CPU_V7A
1659 select CPU_V7_HAS_NONSEC
1660 select CPU_V7_HAS_VIRT
1661 select SYS_FSL_DDR
1662 select FSL_DDR_INTERACTIVE
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001663 select GPIO_EXTRA_HEADER
Aleksandar Gerasimovski91ee5472021-02-22 18:18:11 +00001664 select VENDOR_KM
1665 imply SCSI
1666 help
1667 Support for Hitachi-Powergrids SELI8 service unit card.
1668 SELI8 is a QorIQ LS1021a based service unit card used
1669 in XMC20 and FOX615 product families.
1670
Aleksandar Gerasimovskia7fd6fa2021-06-08 14:16:28 +00001671config TARGET_PG_WCOM_EXPU1
1672 bool "Support Hitachi-Powergrids EXPU1 service unit card"
1673 select ARCH_LS1021A
1674 select ARCH_SUPPORT_PSCI
1675 select BOARD_EARLY_INIT_F
1676 select BOARD_LATE_INIT
1677 select CPU_V7A
1678 select CPU_V7_HAS_NONSEC
1679 select CPU_V7_HAS_VIRT
1680 select SYS_FSL_DDR
1681 select FSL_DDR_INTERACTIVE
1682 select VENDOR_KM
1683 imply SCSI
1684 help
1685 Support for Hitachi-Powergrids EXPU1 service unit card.
1686 EXPU1 is a QorIQ LS1021a based service unit card used
1687 in XMC20 and FOX615 product families.
1688
Jianchao Wang87821222019-07-19 00:30:01 +03001689config TARGET_LS1021ATSN
1690 bool "Support ls1021atsn"
1691 select ARCH_LS1021A
1692 select ARCH_SUPPORT_PSCI
1693 select BOARD_EARLY_INIT_F
1694 select BOARD_LATE_INIT
1695 select CPU_V7A
1696 select CPU_V7_HAS_NONSEC
1697 select CPU_V7_HAS_VIRT
1698 select LS1_DEEP_SLEEP
1699 select SUPPORT_SPL
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001700 select GPIO_EXTRA_HEADER
Jianchao Wang87821222019-07-19 00:30:01 +03001701 imply SCSI
1702
Feng Li20c700f2016-11-03 14:15:17 +08001703config TARGET_LS1021AIOT
1704 bool "Support ls1021aiot"
Michal Simek5ed063d2018-07-23 15:55:13 +02001705 select ARCH_LS1021A
1706 select ARCH_SUPPORT_PSCI
Tom Rinie5ec4812017-01-22 19:43:11 -05001707 select BOARD_LATE_INIT
Lokesh Vutlaacf15002018-04-26 18:21:26 +05301708 select CPU_V7A
Feng Li20c700f2016-11-03 14:15:17 +08001709 select CPU_V7_HAS_NONSEC
1710 select CPU_V7_HAS_VIRT
1711 select SUPPORT_SPL
Lukasz Majewski28964222020-06-04 23:11:52 +08001712 select DM_SPI_FLASH if FSL_DSPI || FSL_QSPI
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001713 select GPIO_EXTRA_HEADER
Simon Glassfedb4282017-06-14 21:28:21 -06001714 imply SCSI
Feng Li20c700f2016-11-03 14:15:17 +08001715 help
1716 Support for Freescale LS1021AIOT platform.
1717 The LS1021A Freescale board (IOT) is a high-performance
1718 development platform that supports the QorIQ LS1021A
1719 Layerscape Architecture processor.
1720
Shaohui Xie02b5d2e2015-11-11 17:58:37 +08001721config TARGET_LS1043AQDS
1722 bool "Support ls1043aqds"
York Sun0a37cf82016-09-26 08:09:27 -07001723 select ARCH_LS1043A
Shaohui Xie02b5d2e2015-11-11 17:58:37 +08001724 select ARM64
1725 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001726 select ARCH_SUPPORT_TFABOOT
Michal Simek5ed063d2018-07-23 15:55:13 +02001727 select BOARD_EARLY_INIT_F
Tom Rinie5ec4812017-01-22 19:43:11 -05001728 select BOARD_LATE_INIT
Shaohui Xie02b5d2e2015-11-11 17:58:37 +08001729 select SUPPORT_SPL
Rajesh Bhagat32413122019-02-01 05:22:01 +00001730 select FSL_DDR_INTERACTIVE if !SPL
Lukasz Majewski044a66c2020-06-04 23:11:51 +08001731 select FSL_DSPI if !SPL_NO_DSPI
1732 select DM_SPI_FLASH if FSL_DSPI
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001733 select GPIO_EXTRA_HEADER
Simon Glassfedb4282017-06-14 21:28:21 -06001734 imply SCSI
Peng Maf11e4922019-01-30 19:11:49 +08001735 imply SCSI_AHCI
Shaohui Xie02b5d2e2015-11-11 17:58:37 +08001736 help
1737 Support for Freescale LS1043AQDS platform.
1738
Mingkai Huf3a8e2b2015-10-26 19:47:52 +08001739config TARGET_LS1043ARDB
1740 bool "Support ls1043ardb"
York Sun0a37cf82016-09-26 08:09:27 -07001741 select ARCH_LS1043A
Mingkai Huf3a8e2b2015-10-26 19:47:52 +08001742 select ARM64
Hou Zhiqiang831c0682015-10-26 19:47:57 +08001743 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001744 select ARCH_SUPPORT_TFABOOT
Michal Simek5ed063d2018-07-23 15:55:13 +02001745 select BOARD_EARLY_INIT_F
Tom Rinie5ec4812017-01-22 19:43:11 -05001746 select BOARD_LATE_INIT
Gong Qianyu3ad44722015-10-26 19:47:53 +08001747 select SUPPORT_SPL
Lukasz Majewski044a66c2020-06-04 23:11:51 +08001748 select FSL_DSPI if !SPL_NO_DSPI
1749 select DM_SPI_FLASH if FSL_DSPI
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001750 select GPIO_EXTRA_HEADER
Mingkai Huf3a8e2b2015-10-26 19:47:52 +08001751 help
1752 Support for Freescale LS1043ARDB platform.
1753
Shaohui Xie126fe702016-09-07 17:56:14 +08001754config TARGET_LS1046AQDS
1755 bool "Support ls1046aqds"
York Sunda28e582016-09-26 08:09:24 -07001756 select ARCH_LS1046A
Shaohui Xie126fe702016-09-07 17:56:14 +08001757 select ARM64
1758 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001759 select ARCH_SUPPORT_TFABOOT
Simon Glassa5d67542017-01-23 13:31:20 -07001760 select BOARD_EARLY_INIT_F
Michal Simek5ed063d2018-07-23 15:55:13 +02001761 select BOARD_LATE_INIT
1762 select DM_SPI_FLASH if DM_SPI
1763 select SUPPORT_SPL
Rajesh Bhagat32413122019-02-01 05:22:01 +00001764 select FSL_DDR_BIST if !SPL
1765 select FSL_DDR_INTERACTIVE if !SPL
1766 select FSL_DDR_INTERACTIVE if !SPL
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001767 select GPIO_EXTRA_HEADER
Simon Glassfedb4282017-06-14 21:28:21 -06001768 imply SCSI
Shaohui Xie126fe702016-09-07 17:56:14 +08001769 help
1770 Support for Freescale LS1046AQDS platform.
1771 The LS1046A Development System (QDS) is a high-performance
1772 development platform that supports the QorIQ LS1046A
1773 Layerscape Architecture processor.
1774
Mingkai Hudd029362016-09-07 18:47:28 +08001775config TARGET_LS1046ARDB
1776 bool "Support ls1046ardb"
York Sunda28e582016-09-26 08:09:24 -07001777 select ARCH_LS1046A
Mingkai Hudd029362016-09-07 18:47:28 +08001778 select ARM64
1779 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001780 select ARCH_SUPPORT_TFABOOT
Michal Simek5ed063d2018-07-23 15:55:13 +02001781 select BOARD_EARLY_INIT_F
Tom Rinie5ec4812017-01-22 19:43:11 -05001782 select BOARD_LATE_INIT
Mingkai Hudd029362016-09-07 18:47:28 +08001783 select DM_SPI_FLASH if DM_SPI
Hou Zhiqiangdccef2e2016-12-09 16:09:01 +08001784 select POWER_MC34VR500
Michal Simek5ed063d2018-07-23 15:55:13 +02001785 select SUPPORT_SPL
Rajesh Bhagat32413122019-02-01 05:22:01 +00001786 select FSL_DDR_BIST
1787 select FSL_DDR_INTERACTIVE if !SPL
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001788 select GPIO_EXTRA_HEADER
Simon Glassfedb4282017-06-14 21:28:21 -06001789 imply SCSI
Mingkai Hudd029362016-09-07 18:47:28 +08001790 help
1791 Support for Freescale LS1046ARDB platform.
1792 The LS1046A Reference Design Board (RDB) is a high-performance
1793 development platform that supports the QorIQ LS1046A
1794 Layerscape Architecture processor.
1795
Vabhav Sharmad90c7ac2019-06-06 12:35:28 +00001796config TARGET_LS1046AFRWY
1797 bool "Support ls1046afrwy"
1798 select ARCH_LS1046A
1799 select ARM64
1800 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001801 select ARCH_SUPPORT_TFABOOT
Vabhav Sharmad90c7ac2019-06-06 12:35:28 +00001802 select BOARD_EARLY_INIT_F
1803 select BOARD_LATE_INIT
1804 select DM_SPI_FLASH if DM_SPI
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001805 select GPIO_EXTRA_HEADER
Vabhav Sharmad90c7ac2019-06-06 12:35:28 +00001806 imply SCSI
1807 help
1808 Support for Freescale LS1046AFRWY platform.
1809 The LS1046A Freeway Board (FRWY) is a high-performance
1810 development platform that supports the QorIQ LS1046A
1811 Layerscape Architecture processor.
Masahiro Yamadadd840582014-07-30 14:08:14 +09001812
Michael Walle4ceb5c62020-10-15 23:08:57 +02001813config TARGET_SL28
1814 bool "Support sl28"
1815 select ARCH_LS1028A
1816 select ARM64
1817 select ARMV8_MULTIENTRY
1818 select SUPPORT_SPL
1819 select BINMAN
Michael Walle356a3382021-03-26 19:40:57 +01001820 select DM
1821 select DM_GPIO
1822 select DM_I2C
1823 select DM_MMC
1824 select DM_SPI_FLASH
1825 select DM_ETH
1826 select DM_MDIO
Simon Glass3232bdf2021-08-01 18:54:44 -06001827 select PCI
Michael Walle356a3382021-03-26 19:40:57 +01001828 select DM_RNG
1829 select DM_RTC
1830 select DM_SCSI
Michael Walle6d1ab4a2021-03-26 19:40:58 +01001831 select DM_SERIAL
Michael Walle356a3382021-03-26 19:40:57 +01001832 select DM_SPI
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001833 select GPIO_EXTRA_HEADER
Michael Walle356a3382021-03-26 19:40:57 +01001834 select SPL_DM if SPL
1835 select SPL_DM_SPI if SPL
1836 select SPL_DM_SPI_FLASH if SPL
1837 select SPL_DM_I2C if SPL
1838 select SPL_DM_MMC if SPL
1839 select SPL_DM_SERIAL if SPL
Michael Walle4ceb5c62020-10-15 23:08:57 +02001840 help
1841 Support for Kontron SMARC-sAL28 board.
1842
Mathew McBridea1d2fd32022-01-31 18:34:43 +05301843config TARGET_TEN64
1844 bool "Support ten64"
1845 select ARCH_LS1088A
1846 select ARCH_MISC_INIT
1847 select ARM64
1848 select ARMV8_MULTIENTRY
1849 select ARCH_SUPPORT_TFABOOT
1850 select BOARD_LATE_INIT
1851 select SUPPORT_SPL
1852 select FSL_DDR_INTERACTIVE if !SD_BOOT
1853 select GPIO_EXTRA_HEADER
1854 help
1855 Support for Traverse Technologies Ten64 board, based
1856 on NXP LS1088A.
1857
Masahiro Yamadadd840582014-07-30 14:08:14 +09001858config TARGET_COLIBRI_PXA270
1859 bool "Support colibri_pxa270"
Tom Rini3aca2b62021-12-17 18:08:40 -05001860 select CPU_PXA27X
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001861 select GPIO_EXTRA_HEADER
Masahiro Yamadadd840582014-07-30 14:08:14 +09001862
Masahiro Yamada66cba042014-10-03 19:21:07 +09001863config ARCH_UNIPHIER
Masahiro Yamadab6ef3a32015-05-29 17:30:01 +09001864 bool "Socionext UniPhier SoCs"
Tom Rinie5ec4812017-01-22 19:43:11 -05001865 select BOARD_LATE_INIT
Masahiro Yamada4e819952015-03-31 12:47:54 +09001866 select DM
Masahiro Yamada15171262020-05-07 22:11:19 +09001867 select DM_ETH
Masahiro Yamadab800cbd2016-02-16 17:03:50 +09001868 select DM_GPIO
Masahiro Yamada4e819952015-03-31 12:47:54 +09001869 select DM_I2C
Masahiro Yamada4aceb3f2016-02-18 19:52:49 +09001870 select DM_MMC
Masahiro Yamada407b01b2020-01-30 22:07:59 +09001871 select DM_MTD
Masahiro Yamada4fb96c42016-10-08 13:25:31 +09001872 select DM_RESET
Masahiro Yamadab5550e42016-09-14 01:05:59 +09001873 select DM_SERIAL
Masahiro Yamada65fce762018-07-19 16:28:25 +09001874 select OF_BOARD_SETUP
Masahiro Yamadab5550e42016-09-14 01:05:59 +09001875 select OF_CONTROL
1876 select OF_LIBFDT
Masahiro Yamada27350c92016-09-17 03:33:01 +09001877 select PINCTRL
Ley Foon Tan0680f1b2017-05-03 17:13:32 +08001878 select SPL_BOARD_INIT if SPL
Masahiro Yamada561ca642017-01-21 18:05:22 +09001879 select SPL_DM if SPL
1880 select SPL_LIBCOMMON_SUPPORT if SPL
1881 select SPL_LIBGENERIC_SUPPORT if SPL
1882 select SPL_OF_CONTROL if SPL
1883 select SPL_PINCTRL if SPL
Masahiro Yamadab5550e42016-09-14 01:05:59 +09001884 select SUPPORT_SPL
Michal Simek08a00cb2018-07-23 15:55:14 +02001885 imply CMD_DM
Masahiro Yamada7ef5b1e2018-07-20 21:47:18 +09001886 imply DISTRO_DEFAULTS
Tom Rini91d27a12017-06-02 11:03:50 -04001887 imply FAT_WRITE
Masahiro Yamadab6ef3a32015-05-29 17:30:01 +09001888 help
1889 Support for UniPhier SoC family developed by Socionext Inc.
1890 (formerly, System LSI Business Division of Panasonic Corporation)
Masahiro Yamada66cba042014-10-03 19:21:07 +09001891
Masami Hiramatsu5cd4a352021-06-04 18:45:10 +09001892config ARCH_SYNQUACER
1893 bool "Socionext SynQuacer SoCs"
1894 select ARM64
1895 select DM
1896 select GIC_V3
1897 select PSCI_RESET
1898 select SYSRESET
1899 select SYSRESET_PSCI
1900 select OF_CONTROL
1901 help
1902 Support for SynQuacer SoC family developed by Socionext Inc.
1903 This SoC is used on 96boards EE DeveloperBox.
1904
Trevor Woerner71f63542020-05-06 08:02:42 -04001905config ARCH_STM32
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01001906 bool "Support STMicroelectronics STM32 MCU with cortex M"
rev13@wp.pled09a552015-03-01 12:44:42 +01001907 select CPU_V7M
Kamil Lulko66562412015-12-01 09:08:19 +01001908 select DM
1909 select DM_SERIAL
Michal Simek08a00cb2018-07-23 15:55:14 +02001910 imply CMD_DM
rev13@wp.pled09a552015-03-01 12:44:42 +01001911
Patrice Chotard94e9a4e2017-02-21 13:37:04 +01001912config ARCH_STI
1913 bool "Support STMicrolectronics SoCs"
Michal Simek5ed063d2018-07-23 15:55:13 +02001914 select BLK
Lokesh Vutlaacf15002018-04-26 18:21:26 +05301915 select CPU_V7A
Patrice Chotard214a17e2017-02-21 13:37:07 +01001916 select DM
Patrice Chotardeee20f82017-02-21 13:37:09 +01001917 select DM_MMC
Patrice Chotard584861f2017-03-22 10:54:03 +01001918 select DM_RESET
Michal Simek5ed063d2018-07-23 15:55:13 +02001919 select DM_SERIAL
Michal Simek08a00cb2018-07-23 15:55:14 +02001920 imply CMD_DM
Patrice Chotard94e9a4e2017-02-21 13:37:04 +01001921 help
1922 Support for STMicroelectronics STiH407/10 SoC family.
1923 This SoC is used on Linaro 96Board STiH410-B2260
1924
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01001925config ARCH_STM32MP
1926 bool "Support STMicroelectronics STM32MP Socs with cortex A"
Patrick Delaunay08772f62018-03-20 10:54:53 +01001927 select ARCH_MISC_INIT
Patrick Delaunay654706b2020-04-01 09:07:33 +02001928 select ARCH_SUPPORT_TFABOOT
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01001929 select BOARD_LATE_INIT
1930 select CLK
1931 select DM
1932 select DM_GPIO
1933 select DM_RESET
1934 select DM_SERIAL
Michal Simek5ed063d2018-07-23 15:55:13 +02001935 select MISC
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01001936 select OF_CONTROL
1937 select OF_LIBFDT
Patrick Delaunay05d36932019-07-05 17:20:14 +02001938 select OF_SYSTEM_SETUP
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01001939 select PINCTRL
1940 select REGMAP
1941 select SUPPORT_SPL
1942 select SYSCON
Patrick Delaunay86634a92018-03-20 14:15:06 +01001943 select SYSRESET
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01001944 select SYS_THUMB_BUILD
Kever Yang09259fc2019-04-02 20:41:25 +08001945 imply SPL_SYSRESET
Michal Simek08a00cb2018-07-23 15:55:14 +02001946 imply CMD_DM
Patrick Delaunayc16cc4f2019-04-12 11:55:46 +02001947 imply CMD_POWEROFF
Patrick Delaunayf2193612019-07-30 19:16:28 +02001948 imply OF_LIBFDT_OVERLAY
Patrick Delaunayb4ae34b2019-02-27 17:01:11 +01001949 imply ENV_VARS_UBOOT_RUNTIME_CONFIG
Patrick Delaunayce3772c2019-04-18 17:32:38 +02001950 imply USE_PREBOOT
Simon Glassd6b318d2021-12-18 11:27:50 -07001951 imply TIMESTAMP
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01001952 help
1953 Support for STM32MP SoC family developed by STMicroelectronics,
1954 MPUs based on ARM cortex A core
Patrick Delaunayabf26782019-02-12 11:44:39 +01001955 U-BOOT is running in DDR, loaded by the First Stage BootLoader (FSBL).
1956 FSBL can be TF-A: Trusted Firmware for Cortex A, for trusted boot
1957 chain.
1958 SPL is the unsecure FSBL for the basic boot chain.
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01001959
Simon Glass2444dae2015-08-30 16:55:38 -06001960config ARCH_ROCKCHIP
1961 bool "Support Rockchip SoCs"
Simon Glassaa150382016-06-12 23:30:14 -06001962 select BLK
Johan Gunnarsson475bb942021-07-25 16:25:58 +02001963 select BINMAN if SPL_OPTEE || (SPL && !ARM64)
Simon Glass2444dae2015-08-30 16:55:38 -06001964 select DM
Simon Glassaa150382016-06-12 23:30:14 -06001965 select DM_GPIO
1966 select DM_I2C
1967 select DM_MMC
Michal Simek5ed063d2018-07-23 15:55:13 +02001968 select DM_PWM
1969 select DM_REGULATOR
Simon Glassaa150382016-06-12 23:30:14 -06001970 select DM_SERIAL
1971 select DM_SPI
1972 select DM_SPI_FLASH
Philipp Tomsich14ad6eb2017-10-10 16:21:03 +02001973 select ENABLE_ARM_SOC_BOOT0_HOOK
Michal Simek5ed063d2018-07-23 15:55:13 +02001974 select OF_CONTROL
Adam Fordf1b1f772018-04-15 13:51:26 -04001975 select SPI
Michal Simek5ed063d2018-07-23 15:55:13 +02001976 select SPL_DM if SPL
Lukasz Majewski56c40462020-06-04 23:11:53 +08001977 select SPL_DM_SPI if SPL
1978 select SPL_DM_SPI_FLASH if SPL
Michal Simek5ed063d2018-07-23 15:55:13 +02001979 select SYS_MALLOC_F
1980 select SYS_THUMB_BUILD if !ARM64
1981 imply ADC
Michal Simek08a00cb2018-07-23 15:55:14 +02001982 imply CMD_DM
Kever Yangb0a569d2019-03-29 09:08:58 +08001983 imply DEBUG_UART_BOARD_INIT
Masahiro Yamada7325f6c2018-04-25 18:47:52 +09001984 imply DISTRO_DEFAULTS
Tom Rini91d27a12017-06-02 11:03:50 -04001985 imply FAT_WRITE
Philipp Tomsich8e8bccc2017-09-20 13:50:13 +02001986 imply SARADC_ROCKCHIP
Michal Simek5ed063d2018-07-23 15:55:13 +02001987 imply SPL_SYSRESET
Thomas Hebb64eff472019-11-15 08:48:57 -08001988 imply SPL_SYS_MALLOC_SIMPLE
Kever Yangc3c03312018-04-19 11:37:09 +08001989 imply SYS_NS16550
Michal Simek5ed063d2018-07-23 15:55:13 +02001990 imply TPL_SYSRESET
1991 imply USB_FUNCTION_FASTBOOT
Simon Glass2444dae2015-08-30 16:55:38 -06001992
Suneel Garapati03c22882019-10-19 18:37:55 -07001993config ARCH_OCTEONTX
1994 bool "Support OcteonTX SoCs"
Stefan Roese7a780742020-09-23 11:01:30 +02001995 select CLK
Suneel Garapati03c22882019-10-19 18:37:55 -07001996 select DM
Masami Hiramatsu7a672052021-06-04 18:43:55 +09001997 select GPIO_EXTRA_HEADER
Suneel Garapati03c22882019-10-19 18:37:55 -07001998 select ARM64
1999 select OF_CONTROL
2000 select OF_LIVE
2001 select BOARD_LATE_INIT
2002 select SYS_CACHE_SHIFT_7
Tom Rini7856cd52021-12-12 22:12:32 -05002003 select SYS_PCI_64BIT if PCI
Simon Glass239d22c2021-12-16 20:59:36 -07002004 imply OF_HAS_PRIOR_STAGE
Suneel Garapati0a668f62019-10-19 18:47:37 -07002005
2006config ARCH_OCTEONTX2
2007 bool "Support OcteonTX2 SoCs"
Stefan Roese7a780742020-09-23 11:01:30 +02002008 select CLK
Suneel Garapati0a668f62019-10-19 18:47:37 -07002009 select DM
Masami Hiramatsu7a672052021-06-04 18:43:55 +09002010 select GPIO_EXTRA_HEADER
Suneel Garapati0a668f62019-10-19 18:47:37 -07002011 select ARM64
2012 select OF_CONTROL
2013 select OF_LIVE
2014 select BOARD_LATE_INIT
2015 select SYS_CACHE_SHIFT_7
Tom Rini7856cd52021-12-12 22:12:32 -05002016 select SYS_PCI_64BIT if PCI
Simon Glass239d22c2021-12-16 20:59:36 -07002017 imply OF_HAS_PRIOR_STAGE
Suneel Garapati0a668f62019-10-19 18:47:37 -07002018
Sergey Temerkhanov746f9852015-10-14 09:55:50 -07002019config TARGET_THUNDERX_88XX
2020 bool "Support ThunderX 88xx"
Marek Vasutb4ba1692016-06-01 02:33:53 +02002021 select ARM64
Masami Hiramatsu7a672052021-06-04 18:43:55 +09002022 select GPIO_EXTRA_HEADER
Sergey Temerkhanov746f9852015-10-14 09:55:50 -07002023 select OF_CONTROL
Alexander Grafcf2c7782018-01-25 12:05:52 +01002024 select PL01X_SERIAL
Michal Simek5ed063d2018-07-23 15:55:13 +02002025 select SYS_CACHE_SHIFT_7
Sergey Temerkhanov746f9852015-10-14 09:55:50 -07002026
maxims@google.com4697abe2017-01-18 13:44:55 -08002027config ARCH_ASPEED
2028 bool "Support Aspeed SoCs"
maxims@google.com4697abe2017-01-18 13:44:55 -08002029 select DM
Michal Simek5ed063d2018-07-23 15:55:13 +02002030 select OF_CONTROL
Michal Simek08a00cb2018-07-23 15:55:14 +02002031 imply CMD_DM
maxims@google.com4697abe2017-01-18 13:44:55 -08002032
liu haoe3aafef2019-10-31 07:51:08 +00002033config TARGET_DURIAN
2034 bool "Support Phytium Durian Platform"
2035 select ARM64
Masami Hiramatsu7a672052021-06-04 18:43:55 +09002036 select GPIO_EXTRA_HEADER
liu haoe3aafef2019-10-31 07:51:08 +00002037 help
2038 Support for durian platform.
2039 It has 2GB Sdram, uart and pcie.
2040
weichangzhengb9d0f002022-03-02 15:09:05 +08002041config TARGET_POMELO
2042 bool "Support Phytium Pomelo Platform"
2043 select ARM64
2044 select DM
2045 select AHCI
2046 select SCSI_AHCI
2047 select AHCI_PCI
2048 select BLK
2049 select PCI
2050 select DM_PCI
2051 select SCSI
2052 select DM_SCSI
2053 select DM_SERIAL
2054 select DM_ETH if NET
2055 imply CMD_PCI
2056 help
2057 Support for pomelo platform.
2058 It has 8GB Sdram, uart and pcie.
2059
Alex Nemirovsky7d706a82020-01-30 12:34:59 -08002060config TARGET_PRESIDIO_ASIC
2061 bool "Support Cortina Presidio ASIC Platform"
2062 select ARM64
Tom Rini5afdcca2021-08-19 14:19:39 -04002063 select GICV2
Alex Nemirovsky7d706a82020-01-30 12:34:59 -08002064
Andrii Anisov770a8ee2020-08-06 12:42:47 +03002065config TARGET_XENGUEST_ARM64
2066 bool "Xen guest ARM64"
2067 select ARM64
2068 select XEN
2069 select OF_CONTROL
2070 select LINUX_KERNEL_IMAGE_HEADER
Peng Fan384d5cf2020-08-06 12:42:50 +03002071 select XEN_SERIAL
Oleksandr Andrushchenko60e49ff2020-08-06 12:42:53 +03002072 select SSCANF
Simon Glass239d22c2021-12-16 20:59:36 -07002073 imply OF_HAS_PRIOR_STAGE
2074
Masahiro Yamadadd840582014-07-30 14:08:14 +09002075endchoice
2076
Tom Rini97744622021-08-30 09:16:30 -04002077config SUPPORT_PASSING_ATAGS
2078 bool "Support pre-devicetree ATAG-based booting"
2079 depends on !ARM64
2080 imply SETUP_MEMORY_TAGS
2081 help
2082 Support for booting older Linux kernels, using ATAGs rather than
2083 passing a devicetree. This is option is rarely used, and the
2084 semantics are defined at
2085 https://www.kernel.org/doc/Documentation/arm/Booting at section 4a.
2086
2087config SETUP_MEMORY_TAGS
2088 bool "Pass memory size information via ATAG"
2089 depends on SUPPORT_PASSING_ATAGS
2090
2091config CMDLINE_TAG
2092 bool "Pass Linux kernel cmdline via ATAG"
2093 depends on SUPPORT_PASSING_ATAGS
2094
2095config INITRD_TAG
2096 bool "Pass initrd starting point and size via ATAG"
2097 depends on SUPPORT_PASSING_ATAGS
2098
2099config REVISION_TAG
2100 bool "Pass system revision via ATAG"
2101 depends on SUPPORT_PASSING_ATAGS
2102
2103config SERIAL_TAG
2104 bool "Pass system serial number via ATAG"
2105 depends on SUPPORT_PASSING_ATAGS
2106
Tom Rini87e8d382021-08-30 09:16:31 -04002107config STATIC_MACH_TYPE
2108 bool "Statically define the Machine ID number"
2109 help
2110 When booting via ATAGs, enable this option if we know the correct
2111 machine ID number to use at compile time. Some systems will be
2112 passed the number dynamically by whatever loads U-Boot.
2113
2114config MACH_TYPE
2115 int "Machine ID number"
2116 depends on STATIC_MACH_TYPE
2117 help
2118 When booting via ATAGs, the machine type must be passed as a number.
2119 For the full list see https://www.arm.linux.org.uk/developer/machines
2120
AKASHI Takahiro6324d502019-07-03 10:44:39 +09002121config ARCH_SUPPORT_TFABOOT
2122 bool
2123
2124config TFABOOT
2125 bool "Support for booting from TF-A"
2126 depends on ARCH_SUPPORT_TFABOOT
AKASHI Takahiro6324d502019-07-03 10:44:39 +09002127 help
Andre Przywaracee2e022020-09-30 15:45:07 +01002128 Some platforms support the setup of secure registers (for instance
2129 for CPU errata handling) or provide secure services like PSCI.
2130 Those services could also be provided by other firmware parts
2131 like TF-A (Trusted Firmware for Cortex-A), in which case U-Boot
2132 does not need to (and cannot) execute this code.
2133 Enabling this option will make a U-Boot binary that is relying
2134 on other firmware layers to provide secure functionality.
AKASHI Takahiro6324d502019-07-03 10:44:39 +09002135
Andrew F. Davis5fbed8f2018-02-14 11:53:37 -06002136config TI_SECURE_DEVICE
2137 bool "HS Device Type Support"
Andrew F. Davis3a543a82019-04-12 12:54:45 -04002138 depends on ARCH_KEYSTONE || ARCH_OMAP2PLUS || ARCH_K3
Andrew F. Davis5fbed8f2018-02-14 11:53:37 -06002139 help
2140 If a high secure (HS) device type is being used, this config
2141 must be set. This option impacts various aspects of the
2142 build system (to create signed boot images that can be
2143 authenticated) and the code. See the doc/README.ti-secure
2144 file for further details.
2145
Tom Rini9c4b0132019-03-19 07:14:37 -04002146if AM43XX || AM33XX || OMAP54XX || ARCH_KEYSTONE
2147config ISW_ENTRY_ADDR
2148 hex "Address in memory or XIP address of bootloader entry point"
2149 default 0x402F4000 if AM43XX
2150 default 0x402F0400 if AM33XX
2151 default 0x40301350 if OMAP54XX
2152 help
2153 After any reset, the boot ROM searches the boot media for a valid
2154 boot image. For non-XIP devices, the ROM then copies the image into
2155 internal memory. For all boot modes, after the ROM processes the
2156 boot image it eventually computes the entry point address depending
2157 on the device type (secure/non-secure), boot media (xip/non-xip) and
2158 image headers.
2159endif
2160
Tom Rini440c00d2021-12-17 18:08:45 -05002161config SYS_KWD_CONFIG
2162 string "kwbimage config file path"
2163 depends on ARCH_KIRKWOOD || ARCH_MVEBU
2164 default "arch/arm/mach-mvebu/kwbimage.cfg"
2165 help
2166 Path within the source directory to the kwbimage.cfg file to use
2167 when packaging the U-Boot image for use.
2168
Mark Kettenis003b6572021-10-23 16:58:03 +02002169source "arch/arm/mach-apple/Kconfig"
2170
maxims@google.com4697abe2017-01-18 13:44:55 -08002171source "arch/arm/mach-aspeed/Kconfig"
2172
Masahiro Yamada4614b892015-02-20 17:04:01 +09002173source "arch/arm/mach-at91/Kconfig"
2174
Masahiro Yamadaddf6bd42015-03-19 19:42:56 +09002175source "arch/arm/mach-bcm283x/Kconfig"
Masahiro Yamada3491ba62014-08-31 07:11:01 +09002176
Thomas Fitzsimmons894c3ad2018-06-08 17:59:45 -04002177source "arch/arm/mach-bcmstb/Kconfig"
2178
Masahiro Yamadaddf6bd42015-03-19 19:42:56 +09002179source "arch/arm/mach-davinci/Kconfig"
Simon Glass34e609c2015-02-05 21:41:39 -07002180
Thomas Abraham77b55e82015-08-03 17:58:00 +05302181source "arch/arm/mach-exynos/Kconfig"
Masahiro Yamada72df68c2014-08-31 07:11:00 +09002182
Masahiro Yamada72a8ff42015-02-20 17:04:08 +09002183source "arch/arm/mach-highbank/Kconfig"
Masahiro Yamadaef2b6942014-08-31 07:11:07 +09002184
Masahiro Yamada5cbbd9b2015-04-21 21:59:36 +09002185source "arch/arm/mach-integrator/Kconfig"
2186
Robert Markoe479a7d2020-07-06 10:37:54 +02002187source "arch/arm/mach-ipq40xx/Kconfig"
2188
Lokesh Vutla586bde92018-08-27 15:57:08 +05302189source "arch/arm/mach-k3/Kconfig"
2190
Masahiro Yamada39a72342015-02-20 17:04:11 +09002191source "arch/arm/mach-keystone/Kconfig"
Masahiro Yamadac338f092014-08-31 07:11:05 +09002192
Masahiro Yamada56f86e32015-02-20 17:04:06 +09002193source "arch/arm/mach-kirkwood/Kconfig"
Masahiro Yamada47539e22014-08-31 07:10:59 +09002194
Trevor Woernerb3d9a8b2020-05-06 08:02:36 -04002195source "arch/arm/mach-lpc32xx/Kconfig"
Vladimir Zapolskiyee54dfe2018-09-17 21:43:03 +03002196
Stefan Roesec3d89142015-08-25 13:18:38 +02002197source "arch/arm/mach-mvebu/Kconfig"
2198
Suneel Garapati03c22882019-10-19 18:37:55 -07002199source "arch/arm/mach-octeontx/Kconfig"
Suneel Garapati0a668f62019-10-19 18:47:37 -07002200
2201source "arch/arm/mach-octeontx2/Kconfig"
2202
York Sun0a37cf82016-09-26 08:09:27 -07002203source "arch/arm/cpu/armv7/ls102xa/Kconfig"
2204
Magnus Lilja3159ec62018-05-11 14:06:54 +02002205source "arch/arm/mach-imx/mx3/Kconfig"
2206
Peng Fan7a7391f2018-01-10 13:20:19 +08002207source "arch/arm/mach-imx/mx5/Kconfig"
Adrian Alonso1a8150d2015-09-03 11:49:28 -05002208
Stefano Babic552a8482017-06-29 10:16:06 +02002209source "arch/arm/mach-imx/mx6/Kconfig"
Boris BREZILLON89ebc822015-03-04 13:13:03 +01002210
Peng Fan7a7391f2018-01-10 13:20:19 +08002211source "arch/arm/mach-imx/mx7/Kconfig"
2212
2213source "arch/arm/mach-imx/mx7ulp/Kconfig"
2214
Peng Fanb2b8b9b2018-10-18 14:28:08 +02002215source "arch/arm/mach-imx/imx8/Kconfig"
2216
Peng Fancd357ad2018-11-20 10:19:25 +00002217source "arch/arm/mach-imx/imx8m/Kconfig"
Andrej Rosano424ee3d2015-04-08 18:56:29 +02002218
Peng Fan19b990b2021-08-07 16:00:30 +08002219source "arch/arm/mach-imx/imx8ulp/Kconfig"
2220
Giulio Benetti77eb9a92020-01-10 15:51:47 +01002221source "arch/arm/mach-imx/imxrt/Kconfig"
2222
Stefan Agnerc5343d42018-02-06 09:44:34 +01002223source "arch/arm/mach-imx/mxs/Kconfig"
2224
Tom Rini983e3702016-11-07 21:34:54 -05002225source "arch/arm/mach-omap2/Kconfig"
Madan Srinivas63847262016-05-19 19:10:43 -05002226
York Sunda28e582016-09-26 08:09:24 -07002227source "arch/arm/cpu/armv8/fsl-layerscape/Kconfig"
2228
Masahiro Yamada3e93b4e2015-02-20 17:04:09 +09002229source "arch/arm/mach-orion5x/Kconfig"
Masahiro Yamada22f2be72014-08-31 07:11:06 +09002230
Manivannan Sadhasivam97775d22018-06-14 23:38:31 +05302231source "arch/arm/mach-owl/Kconfig"
2232
Nobuhiro Iwamatsubadbb632015-10-09 16:40:09 +09002233source "arch/arm/mach-rmobile/Kconfig"
Masahiro Yamadaf40b9892014-08-31 07:10:57 +09002234
Beniamino Galvanibfcef282016-05-08 08:30:16 +02002235source "arch/arm/mach-meson/Kconfig"
2236
Ryder Leecbd2fba2018-11-15 10:07:52 +08002237source "arch/arm/mach-mediatek/Kconfig"
2238
Tuomas Tynkkynen32f11822017-09-19 23:18:07 +03002239source "arch/arm/mach-qemu/Kconfig"
2240
Simon Glass2444dae2015-08-30 16:55:38 -06002241source "arch/arm/mach-rockchip/Kconfig"
2242
Minkyu Kang225f5ee2015-11-20 15:24:57 +09002243source "arch/arm/mach-s5pc1xx/Kconfig"
Simon Glass311757b2014-10-07 22:01:50 -06002244
Mateusz Kulikowski08592132016-03-31 23:12:32 +02002245source "arch/arm/mach-snapdragon/Kconfig"
2246
Masahiro Yamada7865f4b2015-04-21 20:38:20 +09002247source "arch/arm/mach-socfpga/Kconfig"
2248
Patrice Chotard94e9a4e2017-02-21 13:37:04 +01002249source "arch/arm/mach-sti/Kconfig"
2250
Vikas Manocha0a61ee82016-01-15 17:49:06 -08002251source "arch/arm/mach-stm32/Kconfig"
2252
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01002253source "arch/arm/mach-stm32mp/Kconfig"
2254
Masahiro Yamada3abfd882017-04-28 19:42:18 +09002255source "arch/arm/mach-sunxi/Kconfig"
2256
Masahiro Yamada09f455d2015-02-20 17:04:04 +09002257source "arch/arm/mach-tegra/Kconfig"
Masahiro Yamadaddd960e2014-08-31 07:10:56 +09002258
Stephan Gerhold689088f2020-01-04 18:45:17 +01002259source "arch/arm/mach-u8500/Kconfig"
2260
Masahiro Yamada4c425572015-02-27 02:26:42 +09002261source "arch/arm/mach-uniphier/Kconfig"
Masahiro Yamada66cba042014-10-03 19:21:07 +09002262
Stefan Agner7966b432017-03-13 18:41:36 -07002263source "arch/arm/cpu/armv7/vf610/Kconfig"
2264
Masahiro Yamada0107f242015-03-16 16:43:22 +09002265source "arch/arm/mach-zynq/Kconfig"
Masahiro Yamadaddd960e2014-08-31 07:10:56 +09002266
Michal Simek274ccb52019-01-17 08:22:43 +01002267source "arch/arm/mach-zynqmp/Kconfig"
2268
Michal Simekec48b6c2018-08-22 14:55:27 +02002269source "arch/arm/mach-versal/Kconfig"
2270
Michal Simek1d6c54e2018-04-12 17:39:46 +02002271source "arch/arm/mach-zynqmp-r5/Kconfig"
2272
Hans de Goedeea624e12014-11-14 09:34:30 +01002273source "arch/arm/cpu/armv7/Kconfig"
2274
Linus Walleij23b58772015-03-09 10:53:21 +01002275source "arch/arm/cpu/armv8/Kconfig"
2276
Stefano Babic552a8482017-06-29 10:16:06 +02002277source "arch/arm/mach-imx/Kconfig"
Boris BREZILLONa05a6042015-03-04 13:13:04 +01002278
Stefan Bosch95e9a8e2020-07-10 19:07:26 +02002279source "arch/arm/mach-nexell/Kconfig"
2280
Usama Arif565add12020-08-12 16:12:53 +01002281source "board/armltd/total_compute/Kconfig"
2282
Heiko Schocherd8ccbe92016-06-07 08:31:25 +02002283source "board/bosch/shc/Kconfig"
Sjoerd Simons45123802019-02-25 15:33:00 +00002284source "board/bosch/guardian/Kconfig"
Suneel Garapati03c22882019-10-19 18:37:55 -07002285source "board/Marvell/octeontx/Kconfig"
Suneel Garapati0a668f62019-10-19 18:47:37 -07002286source "board/Marvell/octeontx2/Kconfig"
Kristian Amlie15e30102021-09-07 08:37:51 +02002287source "board/armltd/vexpress/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09002288source "board/armltd/vexpress64/Kconfig"
Alex Nemirovsky7d706a82020-01-30 12:34:59 -08002289source "board/cortina/presidio-asic/Kconfig"
Philippe Reynesbe2fc082019-01-31 18:57:36 +01002290source "board/broadcom/bcm963158/Kconfig"
Philippe Reynesa241ccd2022-02-11 19:18:38 +01002291source "board/broadcom/bcm96753ref/Kconfig"
Philippe Reynes645b7ec2020-01-07 20:14:17 +01002292source "board/broadcom/bcm968360bg/Kconfig"
Philippe Reynes40b59b02018-10-11 18:31:58 +02002293source "board/broadcom/bcm968580xref/Kconfig"
Rayagonda Kokatanur291635a2020-07-15 22:48:55 +05302294source "board/broadcom/bcmns3/Kconfig"
Sergey Temerkhanov746f9852015-10-14 09:55:50 -07002295source "board/cavium/thunderx/Kconfig"
Felix Brack85ab0452018-01-23 18:27:22 +01002296source "board/eets/pdu001/Kconfig"
Bin Meng6f332762018-10-15 02:21:18 -07002297source "board/emulation/qemu-arm/Kconfig"
Prabhakar Kushwaha44937212015-11-09 16:42:07 +05302298source "board/freescale/ls2080aqds/Kconfig"
2299source "board/freescale/ls2080ardb/Kconfig"
Ashish Kumare84a3242017-08-31 16:12:54 +05302300source "board/freescale/ls1088a/Kconfig"
Yuantian Tang353f36d2019-04-10 16:43:34 +08002301source "board/freescale/ls1028a/Kconfig"
Wang Huan550e3dc2014-09-05 13:52:44 +08002302source "board/freescale/ls1021aqds/Kconfig"
Shaohui Xie02b5d2e2015-11-11 17:58:37 +08002303source "board/freescale/ls1043aqds/Kconfig"
Wang Huanc8a7d9d2014-09-05 13:52:45 +08002304source "board/freescale/ls1021atwr/Kconfig"
Jianchao Wang87821222019-07-19 00:30:01 +03002305source "board/freescale/ls1021atsn/Kconfig"
Feng Li20c700f2016-11-03 14:15:17 +08002306source "board/freescale/ls1021aiot/Kconfig"
Shaohui Xie126fe702016-09-07 17:56:14 +08002307source "board/freescale/ls1046aqds/Kconfig"
Mingkai Huf3a8e2b2015-10-26 19:47:52 +08002308source "board/freescale/ls1043ardb/Kconfig"
Mingkai Hudd029362016-09-07 18:47:28 +08002309source "board/freescale/ls1046ardb/Kconfig"
Vabhav Sharmad90c7ac2019-06-06 12:35:28 +00002310source "board/freescale/ls1046afrwy/Kconfig"
Prabhakar Kushwaha9d044fc2016-06-03 18:41:34 +05302311source "board/freescale/ls1012aqds/Kconfig"
Prabhakar Kushwaha3b6e3892016-06-03 18:41:35 +05302312source "board/freescale/ls1012ardb/Kconfig"
Prabhakar Kushwahaff78aa22016-06-03 18:41:36 +05302313source "board/freescale/ls1012afrdm/Kconfig"
Priyanka Jain58c3e622018-11-28 13:04:27 +00002314source "board/freescale/lx2160a/Kconfig"
Marcin Niestrojab38bf62017-01-25 09:53:08 +01002315source "board/grinn/chiliboard/Kconfig"
Tom Rini345243e2015-09-02 15:32:20 -04002316source "board/hisilicon/hikey/Kconfig"
Manivannan Sadhasivamc62c7ef2019-08-02 20:40:09 +05302317source "board/hisilicon/hikey960/Kconfig"
Jorge Ramirez-Ortizd7542542017-06-26 15:52:49 +02002318source "board/hisilicon/poplar/Kconfig"
Ladislav Michla96c08f2017-04-01 17:17:16 +02002319source "board/isee/igep003x/Kconfig"
Michael Walle4ceb5c62020-10-15 23:08:57 +02002320source "board/kontron/sl28/Kconfig"
Parthiban Nallathambi10e959a2020-07-27 16:48:41 +02002321source "board/myir/mys_6ulx/Kconfig"
Navin Sankar Velliangiria3a0bc82021-05-18 09:03:20 +05302322source "board/seeed/npi_imx6ull/Kconfig"
Masami Hiramatsu5cd4a352021-06-04 18:45:10 +09002323source "board/socionext/developerbox/Kconfig"
Vikas Manocha9fa32b12014-11-18 10:42:22 -08002324source "board/st/stv0991/Kconfig"
Enric Balletbò i Serra9d1b2982015-09-07 07:43:20 +02002325source "board/tcl/sl50/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09002326source "board/toradex/colibri_pxa270/Kconfig"
Mathew McBridea1d2fd32022-01-31 18:34:43 +05302327source "board/traverse/ten64/Kconfig"
Parthiban Nallathambid8d33b62019-04-18 00:04:09 +02002328source "board/variscite/dart_6ul/Kconfig"
Yegor Yefremov6ce89322015-05-29 19:27:29 +02002329source "board/vscom/baltos/Kconfig"
liu haoe3aafef2019-10-31 07:51:08 +00002330source "board/phytium/durian/Kconfig"
weichangzhengb9d0f002022-03-02 15:09:05 +08002331source "board/phytium/pomelo/Kconfig"
Andrii Anisov770a8ee2020-08-06 12:42:47 +03002332source "board/xen/xenguest_arm64/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09002333
Masahiro Yamada51b17d42014-09-01 11:06:34 +09002334source "arch/arm/Kconfig.debug"
2335
Masahiro Yamadadd840582014-07-30 14:08:14 +09002336endmenu
Philipp Tomsichb5299932017-08-03 23:23:55 +02002337
2338config SPL_LDSCRIPT
Michal Simek6e7bdde2018-07-23 15:55:12 +02002339 default "arch/arm/cpu/arm926ejs/mxs/u-boot-spl.lds" if (ARCH_MX23 || ARCH_MX28) && !SPL_FRAMEWORK
2340 default "arch/arm/cpu/arm1136/u-boot-spl.lds" if CPU_ARM1136
Philipp Tomsichb5299932017-08-03 23:23:55 +02002341 default "arch/arm/cpu/armv8/u-boot-spl.lds" if ARM64