blob: 95557d6ed6bde056e5de7c937fe8f9589c17b09a [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
Masahiro Yamada016a9542014-09-14 03:01:51 +090011
Stephen Warren49e93872017-11-02 18:11:27 -060012if ARM64
13config POSITION_INDEPENDENT
14 bool "Generate position-independent pre-relocation code"
15 help
16 U-Boot expects to be linked to a specific hard-coded address, and to
17 be loaded to and run from that address. This option lifts that
Edgar E. Iglesias11f4fbf2020-09-09 19:07:24 +020018 restriction, thus allowing the code to be loaded to and executed from
19 almost any 4K aligned address. This logic relies on the relocation
Robert P. J. Daye852b302019-12-25 06:34:07 -050020 information that is embedded in the binary to support U-Boot
Stephen Warren49e93872017-11-02 18:11:27 -060021 relocating itself to the top-of-RAM later during execution.
Stephen Warrene6c90442017-12-19 18:30:36 -070022
Masahiro Yamada382de4a2019-06-26 13:51:46 +090023config INIT_SP_RELATIVE
24 bool "Specify the early stack pointer relative to the .bss section"
Andre Przywaraf5cb6c32020-09-30 17:39:18 +010025 default n if ARCH_QEMU
Andre Przywara12650e42020-09-30 17:39:15 +010026 default y if POSITION_INDEPENDENT
Stephen Warrene6c90442017-12-19 18:30:36 -070027 help
28 U-Boot typically uses a hard-coded value for the stack pointer
Masahiro Yamada382de4a2019-06-26 13:51:46 +090029 before relocation. Enable this option to instead calculate the
Stephen Warrene6c90442017-12-19 18:30:36 -070030 initial SP at run-time. This is useful to avoid hard-coding addresses
Robert P. J. Daye852b302019-12-25 06:34:07 -050031 into U-Boot, so that it can be loaded and executed at arbitrary
Masahiro Yamada382de4a2019-06-26 13:51:46 +090032 addresses and thus avoid using arbitrary addresses at runtime.
33
34 If this option is enabled, the early stack pointer is set to
35 &_bss_start with a offset value added. The offset is specified by
36 SYS_INIT_SP_BSS_OFFSET.
37
38config SYS_INIT_SP_BSS_OFFSET
39 int "Early stack offset from the .bss base address"
40 depends on INIT_SP_RELATIVE
41 default 524288
42 help
43 This option's value is the offset added to &_bss_start in order to
Stephen Warrene6c90442017-12-19 18:30:36 -070044 calculate the stack pointer. This offset should be large enough so
45 that the early malloc region, global data (gd), and early stack usage
46 do not overlap any appended DTB.
Stephen Warren8163faf2018-01-03 14:31:51 -070047
48config LINUX_KERNEL_IMAGE_HEADER
49 bool
50 help
51 Place a Linux kernel image header at the start of the U-Boot binary.
52 The format of the header is described in the Linux kernel source at
53 Documentation/arm64/booting.txt. This feature is useful since the
54 image header reports the amount of memory (BSS and similar) that
55 U-Boot needs to use, but which isn't part of the binary.
56
57if LINUX_KERNEL_IMAGE_HEADER
58config LNX_KRNL_IMG_TEXT_OFFSET_BASE
59 hex
60 help
61 The value subtracted from CONFIG_SYS_TEXT_BASE to calculate the
Robert P. J. Daye852b302019-12-25 06:34:07 -050062 TEXT_OFFSET value written to the Linux kernel image header.
Stephen Warren8163faf2018-01-03 14:31:51 -070063endif
Stephen Warren49e93872017-11-02 18:11:27 -060064endif
65
Bharat Kumar Reddy Gooty0bc43562019-12-16 09:09:43 -080066config GIC_V3_ITS
67 bool "ARM GICV3 ITS"
Rayagonda Kokatanur2ae7adc2020-07-26 22:37:33 +053068 select REGMAP
69 select SYSCON
Bharat Kumar Reddy Gooty0bc43562019-12-16 09:09:43 -080070 help
71 ARM GICV3 Interrupt translation service (ITS).
72 Basic support for programming locality specific peripheral
73 interrupts (LPI) configuration tables and enable LPI tables.
74 LPI configuration table can be used by u-boot or Linux.
75 ARM GICV3 has limitation, once the LPI table is enabled, LPI
76 configuration table can not be re-programmed, unless GICV3 reset.
77
Stephen Warren49e93872017-11-02 18:11:27 -060078config STATIC_RELA
79 bool
Andre Przywaraeabc0902020-09-30 17:39:13 +010080 default y if ARM64
Stephen Warren49e93872017-11-02 18:11:27 -060081
Lokesh Vutla37217f02016-03-24 16:02:00 +053082config DMA_ADDR_T_64BIT
83 bool
84 default y if ARM64
85
Georges Savoundararadj2e07c242014-10-28 23:16:09 +010086config HAS_VBAR
Tom Rinie009bfa2016-08-22 08:22:18 -040087 bool
Georges Savoundararadj2e07c242014-10-28 23:16:09 +010088
Albert ARIBAUD62e92072015-10-23 18:06:40 +020089config HAS_THUMB2
Tom Rinie009bfa2016-08-22 08:22:18 -040090 bool
Albert ARIBAUD62e92072015-10-23 18:06:40 +020091
Phil Edworthy111a6af2017-06-01 07:33:28 +010092# Used for compatibility with asm files copied from the kernel
93config ARM_ASM_UNIFIED
94 bool
95 default y
96
97# Used for compatibility with asm files copied from the kernel
98config THUMB2_KERNEL
99 bool
100
Trevor Woernera0aba8a2019-05-03 09:40:59 -0400101config SYS_ICACHE_OFF
102 bool "Do not enable icache"
103 default n
104 help
105 Do not enable instruction cache in U-Boot.
106
Trevor Woerner10015022019-05-03 09:41:00 -0400107config SPL_SYS_ICACHE_OFF
108 bool "Do not enable icache in SPL"
109 depends on SPL
110 default SYS_ICACHE_OFF
111 help
112 Do not enable instruction cache in SPL.
113
Trevor Woernera0aba8a2019-05-03 09:40:59 -0400114config SYS_DCACHE_OFF
115 bool "Do not enable dcache"
116 default n
117 help
118 Do not enable data cache in U-Boot.
119
Trevor Woerner10015022019-05-03 09:41:00 -0400120config SPL_SYS_DCACHE_OFF
121 bool "Do not enable dcache in SPL"
122 depends on SPL
123 default SYS_DCACHE_OFF
124 help
125 Do not enable data cache in SPL.
126
Lokesh Vutlaf4bcd762018-04-26 18:21:28 +0530127config SYS_ARM_CACHE_CP15
128 bool "CP15 based cache enabling support"
129 help
130 Select this if your processor suports enabling caches by using
131 CP15 registers.
132
Lokesh Vutla7240b802018-04-26 18:21:27 +0530133config SYS_ARM_MMU
134 bool "MMU-based Paged Memory Management Support"
Lokesh Vutlaf4bcd762018-04-26 18:21:28 +0530135 select SYS_ARM_CACHE_CP15
Lokesh Vutla7240b802018-04-26 18:21:27 +0530136 help
137 Select if you want MMU-based virtualised addressing space
Robert P. J. Daye852b302019-12-25 06:34:07 -0500138 support via paged memory management.
Lokesh Vutla7240b802018-04-26 18:21:27 +0530139
Lokesh Vutlaf2ef2042018-04-26 18:21:30 +0530140config SYS_ARM_MPU
141 bool 'Use the ARM v7 PMSA Compliant MPU'
142 help
143 Some ARM systems without an MMU have instead a Memory Protection
144 Unit (MPU) that defines the type and permissions for regions of
145 memory.
146 If your CPU has an MPU then you should choose 'y' here unless you
147 know that you do not want to use the MPU.
148
Tom Rini8dda2e22017-03-07 07:13:42 -0500149# If set, the workarounds for these ARM errata are applied early during U-Boot
150# startup. Note that in general these options force the workarounds to be
151# applied; no CPU-type/version detection exists, unlike the similar options in
152# the Linux kernel. Do not set these options unless they apply! Also note that
Robert P. J. Daye852b302019-12-25 06:34:07 -0500153# the following can be machine-specific errata. These do have ability to
154# provide rudimentary version and machine-specific checks, but expect no
Tom Rini8dda2e22017-03-07 07:13:42 -0500155# product checks:
156# CONFIG_ARM_ERRATA_430973
157# CONFIG_ARM_ERRATA_454179
158# CONFIG_ARM_ERRATA_621766
159# CONFIG_ARM_ERRATA_798870
160# CONFIG_ARM_ERRATA_801819
Nishanth Menon7b37a9c2018-06-12 15:24:08 -0500161# CONFIG_ARM_CORTEX_A8_CVE_2017_5715
Nishanth Menonc2ca3fd2018-06-12 15:24:09 -0500162# CONFIG_ARM_CORTEX_A15_CVE_2017_5715
Nishanth Menon7b37a9c2018-06-12 15:24:08 -0500163
Tom Rini8dda2e22017-03-07 07:13:42 -0500164config ARM_ERRATA_430973
165 bool
166
167config ARM_ERRATA_454179
168 bool
169
170config ARM_ERRATA_621766
171 bool
172
173config ARM_ERRATA_716044
174 bool
175
Siarhei Siamashka19a75b82017-03-06 03:16:53 +0200176config ARM_ERRATA_725233
177 bool
178
Tom Rini8dda2e22017-03-07 07:13:42 -0500179config ARM_ERRATA_742230
180 bool
181
182config ARM_ERRATA_743622
183 bool
184
185config ARM_ERRATA_751472
186 bool
187
188config ARM_ERRATA_761320
189 bool
190
191config ARM_ERRATA_773022
192 bool
193
194config ARM_ERRATA_774769
195 bool
196
197config ARM_ERRATA_794072
198 bool
199
200config ARM_ERRATA_798870
201 bool
202
203config ARM_ERRATA_801819
204 bool
205
206config ARM_ERRATA_826974
207 bool
208
209config ARM_ERRATA_828024
210 bool
211
212config ARM_ERRATA_829520
213 bool
214
215config ARM_ERRATA_833069
216 bool
217
218config ARM_ERRATA_833471
219 bool
220
Peng Fan11d94312017-08-08 13:34:52 +0800221config ARM_ERRATA_845369
Michal Simek6e7bdde2018-07-23 15:55:12 +0200222 bool
Peng Fan11d94312017-08-08 13:34:52 +0800223
Nisal Menuka87763502017-04-26 16:18:01 -0500224config ARM_ERRATA_852421
225 bool
226
227config ARM_ERRATA_852423
228 bool
229
Alison Wangab0ab542017-12-28 13:00:55 +0800230config ARM_ERRATA_855873
231 bool
232
Nishanth Menon7b37a9c2018-06-12 15:24:08 -0500233config ARM_CORTEX_A8_CVE_2017_5715
234 bool
235
Nishanth Menonc2ca3fd2018-06-12 15:24:09 -0500236config ARM_CORTEX_A15_CVE_2017_5715
237 bool
238
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100239config CPU_ARM720T
Tom Rinie009bfa2016-08-22 08:22:18 -0400240 bool
Tom Rini067716b2016-08-22 08:22:17 -0400241 select SYS_CACHE_SHIFT_5
Lokesh Vutla7240b802018-04-26 18:21:27 +0530242 imply SYS_ARM_MMU
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100243
244config CPU_ARM920T
Tom Rinie009bfa2016-08-22 08:22:18 -0400245 bool
Tom Rini067716b2016-08-22 08:22:17 -0400246 select SYS_CACHE_SHIFT_5
Lokesh Vutla7240b802018-04-26 18:21:27 +0530247 imply SYS_ARM_MMU
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100248
249config CPU_ARM926EJS
Tom Rinie009bfa2016-08-22 08:22:18 -0400250 bool
Tom Rini067716b2016-08-22 08:22:17 -0400251 select SYS_CACHE_SHIFT_5
Lokesh Vutla7240b802018-04-26 18:21:27 +0530252 imply SYS_ARM_MMU
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100253
254config CPU_ARM946ES
Tom Rinie009bfa2016-08-22 08:22:18 -0400255 bool
Tom Rini067716b2016-08-22 08:22:17 -0400256 select SYS_CACHE_SHIFT_5
Lokesh Vutla7240b802018-04-26 18:21:27 +0530257 imply SYS_ARM_MMU
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100258
259config CPU_ARM1136
Tom Rinie009bfa2016-08-22 08:22:18 -0400260 bool
Tom Rini067716b2016-08-22 08:22:17 -0400261 select SYS_CACHE_SHIFT_5
Lokesh Vutla7240b802018-04-26 18:21:27 +0530262 imply SYS_ARM_MMU
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100263
264config CPU_ARM1176
Tom Rinie009bfa2016-08-22 08:22:18 -0400265 bool
266 select HAS_VBAR
Tom Rini067716b2016-08-22 08:22:17 -0400267 select SYS_CACHE_SHIFT_5
Lokesh Vutla7240b802018-04-26 18:21:27 +0530268 imply SYS_ARM_MMU
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100269
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530270config CPU_V7A
Tom Rinie009bfa2016-08-22 08:22:18 -0400271 bool
Tom Rinie009bfa2016-08-22 08:22:18 -0400272 select HAS_THUMB2
Michal Simek5ed063d2018-07-23 15:55:13 +0200273 select HAS_VBAR
Tom Rini067716b2016-08-22 08:22:17 -0400274 select SYS_CACHE_SHIFT_6
Lokesh Vutla7240b802018-04-26 18:21:27 +0530275 imply SYS_ARM_MMU
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100276
rev13@wp.pl12d8a722015-03-01 12:44:39 +0100277config CPU_V7M
278 bool
Tom Rinie009bfa2016-08-22 08:22:18 -0400279 select HAS_THUMB2
Lokesh Vutlaf2ef2042018-04-26 18:21:30 +0530280 select SYS_ARM_MPU
Michal Simek5ed063d2018-07-23 15:55:13 +0200281 select SYS_CACHE_SHIFT_5
Tom Riniea37f0b2018-05-07 20:46:52 -0400282 select SYS_THUMB_BUILD
Michal Simek5ed063d2018-07-23 15:55:13 +0200283 select THUMB2_KERNEL
rev13@wp.pl12d8a722015-03-01 12:44:39 +0100284
Michal Simek4bbd6b12018-04-26 18:21:29 +0530285config CPU_V7R
286 bool
287 select HAS_THUMB2
Lokesh Vutlaf2ef2042018-04-26 18:21:30 +0530288 select SYS_ARM_CACHE_CP15
Michal Simek5ed063d2018-07-23 15:55:13 +0200289 select SYS_ARM_MPU
290 select SYS_CACHE_SHIFT_6
Michal Simek4bbd6b12018-04-26 18:21:29 +0530291
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100292config CPU_PXA
Tom Rinie009bfa2016-08-22 08:22:18 -0400293 bool
Tom Rini067716b2016-08-22 08:22:17 -0400294 select SYS_CACHE_SHIFT_5
Lokesh Vutla7240b802018-04-26 18:21:27 +0530295 imply SYS_ARM_MMU
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100296
297config CPU_SA1100
Tom Rinie009bfa2016-08-22 08:22:18 -0400298 bool
Tom Rini067716b2016-08-22 08:22:17 -0400299 select SYS_CACHE_SHIFT_5
Lokesh Vutla7240b802018-04-26 18:21:27 +0530300 imply SYS_ARM_MMU
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100301
302config SYS_CPU
Tom Rinie009bfa2016-08-22 08:22:18 -0400303 default "arm720t" if CPU_ARM720T
304 default "arm920t" if CPU_ARM920T
305 default "arm926ejs" if CPU_ARM926EJS
306 default "arm946es" if CPU_ARM946ES
307 default "arm1136" if CPU_ARM1136
308 default "arm1176" if CPU_ARM1176
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530309 default "armv7" if CPU_V7A
Michal Simek4bbd6b12018-04-26 18:21:29 +0530310 default "armv7" if CPU_V7R
Tom Rinie009bfa2016-08-22 08:22:18 -0400311 default "armv7m" if CPU_V7M
312 default "pxa" if CPU_PXA
313 default "sa1100" if CPU_SA1100
Masahiro Yamada01541ee2014-11-06 11:39:27 +0900314 default "armv8" if ARM64
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100315
Marek Vasut66020a62016-05-26 18:01:36 +0200316config SYS_ARM_ARCH
317 int
318 default 4 if CPU_ARM720T
319 default 4 if CPU_ARM920T
320 default 5 if CPU_ARM926EJS
321 default 5 if CPU_ARM946ES
322 default 6 if CPU_ARM1136
323 default 6 if CPU_ARM1176
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530324 default 7 if CPU_V7A
Marek Vasut66020a62016-05-26 18:01:36 +0200325 default 7 if CPU_V7M
Michal Simek4bbd6b12018-04-26 18:21:29 +0530326 default 7 if CPU_V7R
Marek Vasut66020a62016-05-26 18:01:36 +0200327 default 5 if CPU_PXA
328 default 4 if CPU_SA1100
329 default 8 if ARM64
330
Tom Rini067716b2016-08-22 08:22:17 -0400331config SYS_CACHE_SHIFT_5
332 bool
333
334config SYS_CACHE_SHIFT_6
335 bool
336
337config SYS_CACHE_SHIFT_7
338 bool
339
340config SYS_CACHELINE_SIZE
341 int
342 default 128 if SYS_CACHE_SHIFT_7
343 default 64 if SYS_CACHE_SHIFT_6
344 default 32 if SYS_CACHE_SHIFT_5
345
Patrick Delaunayf8dc7f22020-04-10 16:02:02 +0200346choice
347 prompt "Select the ARM data write cache policy"
348 default SYS_ARM_CACHE_WRITETHROUGH if TARGET_BCMCYGNUS || \
349 TARGET_BCMNSP || CPU_PXA || RZA1
350 default SYS_ARM_CACHE_WRITEBACK
351
352config SYS_ARM_CACHE_WRITEBACK
353 bool "Write-back (WB)"
354 help
355 A write updates the cache only and marks the cache line as dirty.
356 External memory is updated only when the line is evicted or explicitly
357 cleaned.
358
359config SYS_ARM_CACHE_WRITETHROUGH
360 bool "Write-through (WT)"
361 help
362 A write updates both the cache and the external memory system.
363 This does not mark the cache line as dirty.
364
365config SYS_ARM_CACHE_WRITEALLOC
366 bool "Write allocation (WA)"
367 help
368 A cache line is allocated on a write miss. This means that executing a
369 store instruction on the processor might cause a burst read to occur.
370 There is a linefill to obtain the data for the cache line, before the
371 write is performed.
372endchoice
373
Adam Ford1bf33012019-08-14 08:29:25 -0500374config ARCH_CPU_INIT
375 bool "Enable ARCH_CPU_INIT"
376 help
Robert P. J. Daye852b302019-12-25 06:34:07 -0500377 Some architectures require a call to arch_cpu_init().
Adam Ford1bf33012019-08-14 08:29:25 -0500378 Say Y here to enable it
379
Andre Przywara7842b6a2018-04-12 04:24:46 +0300380config SYS_ARCH_TIMER
381 bool "ARM Generic Timer support"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530382 depends on CPU_V7A || ARM64
Andre Przywara7842b6a2018-04-12 04:24:46 +0300383 default y if ARM64
384 help
385 The ARM Generic Timer (aka arch-timer) provides an architected
386 interface to a timer source on an SoC.
Robert P. J. Daye852b302019-12-25 06:34:07 -0500387 It is mandatory for ARMv8 implementation and widely available
Andre Przywara7842b6a2018-04-12 04:24:46 +0300388 on ARMv7 systems.
389
Masahiro Yamadac54bcf62017-04-14 11:10:23 +0900390config ARM_SMCCC
391 bool "Support for ARM SMC Calling Convention (SMCCC)"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530392 depends on CPU_V7A || ARM64
Masahiro Yamada573a3812017-04-14 11:10:24 +0900393 select ARM_PSCI_FW
Masahiro Yamadac54bcf62017-04-14 11:10:23 +0900394 help
395 Say Y here if you want to enable ARM SMC Calling Convention.
396 This should be enabled if U-Boot needs to communicate with system
397 firmware (for example, PSCI) according to SMCCC.
398
Linus Walleijf91afc42015-01-23 11:50:53 +0100399config SEMIHOSTING
400 bool "support boot from semihosting"
401 help
402 In emulated environments, semihosting is a way for
403 the hosted environment to call out to the emulator to
404 retrieve files from the host machine.
405
Tom Rini3a649402017-03-18 09:01:44 -0400406config SYS_THUMB_BUILD
407 bool "Build U-Boot using the Thumb instruction set"
408 depends on !ARM64
409 help
410 Use this flag to build U-Boot using the Thumb instruction set for
411 ARM architectures. Thumb instruction set provides better code
412 density. For ARM architectures that support Thumb2 this flag will
413 result in Thumb2 code generated by GCC.
414
415config SPL_SYS_THUMB_BUILD
416 bool "Build SPL using the Thumb instruction set"
417 default y if SYS_THUMB_BUILD
Adam Ford05705562019-08-13 14:32:30 -0500418 depends on !ARM64 && SPL
Tom Rini3a649402017-03-18 09:01:44 -0400419 help
420 Use this flag to build SPL using the Thumb instruction set for
421 ARM architectures. Thumb instruction set provides better code
422 density. For ARM architectures that support Thumb2 this flag will
423 result in Thumb2 code generated by GCC.
424
Kever Yang1e32c512019-04-02 20:41:20 +0800425config TPL_SYS_THUMB_BUILD
426 bool "Build TPL using the Thumb instruction set"
427 default y if SYS_THUMB_BUILD
428 depends on TPL && !ARM64
429 help
Robert P. J. Daye852b302019-12-25 06:34:07 -0500430 Use this flag to build TPL using the Thumb instruction set for
Kever Yang1e32c512019-04-02 20:41:20 +0800431 ARM architectures. Thumb instruction set provides better code
432 density. For ARM architectures that support Thumb2 this flag will
433 result in Thumb2 code generated by GCC.
434
435
Peng Fanf3e9bec2015-08-19 15:48:57 +0800436config SYS_L2CACHE_OFF
437 bool "L2cache off"
438 help
Robert P. J. Daye852b302019-12-25 06:34:07 -0500439 If SoC does not support L2CACHE or one does not want to enable
Peng Fanf3e9bec2015-08-19 15:48:57 +0800440 L2CACHE, choose this option.
441
Andre Przywaracdaa6332016-05-31 10:45:06 -0700442config ENABLE_ARM_SOC_BOOT0_HOOK
443 bool "prepare BOOT0 header"
444 help
445 If the SoC's BOOT0 requires a header area filled with (magic)
Simon Goldschmidt7d531e82018-02-13 13:18:00 +0100446 values, then choose this option, and create a file included as
447 <asm/arch/boot0.h> which contains the required assembler code.
Andre Przywaracdaa6332016-05-31 10:45:06 -0700448
Andre Przywara85db5832017-02-16 01:20:21 +0000449config ARM_CORTEX_CPU_IS_UP
450 bool
451 default n
452
Fabio Estevambe725912016-12-15 19:30:40 -0200453config USE_ARCH_MEMCPY
454 bool "Use an assembly optimized implementation of memcpy"
Tom Rini40d55342017-01-12 13:16:02 -0500455 default y
456 depends on !ARM64
457 help
458 Enable the generation of an optimized version of memcpy.
Robert P. J. Daye852b302019-12-25 06:34:07 -0500459 Such an implementation may be faster under some conditions
Tom Rini40d55342017-01-12 13:16:02 -0500460 but may increase the binary size.
461
462config SPL_USE_ARCH_MEMCPY
Andy Yanf8136e62017-06-28 16:27:37 +0800463 bool "Use an assembly optimized implementation of memcpy for SPL"
Tom Rini40d55342017-01-12 13:16:02 -0500464 default y if USE_ARCH_MEMCPY
Adam Ford05705562019-08-13 14:32:30 -0500465 depends on !ARM64 && SPL
Fabio Estevambe725912016-12-15 19:30:40 -0200466 help
467 Enable the generation of an optimized version of memcpy.
Robert P. J. Daye852b302019-12-25 06:34:07 -0500468 Such an implementation may be faster under some conditions
Fabio Estevambe725912016-12-15 19:30:40 -0200469 but may increase the binary size.
470
Kever Yang1e32c512019-04-02 20:41:20 +0800471config TPL_USE_ARCH_MEMCPY
472 bool "Use an assembly optimized implementation of memcpy for TPL"
473 default y if USE_ARCH_MEMCPY
Adam Ford05705562019-08-13 14:32:30 -0500474 depends on !ARM64 && TPL
Kever Yang1e32c512019-04-02 20:41:20 +0800475 help
476 Enable the generation of an optimized version of memcpy.
Robert P. J. Daye852b302019-12-25 06:34:07 -0500477 Such an implementation may be faster under some conditions
Kever Yang1e32c512019-04-02 20:41:20 +0800478 but may increase the binary size.
479
Fabio Estevambe725912016-12-15 19:30:40 -0200480config USE_ARCH_MEMSET
481 bool "Use an assembly optimized implementation of memset"
Tom Rini40d55342017-01-12 13:16:02 -0500482 default y
483 depends on !ARM64
484 help
485 Enable the generation of an optimized version of memset.
Robert P. J. Daye852b302019-12-25 06:34:07 -0500486 Such an implementation may be faster under some conditions
Tom Rini40d55342017-01-12 13:16:02 -0500487 but may increase the binary size.
488
489config SPL_USE_ARCH_MEMSET
Andy Yanf8136e62017-06-28 16:27:37 +0800490 bool "Use an assembly optimized implementation of memset for SPL"
Tom Rini40d55342017-01-12 13:16:02 -0500491 default y if USE_ARCH_MEMSET
Adam Ford05705562019-08-13 14:32:30 -0500492 depends on !ARM64 && SPL
Fabio Estevambe725912016-12-15 19:30:40 -0200493 help
494 Enable the generation of an optimized version of memset.
Robert P. J. Daye852b302019-12-25 06:34:07 -0500495 Such an implementation may be faster under some conditions
Fabio Estevambe725912016-12-15 19:30:40 -0200496 but may increase the binary size.
497
Kever Yang1e32c512019-04-02 20:41:20 +0800498config TPL_USE_ARCH_MEMSET
499 bool "Use an assembly optimized implementation of memset for TPL"
500 default y if USE_ARCH_MEMSET
Adam Ford05705562019-08-13 14:32:30 -0500501 depends on !ARM64 && TPL
Kever Yang1e32c512019-04-02 20:41:20 +0800502 help
503 Enable the generation of an optimized version of memset.
Robert P. J. Daye852b302019-12-25 06:34:07 -0500504 Such an implementation may be faster under some conditions
Kever Yang1e32c512019-04-02 20:41:20 +0800505 but may increase the binary size.
506
Alison Wangec6617c2016-11-10 10:49:03 +0800507config ARM64_SUPPORT_AARCH32
508 bool "ARM64 system support AArch32 execution state"
Adam Ford05705562019-08-13 14:32:30 -0500509 depends on ARM64
510 default y if !TARGET_THUNDERX_88XX
Alison Wangec6617c2016-11-10 10:49:03 +0800511 help
512 This ARM64 system supports AArch32 execution state.
513
Masahiro Yamadadd840582014-07-30 14:08:14 +0900514choice
515 prompt "Target select"
Simon Glassb928e652015-08-30 19:19:30 -0600516 default TARGET_HIKEY
Masahiro Yamadadd840582014-07-30 14:08:14 +0900517
Masahiro Yamada4614b892015-02-20 17:04:01 +0900518config ARCH_AT91
519 bool "Atmel AT91"
Tom Rinif58e9462018-05-10 07:15:52 -0400520 select SPL_BOARD_INIT if SPL && !TARGET_SMARTWEB
Gregory CLEMENTc7c120c2020-06-05 10:43:36 +0200521 select SPL_SEPARATE_BSS if SPL
Masahiro Yamadadd840582014-07-30 14:08:14 +0900522
523config TARGET_EDB93XX
524 bool "Support edb93xx"
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100525 select CPU_ARM920T
Alexander Graf884f9012018-01-25 12:05:50 +0100526 select PL010_SERIAL
Masahiro Yamadadd840582014-07-30 14:08:14 +0900527
Masahiro Yamadadd840582014-07-30 14:08:14 +0900528config TARGET_ASPENITE
529 bool "Support aspenite"
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100530 select CPU_ARM926EJS
Masahiro Yamadadd840582014-07-30 14:08:14 +0900531
532config TARGET_GPLUGD
533 bool "Support gplugd"
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100534 select CPU_ARM926EJS
Masahiro Yamadadd840582014-07-30 14:08:14 +0900535
Masahiro Yamada3491ba62014-08-31 07:11:01 +0900536config ARCH_DAVINCI
537 bool "TI DaVinci"
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100538 select CPU_ARM926EJS
Lukasz Majewski56c40462020-06-04 23:11:53 +0800539 select SPL_DM_SPI if SPL
Simon Glass15dc63d2017-08-04 16:34:43 -0600540 imply CMD_SAVES
Masahiro Yamada3491ba62014-08-31 07:11:01 +0900541 help
542 Support for TI's DaVinci platform.
Masahiro Yamadadd840582014-07-30 14:08:14 +0900543
Trevor Woernerbb0fb4c2020-05-06 08:02:40 -0400544config ARCH_KIRKWOOD
Masahiro Yamada47539e22014-08-31 07:10:59 +0900545 bool "Marvell Kirkwood"
Simon Glass45856012017-01-23 13:31:21 -0700546 select ARCH_MISC_INIT
Michal Simek5ed063d2018-07-23 15:55:13 +0200547 select BOARD_EARLY_INIT_F
548 select CPU_ARM926EJS
Masahiro Yamadadd840582014-07-30 14:08:14 +0900549
Stefan Roesec3d89142015-08-25 13:18:38 +0200550config ARCH_MVEBU
Stefan Roese21b29fc2016-05-25 08:13:45 +0200551 bool "Marvell MVEBU family (Armada XP/375/38x/3700/7K/8K)"
Stefan Roese9cffb232015-09-01 11:27:52 +0200552 select DM
Stefan Roesee3b9c982015-11-19 07:46:15 +0100553 select DM_ETH
Stefan Roese1d51ea12015-09-02 08:41:41 +0200554 select DM_SERIAL
Stefan Roese09a54c02015-11-20 13:51:57 +0100555 select DM_SPI
556 select DM_SPI_FLASH
Lukasz Majewski56c40462020-06-04 23:11:53 +0800557 select SPL_DM_SPI if SPL
558 select SPL_DM_SPI_FLASH if SPL
Michal Simek5ed063d2018-07-23 15:55:13 +0200559 select OF_CONTROL
560 select OF_SEPARATE
Adam Fordf1b1f772018-04-15 13:51:26 -0400561 select SPI
Michal Simek08a00cb2018-07-23 15:55:14 +0200562 imply CMD_DM
Stefan Roesea4884832014-10-22 12:13:19 +0200563
Masahiro Yamadadd840582014-07-30 14:08:14 +0900564config TARGET_APF27
565 bool "Support apf27"
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100566 select CPU_ARM926EJS
Masahiro Yamada02627352014-10-20 17:45:56 +0900567 select SUPPORT_SPL
Masahiro Yamadadd840582014-07-30 14:08:14 +0900568
Trevor Woernerb16a3312020-05-06 08:02:38 -0400569config ARCH_ORION5X
Masahiro Yamada22f2be72014-08-31 07:11:06 +0900570 bool "Marvell Orion"
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100571 select CPU_ARM926EJS
Masahiro Yamadadd840582014-07-30 14:08:14 +0900572
Masahiro Yamadadd840582014-07-30 14:08:14 +0900573config TARGET_SPEAR300
574 bool "Support spear300"
Simon Glassa5d67542017-01-23 13:31:20 -0700575 select BOARD_EARLY_INIT_F
Michal Simek5ed063d2018-07-23 15:55:13 +0200576 select CPU_ARM926EJS
Alexander Grafd10fc502018-01-25 12:05:51 +0100577 select PL011_SERIAL
Michal Simek5ed063d2018-07-23 15:55:13 +0200578 imply CMD_SAVES
Masahiro Yamadadd840582014-07-30 14:08:14 +0900579
580config TARGET_SPEAR310
581 bool "Support spear310"
Simon Glassa5d67542017-01-23 13:31:20 -0700582 select BOARD_EARLY_INIT_F
Michal Simek5ed063d2018-07-23 15:55:13 +0200583 select CPU_ARM926EJS
Alexander Grafd10fc502018-01-25 12:05:51 +0100584 select PL011_SERIAL
Michal Simek5ed063d2018-07-23 15:55:13 +0200585 imply CMD_SAVES
Masahiro Yamadadd840582014-07-30 14:08:14 +0900586
587config TARGET_SPEAR320
588 bool "Support spear320"
Simon Glassa5d67542017-01-23 13:31:20 -0700589 select BOARD_EARLY_INIT_F
Michal Simek5ed063d2018-07-23 15:55:13 +0200590 select CPU_ARM926EJS
Alexander Grafd10fc502018-01-25 12:05:51 +0100591 select PL011_SERIAL
Michal Simek5ed063d2018-07-23 15:55:13 +0200592 imply CMD_SAVES
Masahiro Yamadadd840582014-07-30 14:08:14 +0900593
594config TARGET_SPEAR600
595 bool "Support spear600"
Simon Glassa5d67542017-01-23 13:31:20 -0700596 select BOARD_EARLY_INIT_F
Michal Simek5ed063d2018-07-23 15:55:13 +0200597 select CPU_ARM926EJS
Alexander Grafd10fc502018-01-25 12:05:51 +0100598 select PL011_SERIAL
Michal Simek5ed063d2018-07-23 15:55:13 +0200599 imply CMD_SAVES
Masahiro Yamadadd840582014-07-30 14:08:14 +0900600
Vikas Manocha9fa32b12014-11-18 10:42:22 -0800601config TARGET_STV0991
602 bool "Support stv0991"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530603 select CPU_V7A
Masahiro Yamadacac0ca72015-03-31 12:48:01 +0900604 select DM
605 select DM_SERIAL
Vikas Manochae67abca2015-07-02 18:29:41 -0700606 select DM_SPI
607 select DM_SPI_FLASH
Michal Simek5ed063d2018-07-23 15:55:13 +0200608 select PL01X_SERIAL
Adam Fordf1b1f772018-04-15 13:51:26 -0400609 select SPI
Vikas Manochae67abca2015-07-02 18:29:41 -0700610 select SPI_FLASH
Michal Simek08a00cb2018-07-23 15:55:14 +0200611 imply CMD_DM
Vikas Manocha9fa32b12014-11-18 10:42:22 -0800612
Masahiro Yamadadd840582014-07-30 14:08:14 +0900613config TARGET_X600
614 bool "Support x600"
Tom Rinie5ec4812017-01-22 19:43:11 -0500615 select BOARD_LATE_INIT
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100616 select CPU_ARM926EJS
Alexander Grafd10fc502018-01-25 12:05:51 +0100617 select PL011_SERIAL
Michal Simek5ed063d2018-07-23 15:55:13 +0200618 select SUPPORT_SPL
Masahiro Yamadadd840582014-07-30 14:08:14 +0900619
Masahiro Yamadadd840582014-07-30 14:08:14 +0900620config TARGET_FLEA3
621 bool "Support flea3"
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100622 select CPU_ARM1136
Masahiro Yamadadd840582014-07-30 14:08:14 +0900623
624config TARGET_MX35PDK
625 bool "Support mx35pdk"
Tom Rinie5ec4812017-01-22 19:43:11 -0500626 select BOARD_LATE_INIT
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100627 select CPU_ARM1136
Masahiro Yamadadd840582014-07-30 14:08:14 +0900628
Masahiro Yamadaddf6bd42015-03-19 19:42:56 +0900629config ARCH_BCM283X
630 bool "Broadcom BCM283X family"
Masahiro Yamada58d423b2015-03-31 12:47:53 +0900631 select DM
Masahiro Yamada58d423b2015-03-31 12:47:53 +0900632 select DM_GPIO
Michal Simek5ed063d2018-07-23 15:55:13 +0200633 select DM_SERIAL
Fabian Vogt76709092016-09-26 14:26:51 +0200634 select OF_CONTROL
Alexander Grafcf2c7782018-01-25 12:05:52 +0100635 select PL01X_SERIAL
Alexander Grafae5326a2018-01-29 13:57:20 +0100636 select SERIAL_SEARCH_ALL
Michal Simek08a00cb2018-07-23 15:55:14 +0200637 imply CMD_DM
Tom Rini91d27a12017-06-02 11:03:50 -0400638 imply FAT_WRITE
Stephen Warren46414292015-02-16 12:16:15 -0700639
Philippe Reynesea1a7de2019-01-31 18:57:35 +0100640config ARCH_BCM63158
641 bool "Broadcom BCM63158 family"
642 select DM
643 select OF_CONTROL
644 imply CMD_DM
645
Philippe Reynes6454e952020-01-07 20:14:10 +0100646config ARCH_BCM68360
647 bool "Broadcom BCM68360 family"
648 select DM
649 select OF_CONTROL
650 imply CMD_DM
651
Philippe Reynes40b59b02018-10-11 18:31:58 +0200652config ARCH_BCM6858
653 bool "Broadcom BCM6858 family"
654 select DM
655 select OF_CONTROL
656 imply CMD_DM
657
Masahiro Yamadadd840582014-07-30 14:08:14 +0900658config TARGET_VEXPRESS_CA15_TC2
659 bool "Support vexpress_ca15_tc2"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530660 select CPU_V7A
Hans de Goedeea624e12014-11-14 09:34:30 +0100661 select CPU_V7_HAS_NONSEC
662 select CPU_V7_HAS_VIRT
Alexander Grafd10fc502018-01-25 12:05:51 +0100663 select PL011_SERIAL
Masahiro Yamadadd840582014-07-30 14:08:14 +0900664
Thomas Fitzsimmons894c3ad2018-06-08 17:59:45 -0400665config ARCH_BCMSTB
666 bool "Broadcom BCM7XXX family"
667 select CPU_V7A
668 select DM
669 select OF_CONTROL
670 select OF_PRIOR_STAGE
Michal Simek08a00cb2018-07-23 15:55:14 +0200671 imply CMD_DM
Thomas Fitzsimmons894c3ad2018-06-08 17:59:45 -0400672 help
673 This enables support for Broadcom ARM-based set-top box
674 chipsets, including the 7445 family of chips.
675
Masahiro Yamadadd840582014-07-30 14:08:14 +0900676config TARGET_VEXPRESS_CA5X2
677 bool "Support vexpress_ca5x2"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530678 select CPU_V7A
Alexander Grafd10fc502018-01-25 12:05:51 +0100679 select PL011_SERIAL
Masahiro Yamadadd840582014-07-30 14:08:14 +0900680
681config TARGET_VEXPRESS_CA9X4
682 bool "Support vexpress_ca9x4"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530683 select CPU_V7A
Alexander Grafd10fc502018-01-25 12:05:51 +0100684 select PL011_SERIAL
Masahiro Yamadadd840582014-07-30 14:08:14 +0900685
Steve Rae43486e42016-06-02 15:10:56 -0700686config TARGET_BCM23550_W1D
687 bool "Support bcm23550_w1d"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530688 select CPU_V7A
Daniel Thompson221a9492017-05-19 17:26:58 +0100689 imply CRC32_VERIFY
Tom Rini91d27a12017-06-02 11:03:50 -0400690 imply FAT_WRITE
Steve Rae43486e42016-06-02 15:10:56 -0700691
Masahiro Yamadadd840582014-07-30 14:08:14 +0900692config TARGET_BCM28155_AP
693 bool "Support bcm28155_ap"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530694 select CPU_V7A
Daniel Thompson221a9492017-05-19 17:26:58 +0100695 imply CRC32_VERIFY
Tom Rini91d27a12017-06-02 11:03:50 -0400696 imply FAT_WRITE
Masahiro Yamadadd840582014-07-30 14:08:14 +0900697
Steve Raeabb16782014-11-11 11:32:18 -0800698config TARGET_BCMCYGNUS
699 bool "Support bcmcygnus"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530700 select CPU_V7A
Michal Simek5ed063d2018-07-23 15:55:13 +0200701 imply BCM_SF2_ETH
702 imply BCM_SF2_ETH_GMAC
Simon Glass551c3932017-05-17 03:25:25 -0600703 imply CMD_HASH
Michal Simek5ed063d2018-07-23 15:55:13 +0200704 imply CRC32_VERIFY
Tom Rini91d27a12017-06-02 11:03:50 -0400705 imply FAT_WRITE
Daniel Thompson221a9492017-05-19 17:26:58 +0100706 imply HASH_VERIFY
Suji Velupillaic89782d2017-07-10 14:05:41 -0700707 imply NETDEVICES
Steve Rae9dec5272014-08-11 13:58:26 -0700708
Steve Raeabb16782014-11-11 11:32:18 -0800709config TARGET_BCMNSP
710 bool "Support bcmnsp"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530711 select CPU_V7A
Steve Rae9dec5272014-08-11 13:58:26 -0700712
Jon Mason274bced2017-03-17 12:12:14 -0400713config TARGET_BCMNS2
714 bool "Support Broadcom Northstar2"
715 select ARM64
716 help
717 Support for Broadcom Northstar 2 SoCs. NS2 is a quad-core 64-bit
718 ARMv8 Cortex-A57 processors targeting a broad range of networking
Robert P. J. Daye852b302019-12-25 06:34:07 -0500719 applications.
Jon Mason274bced2017-03-17 12:12:14 -0400720
Rayagonda Kokatanur291635a2020-07-15 22:48:55 +0530721config TARGET_BCMNS3
722 bool "Support Broadcom NS3"
723 select ARM64
724 select BOARD_LATE_INIT
725 help
726 Support for Broadcom Northstar 3 SoCs. NS3 is a octo-core 64-bit
727 ARMv8 Cortex-A72 processors targeting a broad range of networking
728 applications.
729
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900730config ARCH_EXYNOS
731 bool "Samsung EXYNOS"
Masahiro Yamada58d423b2015-03-31 12:47:53 +0900732 select DM
Michal Simek5ed063d2018-07-23 15:55:13 +0200733 select DM_GPIO
Simon Glassfc47cf92016-11-23 06:34:40 -0700734 select DM_I2C
Michal Simek5ed063d2018-07-23 15:55:13 +0200735 select DM_KEYBOARD
Masahiro Yamada58d423b2015-03-31 12:47:53 +0900736 select DM_SERIAL
737 select DM_SPI
Michal Simek5ed063d2018-07-23 15:55:13 +0200738 select DM_SPI_FLASH
Adam Fordf1b1f772018-04-15 13:51:26 -0400739 select SPI
Guillaume GARDETc96d9032018-11-20 14:15:13 +0100740 imply SYS_THUMB_BUILD
Michal Simek08a00cb2018-07-23 15:55:14 +0200741 imply CMD_DM
Tom Rini91d27a12017-06-02 11:03:50 -0400742 imply FAT_WRITE
Masahiro Yamadadd840582014-07-30 14:08:14 +0900743
Simon Glass311757b2014-10-07 22:01:50 -0600744config ARCH_S5PC1XX
745 bool "Samsung S5PC1XX"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530746 select CPU_V7A
Masahiro Yamada58d423b2015-03-31 12:47:53 +0900747 select DM
Masahiro Yamada58d423b2015-03-31 12:47:53 +0900748 select DM_GPIO
Simon Glass08848e92016-11-23 06:34:41 -0700749 select DM_I2C
Michal Simek5ed063d2018-07-23 15:55:13 +0200750 select DM_SERIAL
Michal Simek08a00cb2018-07-23 15:55:14 +0200751 imply CMD_DM
Simon Glass311757b2014-10-07 22:01:50 -0600752
Masahiro Yamadaef2b6942014-08-31 07:11:07 +0900753config ARCH_HIGHBANK
754 bool "Calxeda Highbank"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530755 select CPU_V7A
Alexander Grafd10fc502018-01-25 12:05:51 +0100756 select PL011_SERIAL
Masahiro Yamadadd840582014-07-30 14:08:14 +0900757
Masahiro Yamada5cbbd9b2015-04-21 21:59:36 +0900758config ARCH_INTEGRATOR
759 bool "ARM Ltd. Integrator family"
Linus Walleij3f394e72015-07-27 11:22:48 +0200760 select DM
761 select DM_SERIAL
Alexander Grafcf2c7782018-01-25 12:05:52 +0100762 select PL01X_SERIAL
Michal Simek08a00cb2018-07-23 15:55:14 +0200763 imply CMD_DM
Masahiro Yamada5cbbd9b2015-04-21 21:59:36 +0900764
Robert Markoe479a7d2020-07-06 10:37:54 +0200765config ARCH_IPQ40XX
766 bool "Qualcomm IPQ40xx SoCs"
767 select CPU_V7A
768 select DM
769 select DM_GPIO
770 select DM_SERIAL
Robert Marko496a3aa2020-09-10 16:00:03 +0200771 select DM_RESET
Robert Marko6ef099b2020-09-10 16:00:01 +0200772 select MSM_SMEM
Robert Markoe479a7d2020-07-06 10:37:54 +0200773 select PINCTRL
774 select CLK
Robert Marko6ef099b2020-09-10 16:00:01 +0200775 select SMEM
Robert Markoe479a7d2020-07-06 10:37:54 +0200776 select OF_CONTROL
777 imply CMD_DM
778
Masahiro Yamadac338f092014-08-31 07:11:05 +0900779config ARCH_KEYSTONE
780 bool "TI Keystone"
Michal Simek5ed063d2018-07-23 15:55:13 +0200781 select CMD_POWEROFF
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530782 select CPU_V7A
Masahiro Yamada02627352014-10-20 17:45:56 +0900783 select SUPPORT_SPL
Andre Przywara7842b6a2018-04-12 04:24:46 +0300784 select SYS_ARCH_TIMER
Michal Simek5ed063d2018-07-23 15:55:13 +0200785 select SYS_THUMB_BUILD
Tom Rinid56b4b12017-07-22 18:36:16 -0400786 imply CMD_MTDPARTS
Simon Glass15dc63d2017-08-04 16:34:43 -0600787 imply CMD_SAVES
Michal Simek5ed063d2018-07-23 15:55:13 +0200788 imply FIT
Masahiro Yamadadd840582014-07-30 14:08:14 +0900789
Lokesh Vutla586bde92018-08-27 15:57:08 +0530790config ARCH_K3
791 bool "Texas Instruments' K3 Architecture"
792 select SPL
793 select SUPPORT_SPL
794 select FIT
795
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +0900796config ARCH_OMAP2PLUS
797 bool "TI OMAP2+"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530798 select CPU_V7A
Ley Foon Tan0680f1b2017-05-03 17:13:32 +0800799 select SPL_BOARD_INIT if SPL
Tom Riniff6c3122017-09-17 11:44:49 -0400800 select SPL_STACK_R if SPL
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +0900801 select SUPPORT_SPL
Dario Binacchi92cc4e12020-12-30 00:06:29 +0100802 imply TI_SYSC if DM && OF_CONTROL
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +0900803 imply FIT
804
Beniamino Galvanibfcef282016-05-08 08:30:16 +0200805config ARCH_MESON
806 bool "Amlogic Meson"
Masahiro Yamada7325f6c2018-04-25 18:47:52 +0900807 imply DISTRO_DEFAULTS
Heinrich Schuchardt6da749d2020-04-05 12:20:23 +0200808 imply DM_RNG
Beniamino Galvanibfcef282016-05-08 08:30:16 +0200809 help
810 Support for the Meson SoC family developed by Amlogic Inc.,
811 targeted at media players and tablet computers. We currently
812 support the S905 (GXBaby) 64-bit SoC.
813
Ryder Leecbd2fba2018-11-15 10:07:52 +0800814config ARCH_MEDIATEK
815 bool "MediaTek SoCs"
Ryder Leecbd2fba2018-11-15 10:07:52 +0800816 select DM
817 select OF_CONTROL
818 select SPL_DM if SPL
819 select SPL_LIBCOMMON_SUPPORT if SPL
820 select SPL_LIBGENERIC_SUPPORT if SPL
821 select SPL_OF_CONTROL if SPL
822 select SUPPORT_SPL
823 help
824 Support for the MediaTek SoCs family developed by MediaTek Inc.
825 Please refer to doc/README.mediatek for more information.
826
Vladimir Zapolskiyee54dfe2018-09-17 21:43:03 +0300827config ARCH_LPC32XX
828 bool "NXP LPC32xx platform"
829 select CPU_ARM926EJS
830 select DM
831 select DM_GPIO
832 select DM_SERIAL
833 select SPL_DM if SPL
834 select SUPPORT_SPL
835 imply CMD_DM
836
Peng Fanb2b8b9b2018-10-18 14:28:08 +0200837config ARCH_IMX8
838 bool "NXP i.MX8 platform"
839 select ARM64
840 select DM
841 select OF_CONTROL
Ye Li9a273852019-07-12 09:33:52 +0000842 select ENABLE_ARM_SOC_BOOT0_HOOK
Peng Fanb2b8b9b2018-10-18 14:28:08 +0200843
Peng Fancd357ad2018-11-20 10:19:25 +0000844config ARCH_IMX8M
Peng Fan7a7391f2018-01-10 13:20:19 +0800845 bool "NXP i.MX8M platform"
846 select ARM64
847 select DM
848 select SUPPORT_SPL
Michal Simek08a00cb2018-07-23 15:55:14 +0200849 imply CMD_DM
Peng Fan7a7391f2018-01-10 13:20:19 +0800850
Giulio Benetti77eb9a92020-01-10 15:51:47 +0100851config ARCH_IMXRT
852 bool "NXP i.MXRT platform"
853 select CPU_V7M
854 select DM
855 select DM_SERIAL
856 select SUPPORT_SPL
857 imply CMD_DM
858
Stefan Agnerc5343d42018-02-06 09:44:34 +0100859config ARCH_MX23
860 bool "NXP i.MX23 family"
861 select CPU_ARM926EJS
862 select PL011_SERIAL
863 select SUPPORT_SPL
864
Fabio Estevam07df6972017-11-03 13:40:08 -0200865config ARCH_MX25
866 bool "NXP MX25"
867 select CPU_ARM926EJS
Adam Ford8bbff6a2018-02-04 09:32:43 -0600868 imply MXC_GPIO
Fabio Estevam07df6972017-11-03 13:40:08 -0200869
Stefan Agner25c5b4e2018-02-06 09:44:35 +0100870config ARCH_MX28
871 bool "NXP i.MX28 family"
872 select CPU_ARM926EJS
873 select PL011_SERIAL
874 select SUPPORT_SPL
875
Magnus Lilja3159ec62018-05-11 14:06:54 +0200876config ARCH_MX31
877 bool "NXP i.MX31 family"
878 select CPU_ARM1136
879
Peng Fane90a08d2017-02-22 16:21:39 +0800880config ARCH_MX7ULP
Michal Simek6e7bdde2018-07-23 15:55:12 +0200881 bool "NXP MX7ULP"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530882 select CPU_V7A
Peng Fane90a08d2017-02-22 16:21:39 +0800883 select ROM_UNIFIED_SECTIONS
Adam Ford8bbff6a2018-02-04 09:32:43 -0600884 imply MXC_GPIO
Tom Rini44ad4962019-12-03 09:28:03 -0500885 imply SYS_THUMB_BUILD
Peng Fane90a08d2017-02-22 16:21:39 +0800886
Adrian Alonso1a8150d2015-09-03 11:49:28 -0500887config ARCH_MX7
888 bool "Freescale MX7"
Michal Simek5ed063d2018-07-23 15:55:13 +0200889 select ARCH_MISC_INIT
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530890 select CPU_V7A
Stefano Babicd714a752019-09-20 08:47:53 +0200891 select SYS_FSL_HAS_SEC if IMX_HAB
York Sun2c2e2c92016-12-28 08:43:30 -0800892 select SYS_FSL_SEC_COMPAT_4
York Sun90b80382016-12-28 08:43:31 -0800893 select SYS_FSL_SEC_LE
Marek Vasut72041602020-05-22 01:13:00 +0200894 imply BOARD_EARLY_INIT_F
Adam Ford8bbff6a2018-02-04 09:32:43 -0600895 imply MXC_GPIO
Tom Rini44ad4962019-12-03 09:28:03 -0500896 imply SYS_THUMB_BUILD
Adrian Alonso1a8150d2015-09-03 11:49:28 -0500897
Boris BREZILLON89ebc822015-03-04 13:13:03 +0100898config ARCH_MX6
899 bool "Freescale MX6"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530900 select CPU_V7A
Heinrich Schuchardt90865612020-06-26 19:57:55 +0200901 select SYS_FSL_HAS_SEC
York Sun2c2e2c92016-12-28 08:43:30 -0800902 select SYS_FSL_SEC_COMPAT_4
York Sun90b80382016-12-28 08:43:31 -0800903 select SYS_FSL_SEC_LE
Adam Ford8bbff6a2018-02-04 09:32:43 -0600904 imply MXC_GPIO
Tom Rini44ad4962019-12-03 09:28:03 -0500905 imply SYS_THUMB_BUILD
Boris BREZILLON89ebc822015-03-04 13:13:03 +0100906
Philipp Tomsichb5299932017-08-03 23:23:55 +0200907if ARCH_MX6
908config SPL_LDSCRIPT
Michal Simek6e7bdde2018-07-23 15:55:12 +0200909 default "arch/arm/mach-omap2/u-boot-spl.lds"
Philipp Tomsichb5299932017-08-03 23:23:55 +0200910endif
911
Andrej Rosano424ee3d2015-04-08 18:56:29 +0200912config ARCH_MX5
913 bool "Freescale MX5"
Simon Glassa5d67542017-01-23 13:31:20 -0700914 select BOARD_EARLY_INIT_F
Michal Simek5ed063d2018-07-23 15:55:13 +0200915 select CPU_V7A
Adam Ford8bbff6a2018-02-04 09:32:43 -0600916 imply MXC_GPIO
Andrej Rosano424ee3d2015-04-08 18:56:29 +0200917
Stefan Bosch95e9a8e2020-07-10 19:07:26 +0200918config ARCH_NEXELL
919 bool "Nexell S5P4418/S5P6818 SoC"
920 select ENABLE_ARM_SOC_BOOT0_HOOK
921 select DM
922
Manivannan Sadhasivam97775d22018-06-14 23:38:31 +0530923config ARCH_OWL
924 bool "Actions Semi OWL SoCs"
Manivannan Sadhasivam97775d22018-06-14 23:38:31 +0530925 select DM
Amit Singh Tomarcd2baaf2020-05-09 19:55:14 +0530926 select DM_ETH
Manivannan Sadhasivam97775d22018-06-14 23:38:31 +0530927 select DM_SERIAL
Amit Singh Tomarb1a6bb32020-04-19 19:28:25 +0530928 select OWL_SERIAL
Amit Singh Tomar8b520ac2020-04-19 19:28:30 +0530929 select CLK
930 select CLK_OWL
Manivannan Sadhasivam97775d22018-06-14 23:38:31 +0530931 select OF_CONTROL
Tom Rini36c2f022020-05-01 10:52:11 -0400932 select SYS_RELOC_GD_ENV_ADDR
Michal Simek08a00cb2018-07-23 15:55:14 +0200933 imply CMD_DM
Manivannan Sadhasivam97775d22018-06-14 23:38:31 +0530934
Tuomas Tynkkynen32f11822017-09-19 23:18:07 +0300935config ARCH_QEMU
936 bool "QEMU Virtual Platform"
Tuomas Tynkkynen32f11822017-09-19 23:18:07 +0300937 select DM
938 select DM_SERIAL
939 select OF_CONTROL
Alexander Grafcf2c7782018-01-25 12:05:52 +0100940 select PL01X_SERIAL
Michal Simek08a00cb2018-07-23 15:55:14 +0200941 imply CMD_DM
Heinrich Schuchardt684710d2020-09-19 07:55:35 +0200942 imply DM_RNG
AKASHI Takahiroa47c1b52018-09-14 17:06:54 +0900943 imply DM_RTC
944 imply RTC_PL031
Tuomas Tynkkynen32f11822017-09-19 23:18:07 +0300945
Nobuhiro Iwamatsu1cc95f62015-10-10 05:58:28 +0900946config ARCH_RMOBILE
Masahiro Yamadaf40b9892014-08-31 07:10:57 +0900947 bool "Renesas ARM SoCs"
Nobuhiro Iwamatsu1cc95f62015-10-10 05:58:28 +0900948 select DM
949 select DM_SERIAL
Biju Das5157b012020-09-22 13:06:49 +0100950 imply BOARD_EARLY_INIT_F
Michal Simek08a00cb2018-07-23 15:55:14 +0200951 imply CMD_DM
Tom Rini91d27a12017-06-02 11:03:50 -0400952 imply FAT_WRITE
Tom Rini3a649402017-03-18 09:01:44 -0400953 imply SYS_THUMB_BUILD
Marek Vasut00e4b572018-12-03 13:28:25 +0100954 imply ARCH_MISC_INIT if DISPLAY_CPUINFO
Masahiro Yamadadd840582014-07-30 14:08:14 +0900955
Eddy Petrișor9702ec02016-06-05 03:43:00 +0300956config TARGET_S32V234EVB
957 bool "Support s32v234evb"
958 select ARM64
York Sunc01e4a12016-12-28 08:43:42 -0800959 select SYS_FSL_ERRATUM_ESDHC111
Eddy Petrișor9702ec02016-06-05 03:43:00 +0300960
Mateusz Kulikowski08592132016-03-31 23:12:32 +0200961config ARCH_SNAPDRAGON
962 bool "Qualcomm Snapdragon SoCs"
963 select ARM64
964 select DM
965 select DM_GPIO
966 select DM_SERIAL
Michal Simek5ed063d2018-07-23 15:55:13 +0200967 select MSM_SMEM
Mateusz Kulikowski08592132016-03-31 23:12:32 +0200968 select OF_CONTROL
969 select OF_SEPARATE
Ramon Fried654dd4a2018-07-02 02:57:56 +0300970 select SMEM
Michal Simek5ed063d2018-07-23 15:55:13 +0200971 select SPMI
Michal Simek08a00cb2018-07-23 15:55:14 +0200972 imply CMD_DM
Mateusz Kulikowski08592132016-03-31 23:12:32 +0200973
Masahiro Yamada7865f4b2015-04-21 20:38:20 +0900974config ARCH_SOCFPGA
975 bool "Altera SOCFPGA family"
Simon Glassa4211922017-01-23 13:31:19 -0700976 select ARCH_EARLY_INIT_R
Marek Vasutd6a61da2018-08-13 20:06:46 +0200977 select ARCH_MISC_INIT if !TARGET_SOCFPGA_ARRIA10
Ley Foon Tana76b7112019-11-27 15:55:32 +0800978 select ARM64 if TARGET_SOCFPGA_STRATIX10 || TARGET_SOCFPGA_AGILEX
Ley Foon Tana6847292018-05-24 00:17:32 +0800979 select CPU_V7A if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
Marek Vasut48befc02018-05-11 22:25:59 +0200980 select DM
Marek Vasut73172752018-05-11 22:26:35 +0200981 select DM_SERIAL
Ley Foon Tana6847292018-05-24 00:17:32 +0800982 select ENABLE_ARM_SOC_BOOT0_HOOK if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
Marek Vasut48befc02018-05-11 22:25:59 +0200983 select OF_CONTROL
Ley Foon Tan00057ee2018-07-13 13:40:23 +0800984 select SPL_DM_RESET if DM_RESET
Michal Simek5ed063d2018-07-23 15:55:13 +0200985 select SPL_DM_SERIAL
Marek Vasut48befc02018-05-11 22:25:59 +0200986 select SPL_LIBCOMMON_SUPPORT
Marek Vasut48befc02018-05-11 22:25:59 +0200987 select SPL_LIBGENERIC_SUPPORT
Marek Vasut48befc02018-05-11 22:25:59 +0200988 select SPL_NAND_SUPPORT if SPL_NAND_DENALI
989 select SPL_OF_CONTROL
Ley Foon Tana76b7112019-11-27 15:55:32 +0800990 select SPL_SEPARATE_BSS if TARGET_SOCFPGA_STRATIX10 || TARGET_SOCFPGA_AGILEX
Marek Vasut48befc02018-05-11 22:25:59 +0200991 select SPL_SERIAL_SUPPORT
Simon Goldschmidtef72ba02019-07-15 21:47:55 +0200992 select SPL_SYSRESET
Marek Vasut48befc02018-05-11 22:25:59 +0200993 select SPL_WATCHDOG_SUPPORT
994 select SUPPORT_SPL
Marek Vasut73172752018-05-11 22:26:35 +0200995 select SYS_NS16550
Ley Foon Tana6847292018-05-24 00:17:32 +0800996 select SYS_THUMB_BUILD if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
Simon Goldschmidtef72ba02019-07-15 21:47:55 +0200997 select SYSRESET
998 select SYSRESET_SOCFPGA if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
Chee Hong Ang289ebe02020-08-05 20:11:26 +0800999 select SYSRESET_SOCFPGA_SOC64 if TARGET_SOCFPGA_STRATIX10 || TARGET_SOCFPGA_AGILEX
Michal Simek08a00cb2018-07-23 15:55:14 +02001000 imply CMD_DM
Tom Rinid56b4b12017-07-22 18:36:16 -04001001 imply CMD_MTDPARTS
Daniel Thompson221a9492017-05-19 17:26:58 +01001002 imply CRC32_VERIFY
Simon Goldschmidtfef4a542018-02-13 06:34:14 +01001003 imply DM_SPI
1004 imply DM_SPI_FLASH
Tom Rini91d27a12017-06-02 11:03:50 -04001005 imply FAT_WRITE
Simon Goldschmidtaef44282019-04-09 21:02:05 +02001006 imply SPL
1007 imply SPL_DM
Lukasz Majewski56c40462020-06-04 23:11:53 +08001008 imply SPL_DM_SPI
1009 imply SPL_DM_SPI_FLASH
Simon Goldschmidta9024dc2018-11-29 21:17:08 +01001010 imply SPL_LIBDISK_SUPPORT
1011 imply SPL_MMC_SUPPORT
Simon Goldschmidtfef4a542018-02-13 06:34:14 +01001012 imply SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION
Simon Goldschmidtf48db4e2018-10-30 20:21:49 +01001013 imply SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION_TYPE
Simon Goldschmidta9024dc2018-11-29 21:17:08 +01001014 imply SPL_SPI_FLASH_SUPPORT
1015 imply SPL_SPI_SUPPORT
Dinh Nguyenaaa64802019-04-23 16:55:06 -05001016 imply L2X0_CACHE
Masahiro Yamadadd840582014-07-30 14:08:14 +09001017
Ian Campbell2c7e3b92014-10-24 21:20:44 +01001018config ARCH_SUNXI
1019 bool "Support sunxi (Allwinner) SoCs"
Masahiro Yamadad6a0c782017-10-17 13:42:44 +09001020 select BINMAN
Hans de Goede88bb8002016-04-03 09:41:44 +02001021 select CMD_GPIO
Hans de Goede0878a8a2016-05-15 13:51:58 +02001022 select CMD_MMC if MMC
Yann E. MORIN2997ee52016-10-31 22:33:40 +01001023 select CMD_USB if DISTRO_DEFAULTS
Jagan Tekie236ff02019-01-11 16:40:20 +05301024 select CLK
Hans de Goedeb6006ba2015-04-15 20:46:48 +02001025 select DM
Tom Rini45368822015-06-30 16:51:15 -04001026 select DM_ETH
Hans de Goede211d57a2015-12-21 20:22:00 +01001027 select DM_GPIO
1028 select DM_KEYBOARD
Jagan Tekibb3362b2019-04-12 16:48:25 +05301029 select DM_MMC if MMC
1030 select DM_SCSI if SCSI
Tom Rini45368822015-06-30 16:51:15 -04001031 select DM_SERIAL
Yann E. MORIN2997ee52016-10-31 22:33:40 +01001032 select DM_USB if DISTRO_DEFAULTS
Hans de Goeded75111a2016-03-22 22:51:52 +01001033 select OF_BOARD_SETUP
Hans de Goedeb6006ba2015-04-15 20:46:48 +02001034 select OF_CONTROL
1035 select OF_SEPARATE
Tom Rini6f6b7cf2018-03-06 19:02:27 -05001036 select SPECIFY_CONSOLE_INDEX
Tom Riniab43de82017-06-21 07:54:46 -04001037 select SPL_STACK_R if SPL
1038 select SPL_SYS_MALLOC_SIMPLE if SPL
Tom Rini3a649402017-03-18 09:01:44 -04001039 select SPL_SYS_THUMB_BUILD if !ARM64
Andre Przywara10cfbaa2019-06-23 15:09:46 +01001040 select SUNXI_GPIO
Michal Simek5ed063d2018-07-23 15:55:13 +02001041 select SYS_NS16550
Maxime Ripardce2e44d2017-10-19 11:49:29 +02001042 select SYS_THUMB_BUILD if !ARM64
Yann E. MORIN2997ee52016-10-31 22:33:40 +01001043 select USB if DISTRO_DEFAULTS
Yann E. MORIN2997ee52016-10-31 22:33:40 +01001044 select USB_KEYBOARD if DISTRO_DEFAULTS
Michal Simek5ed063d2018-07-23 15:55:13 +02001045 select USB_STORAGE if DISTRO_DEFAULTS
Simon Glass27084c02019-09-25 08:56:27 -06001046 select SPL_USE_TINY_PRINTF
Andre Przywara48313fe2020-02-20 17:51:14 +00001047 select USE_PREBOOT
1048 select SYS_RELOC_GD_ENV_ADDR
Andy Shevchenko92600ed2020-12-08 17:45:31 +02001049 imply BOARD_LATE_INIT
Michal Simek08a00cb2018-07-23 15:55:14 +02001050 imply CMD_DM
Maxime Riparda12fb0e2017-08-24 11:54:03 +02001051 imply CMD_GPT
Miquel Raynal88718be2019-10-03 19:50:03 +02001052 imply CMD_UBI if MTD_RAW_NAND
Masahiro Yamada7325f6c2018-04-25 18:47:52 +09001053 imply DISTRO_DEFAULTS
Tom Rini91d27a12017-06-02 11:03:50 -04001054 imply FAT_WRITE
Marek Vasut2f13cf32018-10-10 18:27:35 +02001055 imply FIT
Andre Heidereff264d2018-01-16 09:44:22 +01001056 imply OF_LIBFDT_OVERLAY
Masahiro Yamadaaf83a602017-04-28 19:42:19 +09001057 imply PRE_CONSOLE_BUFFER
1058 imply SPL_GPIO_SUPPORT
1059 imply SPL_LIBCOMMON_SUPPORT
Masahiro Yamadaaf83a602017-04-28 19:42:19 +09001060 imply SPL_LIBGENERIC_SUPPORT
Masahiro Yamada4aa2ba32017-05-09 20:31:39 +09001061 imply SPL_MMC_SUPPORT if MMC
Masahiro Yamadaaf83a602017-04-28 19:42:19 +09001062 imply SPL_POWER_SUPPORT
1063 imply SPL_SERIAL_SUPPORT
Maxime Ripard654b02b2017-09-07 10:46:24 +02001064 imply USB_GADGET
Chen-Yu Tsai8ebe4f42014-10-22 16:47:44 +08001065
Stephan Gerhold689088f2020-01-04 18:45:17 +01001066config ARCH_U8500
1067 bool "ST-Ericsson U8500 Series"
1068 select CPU_V7A
1069 select DM
1070 select DM_GPIO
1071 select DM_MMC if MMC
1072 select DM_SERIAL
1073 select DM_USB if USB
1074 select OF_CONTROL
1075 select SYSRESET
1076 select TIMER
1077 imply ARM_PL180_MMCI
1078 imply DM_RTC
1079 imply NOMADIK_MTU_TIMER
1080 imply PL01X_SERIAL
1081 imply RTC_PL031
1082 imply SYSRESET_SYSCON
1083
Michal Simekec48b6c2018-08-22 14:55:27 +02001084config ARCH_VERSAL
1085 bool "Support Xilinx Versal Platform"
1086 select ARM64
1087 select CLK
1088 select DM
Michal Simekfa797152019-01-15 08:52:46 +01001089 select DM_ETH if NET
1090 select DM_MMC if MMC
Michal Simekec48b6c2018-08-22 14:55:27 +02001091 select DM_SERIAL
1092 select OF_CONTROL
Siva Durga Prasad Paladugubfd092f2019-01-31 17:28:14 +05301093 imply BOARD_LATE_INIT
Michal Simek62b96262020-07-28 12:45:47 +02001094 imply ENV_VARS_UBOOT_RUNTIME_CONFIG
Michal Simekec48b6c2018-08-22 14:55:27 +02001095
Stefan Agner7966b432017-03-13 18:41:36 -07001096config ARCH_VF610
1097 bool "Freescale Vybrid"
Lokesh Vutlaacf15002018-04-26 18:21:26 +05301098 select CPU_V7A
York Sunc01e4a12016-12-28 08:43:42 -08001099 select SYS_FSL_ERRATUM_ESDHC111
Tom Rinid56b4b12017-07-22 18:36:16 -04001100 imply CMD_MTDPARTS
Miquel Raynal88718be2019-10-03 19:50:03 +02001101 imply MTD_RAW_NAND
Masahiro Yamadadd840582014-07-30 14:08:14 +09001102
Masahiro Yamada5ca269a2015-03-16 16:43:24 +09001103config ARCH_ZYNQ
Michal Simekb8d44972017-11-23 08:25:41 +01001104 bool "Xilinx Zynq based platform"
Michal Simek5ed063d2018-07-23 15:55:13 +02001105 select CLK
1106 select CLK_ZYNQ
1107 select CPU_V7A
Masahiro Yamada8981f052015-03-31 12:47:55 +09001108 select DM
Michal Simekc4a142f2018-01-09 14:49:28 +01001109 select DM_ETH if NET
Michal Simekc4a142f2018-01-09 14:49:28 +01001110 select DM_MMC if MMC
Simon Glass42800ff2015-10-17 19:41:27 -06001111 select DM_SERIAL
Michal Simek5ed063d2018-07-23 15:55:13 +02001112 select DM_SPI
Jagan Teki9f7a4502015-06-27 00:51:32 +05301113 select DM_SPI_FLASH
Simon Glassdec49e82016-07-05 17:10:14 -06001114 select DM_USB if USB
Michal Simek5ed063d2018-07-23 15:55:13 +02001115 select OF_CONTROL
Adam Fordf1b1f772018-04-15 13:51:26 -04001116 select SPI
Michal Simek5ed063d2018-07-23 15:55:13 +02001117 select SPL_BOARD_INIT if SPL
1118 select SPL_CLK if SPL
1119 select SPL_DM if SPL
Lukasz Majewski56c40462020-06-04 23:11:53 +08001120 select SPL_DM_SPI if SPL
1121 select SPL_DM_SPI_FLASH if SPL
Michal Simek5ed063d2018-07-23 15:55:13 +02001122 select SPL_OF_CONTROL if SPL
1123 select SPL_SEPARATE_BSS if SPL
1124 select SUPPORT_SPL
Michal Simek4aba5fb2018-01-17 10:56:22 -03001125 imply ARCH_EARLY_INIT_R
Michal Simek8eb55e12018-08-20 08:24:14 +02001126 imply BOARD_LATE_INIT
Michal Simek5ed063d2018-07-23 15:55:13 +02001127 imply CMD_CLK
Michal Simek08a00cb2018-07-23 15:55:14 +02001128 imply CMD_DM
Michal Simek5ed063d2018-07-23 15:55:13 +02001129 imply CMD_SPL
Michal Simek62b96262020-07-28 12:45:47 +02001130 imply ENV_VARS_UBOOT_RUNTIME_CONFIG
Michal Simek5ed063d2018-07-23 15:55:13 +02001131 imply FAT_WRITE
Masahiro Yamadadd840582014-07-30 14:08:14 +09001132
Michal Simek1d6c54e2018-04-12 17:39:46 +02001133config ARCH_ZYNQMP_R5
1134 bool "Xilinx ZynqMP R5 based platform"
Michal Simek5ed063d2018-07-23 15:55:13 +02001135 select CLK
Michal Simek1d6c54e2018-04-12 17:39:46 +02001136 select CPU_V7R
Michal Simek1d6c54e2018-04-12 17:39:46 +02001137 select DM
Michal Simek6f96fb52019-01-15 09:06:46 +01001138 select DM_ETH if NET
1139 select DM_MMC if MMC
Michal Simek1d6c54e2018-04-12 17:39:46 +02001140 select DM_SERIAL
Michal Simek5ed063d2018-07-23 15:55:13 +02001141 select OF_CONTROL
Michal Simek08a00cb2018-07-23 15:55:14 +02001142 imply CMD_DM
Jean-Jacques Hiblot687ab542018-11-29 10:52:42 +01001143 imply DM_USB_GADGET
Michal Simek1d6c54e2018-04-12 17:39:46 +02001144
Siva Durga Prasad Paladugu0b54a9d2015-06-10 15:50:57 +05301145config ARCH_ZYNQMP
Michal Simekb8d44972017-11-23 08:25:41 +01001146 bool "Xilinx ZynqMP based platform"
Michal Simek84c72042015-01-15 10:01:51 +01001147 select ARM64
Michal Simek1f297382016-07-14 15:07:54 +02001148 select CLK
Michal Simek5ed063d2018-07-23 15:55:13 +02001149 select DM
Michal Simekfb693102019-01-15 08:52:51 +01001150 select DM_ETH if NET
Ibai Erkiaga1327d162019-09-27 12:51:41 +02001151 select DM_MAILBOX
Michal Simekfb693102019-01-15 08:52:51 +01001152 select DM_MMC if MMC
Michal Simek5ed063d2018-07-23 15:55:13 +02001153 select DM_SERIAL
Michal Simek088f83e2019-01-15 10:50:39 +01001154 select DM_SPI if SPI
1155 select DM_SPI_FLASH if DM_SPI
Michal Simek5ed063d2018-07-23 15:55:13 +02001156 select DM_USB if USB
Ibai Erkiaga325a22d2019-09-27 11:37:04 +01001157 select FIRMWARE
Michal Simek5ed063d2018-07-23 15:55:13 +02001158 select OF_CONTROL
Ley Foon Tan0680f1b2017-05-03 17:13:32 +08001159 select SPL_BOARD_INIT if SPL
Michal Simek2f039682017-12-01 15:13:36 +01001160 select SPL_CLK if SPL
Michal Simek6cb402f2020-08-19 10:30:39 +02001161 select SPL_DM if SPL
1162 select SPL_DM_SPI if SPI && SPL_DM
Lukasz Majewski56c40462020-06-04 23:11:53 +08001163 select SPL_DM_SPI_FLASH if SPL_DM_SPI
Ibai Erkiaga325a22d2019-09-27 11:37:04 +01001164 select SPL_DM_MAILBOX if SPL
1165 select SPL_FIRMWARE if SPL
Michal Simek850e7792018-11-23 09:01:44 +01001166 select SPL_SEPARATE_BSS if SPL
Michal Simek5ed063d2018-07-23 15:55:13 +02001167 select SUPPORT_SPL
Ibai Erkiaga1327d162019-09-27 12:51:41 +02001168 select ZYNQMP_IPI
Michal Simek8eb55e12018-08-20 08:24:14 +02001169 imply BOARD_LATE_INIT
Michal Simek08a00cb2018-07-23 15:55:14 +02001170 imply CMD_DM
Michal Simek62b96262020-07-28 12:45:47 +02001171 imply ENV_VARS_UBOOT_RUNTIME_CONFIG
Tom Rini91d27a12017-06-02 11:03:50 -04001172 imply FAT_WRITE
Michal Simek22270ca032018-10-04 14:26:13 +02001173 imply MP
Jean-Jacques Hiblot687ab542018-11-29 10:52:42 +01001174 imply DM_USB_GADGET
Michal Simek84c72042015-01-15 10:01:51 +01001175
Trevor Woerner18138ab2020-05-06 08:02:41 -04001176config ARCH_TEGRA
Masahiro Yamadaddd960e2014-08-31 07:10:56 +09001177 bool "NVIDIA Tegra"
Masahiro Yamada7325f6c2018-04-25 18:47:52 +09001178 imply DISTRO_DEFAULTS
Tom Rini91d27a12017-06-02 11:03:50 -04001179 imply FAT_WRITE
Masahiro Yamadadd840582014-07-30 14:08:14 +09001180
Linus Walleijf91afc42015-01-23 11:50:53 +01001181config TARGET_VEXPRESS64_AEMV8A
Masahiro Yamadadd840582014-07-30 14:08:14 +09001182 bool "Support vexpress_aemv8a"
Masahiro Yamada016a9542014-09-14 03:01:51 +09001183 select ARM64
Alexander Grafcf2c7782018-01-25 12:05:52 +01001184 select PL01X_SERIAL
Masahiro Yamadadd840582014-07-30 14:08:14 +09001185
Linus Walleijf91afc42015-01-23 11:50:53 +01001186config TARGET_VEXPRESS64_BASE_FVP
1187 bool "Support Versatile Express ARMv8a FVP BASE model"
1188 select ARM64
Alexander Grafcf2c7782018-01-25 12:05:52 +01001189 select PL01X_SERIAL
Michal Simek5ed063d2018-07-23 15:55:13 +02001190 select SEMIHOSTING
Linus Walleijf91afc42015-01-23 11:50:53 +01001191
Linus Walleijffc10372015-01-23 14:41:10 +01001192config TARGET_VEXPRESS64_JUNO
1193 bool "Support Versatile Express Juno Development Platform"
1194 select ARM64
Alexander Grafcf2c7782018-01-25 12:05:52 +01001195 select PL01X_SERIAL
Andre Przywarab3270e92020-04-27 19:18:01 +01001196 select DM
1197 select OF_CONTROL
1198 select OF_BOARD
1199 select CLK
1200 select DM_SERIAL
Andre Przywarabe0d0962020-04-27 19:18:02 +01001201 select ARM_PSCI_FW
1202 select PSCI_RESET
Andre Przywaracc696e72020-06-11 12:03:18 +01001203 select DM_ETH
Andre Przywara56e403d2020-04-27 19:18:03 +01001204 select BLK
1205 select USB
1206 select DM_USB
Linus Walleijffc10372015-01-23 14:41:10 +01001207
Usama Arif565add12020-08-12 16:12:53 +01001208config TARGET_TOTAL_COMPUTE
1209 bool "Support Total Compute Platform"
1210 select ARM64
1211 select PL01X_SERIAL
1212 select DM
1213 select DM_SERIAL
1214 select DM_MMC
1215 select DM_GPIO
1216
Prabhakar Kushwaha44937212015-11-09 16:42:07 +05301217config TARGET_LS2080A_EMU
1218 bool "Support ls2080a_emu"
York Sunfb2bf8c2016-10-04 14:31:48 -07001219 select ARCH_LS2080A
Masahiro Yamada016a9542014-09-14 03:01:51 +09001220 select ARM64
Linus Walleij23b58772015-03-09 10:53:21 +01001221 select ARMV8_MULTIENTRY
Rajesh Bhagat32413122019-02-01 05:22:01 +00001222 select FSL_DDR_SYNC_REFRESH
York Sun7288c2c2015-03-20 19:28:23 -07001223 help
Robert P. J. Daye852b302019-12-25 06:34:07 -05001224 Support for Freescale LS2080A_EMU platform.
1225 The LS2080A Development System (EMULATOR) is a pre-silicon
Prabhakar Kushwaha44937212015-11-09 16:42:07 +05301226 development platform that supports the QorIQ LS2080A
York Sun7288c2c2015-03-20 19:28:23 -07001227 Layerscape Architecture processor.
1228
Prabhakar Kushwaha44937212015-11-09 16:42:07 +05301229config TARGET_LS2080A_SIMU
1230 bool "Support ls2080a_simu"
York Sunfb2bf8c2016-10-04 14:31:48 -07001231 select ARCH_LS2080A
Prabhakar Kushwaha44937212015-11-09 16:42:07 +05301232 select ARM64
1233 select ARMV8_MULTIENTRY
Yuantian Tangacf40f52019-07-02 16:16:22 +08001234 select BOARD_LATE_INIT
Prabhakar Kushwaha44937212015-11-09 16:42:07 +05301235 help
Robert P. J. Daye852b302019-12-25 06:34:07 -05001236 Support for Freescale LS2080A_SIMU platform.
Prabhakar Kushwaha44937212015-11-09 16:42:07 +05301237 The LS2080A Development System (QDS) is a pre silicon
1238 development platform that supports the QorIQ LS2080A
1239 Layerscape Architecture processor.
1240
Ashish Kumar77697762017-08-31 16:12:55 +05301241config TARGET_LS1088AQDS
1242 bool "Support ls1088aqds"
1243 select ARCH_LS1088A
1244 select ARM64
1245 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001246 select ARCH_SUPPORT_TFABOOT
Ashish Kumar77697762017-08-31 16:12:55 +05301247 select BOARD_LATE_INIT
Ashish Kumar91fded62017-11-06 13:18:44 +05301248 select SUPPORT_SPL
Rajesh Bhagat32413122019-02-01 05:22:01 +00001249 select FSL_DDR_INTERACTIVE if !SD_BOOT
Ashish Kumar77697762017-08-31 16:12:55 +05301250 help
Robert P. J. Daye852b302019-12-25 06:34:07 -05001251 Support for NXP LS1088AQDS platform.
Ashish Kumar77697762017-08-31 16:12:55 +05301252 The LS1088A Development System (QDS) is a high-performance
1253 development platform that supports the QorIQ LS1088A
1254 Layerscape Architecture processor.
1255
Prabhakar Kushwaha44937212015-11-09 16:42:07 +05301256config TARGET_LS2080AQDS
1257 bool "Support ls2080aqds"
York Sunfb2bf8c2016-10-04 14:31:48 -07001258 select ARCH_LS2080A
York Sune2b65ea2015-03-20 19:28:24 -07001259 select ARM64
1260 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001261 select ARCH_SUPPORT_TFABOOT
Tom Rinie5ec4812017-01-22 19:43:11 -05001262 select BOARD_LATE_INIT
Scott Wood32eda7c2015-03-24 13:25:03 -07001263 select SUPPORT_SPL
Simon Glassfedb4282017-06-14 21:28:21 -06001264 imply SCSI
Tuomas Tynkkynen9fd95ef2017-12-08 15:36:19 +02001265 imply SCSI_AHCI
Rajesh Bhagat32413122019-02-01 05:22:01 +00001266 select FSL_DDR_BIST
1267 select FSL_DDR_INTERACTIVE if !SPL
York Sune2b65ea2015-03-20 19:28:24 -07001268 help
Robert P. J. Daye852b302019-12-25 06:34:07 -05001269 Support for Freescale LS2080AQDS platform.
Prabhakar Kushwaha44937212015-11-09 16:42:07 +05301270 The LS2080A Development System (QDS) is a high-performance
1271 development platform that supports the QorIQ LS2080A
1272 Layerscape Architecture processor.
1273
1274config TARGET_LS2080ARDB
1275 bool "Support ls2080ardb"
York Sunfb2bf8c2016-10-04 14:31:48 -07001276 select ARCH_LS2080A
Prabhakar Kushwaha44937212015-11-09 16:42:07 +05301277 select ARM64
1278 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001279 select ARCH_SUPPORT_TFABOOT
Tom Rinie5ec4812017-01-22 19:43:11 -05001280 select BOARD_LATE_INIT
Prabhakar Kushwaha44937212015-11-09 16:42:07 +05301281 select SUPPORT_SPL
Rajesh Bhagat32413122019-02-01 05:22:01 +00001282 select FSL_DDR_BIST
1283 select FSL_DDR_INTERACTIVE if !SPL
Simon Glassfedb4282017-06-14 21:28:21 -06001284 imply SCSI
Tuomas Tynkkynen9fd95ef2017-12-08 15:36:19 +02001285 imply SCSI_AHCI
Prabhakar Kushwaha44937212015-11-09 16:42:07 +05301286 help
1287 Support for Freescale LS2080ARDB platform.
1288 The LS2080A Reference design board (RDB) is a high-performance
1289 development platform that supports the QorIQ LS2080A
York Sune2b65ea2015-03-20 19:28:24 -07001290 Layerscape Architecture processor.
1291
Priyanka Jain3049a582017-04-27 15:08:07 +05301292config TARGET_LS2081ARDB
1293 bool "Support ls2081ardb"
1294 select ARCH_LS2080A
1295 select ARM64
1296 select ARMV8_MULTIENTRY
1297 select BOARD_LATE_INIT
1298 select SUPPORT_SPL
Priyanka Jain3049a582017-04-27 15:08:07 +05301299 help
1300 Support for Freescale LS2081ARDB platform.
1301 The LS2081A Reference design board (RDB) is a high-performance
1302 development platform that supports the QorIQ LS2081A/LS2041A
1303 Layerscape Architecture processor.
1304
Priyanka Jain58c3e622018-11-28 13:04:27 +00001305config TARGET_LX2160ARDB
1306 bool "Support lx2160ardb"
1307 select ARCH_LX2160A
Priyanka Jain58c3e622018-11-28 13:04:27 +00001308 select ARM64
1309 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001310 select ARCH_SUPPORT_TFABOOT
Priyanka Jain58c3e622018-11-28 13:04:27 +00001311 select BOARD_LATE_INIT
1312 help
1313 Support for NXP LX2160ARDB platform.
1314 The lx2160ardb (LX2160A Reference design board (RDB)
1315 is a high-performance development platform that supports the
1316 QorIQ LX2160A/LX2120A/LX2080A Layerscape Architecture processor.
1317
Pankaj Bansal1eba7232019-02-08 10:29:58 +00001318config TARGET_LX2160AQDS
1319 bool "Support lx2160aqds"
1320 select ARCH_LX2160A
Pankaj Bansal1eba7232019-02-08 10:29:58 +00001321 select ARM64
1322 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001323 select ARCH_SUPPORT_TFABOOT
Pankaj Bansal1eba7232019-02-08 10:29:58 +00001324 select BOARD_LATE_INIT
1325 help
1326 Support for NXP LX2160AQDS platform.
1327 The lx2160aqds (LX2160A QorIQ Development System (QDS)
1328 is a high-performance development platform that supports the
1329 QorIQ LX2160A/LX2120A/LX2080A Layerscape Architecture processor.
1330
Meenakshi Aggarwal9ed303d2020-12-04 20:17:28 +05301331config TARGET_LX2162AQDS
1332 bool "Support lx2162aqds"
1333 select ARCH_LX2162A
1334 select ARCH_MISC_INIT
1335 select ARM64
1336 select ARMV8_MULTIENTRY
1337 select ARCH_SUPPORT_TFABOOT
1338 select BOARD_LATE_INIT
1339 help
1340 Support for NXP LX2162AQDS platform.
1341 The lx2162aqds support is based on LX2160A Layerscape Architecture processor.
1342
Peter Griffin11ac2362015-07-30 18:55:23 +01001343config TARGET_HIKEY
1344 bool "Support HiKey 96boards Consumer Edition Platform"
1345 select ARM64
Peter Griffinefd7b602015-09-10 21:55:16 +01001346 select DM
1347 select DM_GPIO
Peter Griffin9c71bcd2015-09-10 21:55:17 +01001348 select DM_SERIAL
Peter Griffincd593ed2016-04-20 17:13:59 +01001349 select OF_CONTROL
Alexander Grafcf2c7782018-01-25 12:05:52 +01001350 select PL01X_SERIAL
Tom Rini6f6b7cf2018-03-06 19:02:27 -05001351 select SPECIFY_CONSOLE_INDEX
Michal Simek08a00cb2018-07-23 15:55:14 +02001352 imply CMD_DM
Peter Griffin11ac2362015-07-30 18:55:23 +01001353 help
1354 Support for HiKey 96boards platform. It features a HI6220
1355 SoC, with 8xA53 CPU, mali450 gpu, and 1GB RAM.
1356
Manivannan Sadhasivamc62c7ef2019-08-02 20:40:09 +05301357config TARGET_HIKEY960
1358 bool "Support HiKey960 96boards Consumer Edition Platform"
1359 select ARM64
1360 select DM
1361 select DM_SERIAL
1362 select OF_CONTROL
1363 select PL01X_SERIAL
1364 imply CMD_DM
1365 help
1366 Support for HiKey960 96boards platform. It features a HI3660
1367 SoC, with 4xA73 CPU, 4xA53 CPU, MALI-G71 GPU, and 3GB RAM.
1368
Jorge Ramirez-Ortizd7542542017-06-26 15:52:49 +02001369config TARGET_POPLAR
1370 bool "Support Poplar 96boards Enterprise Edition Platform"
1371 select ARM64
1372 select DM
Jorge Ramirez-Ortizd7542542017-06-26 15:52:49 +02001373 select DM_SERIAL
1374 select DM_USB
Michal Simek5ed063d2018-07-23 15:55:13 +02001375 select OF_CONTROL
Alexander Grafcf2c7782018-01-25 12:05:52 +01001376 select PL01X_SERIAL
Michal Simek08a00cb2018-07-23 15:55:14 +02001377 imply CMD_DM
Jorge Ramirez-Ortizd7542542017-06-26 15:52:49 +02001378 help
1379 Support for Poplar 96boards EE platform. It features a HI3798cv200
1380 SoC, with 4xA53 CPU, 1GB RAM and the high performance Mali T720 GPU
1381 making it capable of running any commercial set-top solution based on
1382 Linux or Android.
1383
Prabhakar Kushwaha9d044fc2016-06-03 18:41:34 +05301384config TARGET_LS1012AQDS
1385 bool "Support ls1012aqds"
York Sun9533acf2016-09-26 08:09:26 -07001386 select ARCH_LS1012A
Prabhakar Kushwaha9d044fc2016-06-03 18:41:34 +05301387 select ARM64
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001388 select ARCH_SUPPORT_TFABOOT
Tom Rinie5ec4812017-01-22 19:43:11 -05001389 select BOARD_LATE_INIT
Prabhakar Kushwaha9d044fc2016-06-03 18:41:34 +05301390 help
1391 Support for Freescale LS1012AQDS platform.
1392 The LS1012A Development System (QDS) is a high-performance
1393 development platform that supports the QorIQ LS1012A
1394 Layerscape Architecture processor.
1395
Prabhakar Kushwaha3b6e3892016-06-03 18:41:35 +05301396config TARGET_LS1012ARDB
1397 bool "Support ls1012ardb"
York Sun9533acf2016-09-26 08:09:26 -07001398 select ARCH_LS1012A
Prabhakar Kushwaha3b6e3892016-06-03 18:41:35 +05301399 select ARM64
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001400 select ARCH_SUPPORT_TFABOOT
Tom Rinie5ec4812017-01-22 19:43:11 -05001401 select BOARD_LATE_INIT
Simon Glassfedb4282017-06-14 21:28:21 -06001402 imply SCSI
Tuomas Tynkkynen9fd95ef2017-12-08 15:36:19 +02001403 imply SCSI_AHCI
Prabhakar Kushwaha3b6e3892016-06-03 18:41:35 +05301404 help
1405 Support for Freescale LS1012ARDB platform.
1406 The LS1012A Reference design board (RDB) is a high-performance
1407 development platform that supports the QorIQ LS1012A
1408 Layerscape Architecture processor.
1409
Bhaskar Upadhayab0ce1872018-01-11 20:03:31 +05301410config TARGET_LS1012A2G5RDB
1411 bool "Support ls1012a2g5rdb"
1412 select ARCH_LS1012A
1413 select ARM64
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001414 select ARCH_SUPPORT_TFABOOT
Bhaskar Upadhayab0ce1872018-01-11 20:03:31 +05301415 select BOARD_LATE_INIT
1416 imply SCSI
1417 help
1418 Support for Freescale LS1012A2G5RDB platform.
1419 The LS1012A 2G5 Reference design board (RDB) is a high-performance
1420 development platform that supports the QorIQ LS1012A
1421 Layerscape Architecture processor.
1422
Bhaskar Upadhaya9629ccd2018-05-23 11:03:30 +05301423config TARGET_LS1012AFRWY
1424 bool "Support ls1012afrwy"
1425 select ARCH_LS1012A
1426 select ARM64
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001427 select ARCH_SUPPORT_TFABOOT
Michal Simek5ed063d2018-07-23 15:55:13 +02001428 select BOARD_LATE_INIT
Bhaskar Upadhaya9629ccd2018-05-23 11:03:30 +05301429 imply SCSI
1430 imply SCSI_AHCI
1431 help
1432 Support for Freescale LS1012AFRWY platform.
1433 The LS1012A FRWY board (FRWY) is a high-performance
1434 development platform that supports the QorIQ LS1012A
1435 Layerscape Architecture processor.
1436
Prabhakar Kushwahaff78aa22016-06-03 18:41:36 +05301437config TARGET_LS1012AFRDM
1438 bool "Support ls1012afrdm"
York Sun9533acf2016-09-26 08:09:26 -07001439 select ARCH_LS1012A
Prabhakar Kushwahaff78aa22016-06-03 18:41:36 +05301440 select ARM64
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001441 select ARCH_SUPPORT_TFABOOT
Prabhakar Kushwahaff78aa22016-06-03 18:41:36 +05301442 help
1443 Support for Freescale LS1012AFRDM platform.
1444 The LS1012A Freedom board (FRDM) is a high-performance
1445 development platform that supports the QorIQ LS1012A
1446 Layerscape Architecture processor.
1447
Yuantian Tangf278a212019-04-10 16:43:35 +08001448config TARGET_LS1028AQDS
1449 bool "Support ls1028aqds"
1450 select ARCH_LS1028A
1451 select ARM64
1452 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001453 select ARCH_SUPPORT_TFABOOT
Yuantian Tangacf40f52019-07-02 16:16:22 +08001454 select BOARD_LATE_INIT
Yuantian Tangf278a212019-04-10 16:43:35 +08001455 help
1456 Support for Freescale LS1028AQDS platform
1457 The LS1028A Development System (QDS) is a high-performance
1458 development platform that supports the QorIQ LS1028A
1459 Layerscape Architecture processor.
1460
Yuantian Tang353f36d2019-04-10 16:43:34 +08001461config TARGET_LS1028ARDB
1462 bool "Support ls1028ardb"
1463 select ARCH_LS1028A
1464 select ARM64
1465 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001466 select ARCH_SUPPORT_TFABOOT
Yuantian Tangc40ebf72020-03-09 14:10:07 +08001467 select BOARD_LATE_INIT
Yuantian Tang353f36d2019-04-10 16:43:34 +08001468 help
1469 Support for Freescale LS1028ARDB platform
1470 The LS1028A Development System (RDB) is a high-performance
1471 development platform that supports the QorIQ LS1028A
1472 Layerscape Architecture processor.
1473
Ashish Kumare84a3242017-08-31 16:12:54 +05301474config TARGET_LS1088ARDB
1475 bool "Support ls1088ardb"
1476 select ARCH_LS1088A
1477 select ARM64
1478 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001479 select ARCH_SUPPORT_TFABOOT
Ashish Kumare84a3242017-08-31 16:12:54 +05301480 select BOARD_LATE_INIT
Ashish Kumar099f4092017-11-06 13:18:43 +05301481 select SUPPORT_SPL
Rajesh Bhagat32413122019-02-01 05:22:01 +00001482 select FSL_DDR_INTERACTIVE if !SD_BOOT
Ashish Kumare84a3242017-08-31 16:12:54 +05301483 help
1484 Support for NXP LS1088ARDB platform.
1485 The LS1088A Reference design board (RDB) is a high-performance
1486 development platform that supports the QorIQ LS1088A
1487 Layerscape Architecture processor.
1488
Wang Huan550e3dc2014-09-05 13:52:44 +08001489config TARGET_LS1021AQDS
Alison Wang0de15702014-12-03 16:18:09 +08001490 bool "Support ls1021aqds"
Michal Simek5ed063d2018-07-23 15:55:13 +02001491 select ARCH_LS1021A
1492 select ARCH_SUPPORT_PSCI
1493 select BOARD_EARLY_INIT_F
Tom Rinie5ec4812017-01-22 19:43:11 -05001494 select BOARD_LATE_INIT
Lokesh Vutlaacf15002018-04-26 18:21:26 +05301495 select CPU_V7A
Hongbo Zhangadee1d42016-09-21 18:31:04 +08001496 select CPU_V7_HAS_NONSEC
1497 select CPU_V7_HAS_VIRT
York Sun5e8bd7e2016-09-26 08:09:29 -07001498 select LS1_DEEP_SLEEP
Michal Simek5ed063d2018-07-23 15:55:13 +02001499 select SUPPORT_SPL
York Sund26e34c2016-12-28 08:43:40 -08001500 select SYS_FSL_DDR
Rajesh Bhagat32413122019-02-01 05:22:01 +00001501 select FSL_DDR_INTERACTIVE
Lukasz Majewski28964222020-06-04 23:11:52 +08001502 select DM_SPI_FLASH if FSL_DSPI || FSL_QSPI
1503 select SPI_FLASH_DATAFLASH if FSL_DSPI || FSL_QSPI
Simon Glassfedb4282017-06-14 21:28:21 -06001504 imply SCSI
Masahiro Yamada217f92b2016-08-30 16:22:22 +09001505
Wang Huanc8a7d9d2014-09-05 13:52:45 +08001506config TARGET_LS1021ATWR
Alison Wang0de15702014-12-03 16:18:09 +08001507 bool "Support ls1021atwr"
Michal Simek5ed063d2018-07-23 15:55:13 +02001508 select ARCH_LS1021A
1509 select ARCH_SUPPORT_PSCI
1510 select BOARD_EARLY_INIT_F
Tom Rinie5ec4812017-01-22 19:43:11 -05001511 select BOARD_LATE_INIT
Lokesh Vutlaacf15002018-04-26 18:21:26 +05301512 select CPU_V7A
Hongbo Zhangadee1d42016-09-21 18:31:04 +08001513 select CPU_V7_HAS_NONSEC
1514 select CPU_V7_HAS_VIRT
York Sun5e8bd7e2016-09-26 08:09:29 -07001515 select LS1_DEEP_SLEEP
Michal Simek5ed063d2018-07-23 15:55:13 +02001516 select SUPPORT_SPL
Lukasz Majewski28964222020-06-04 23:11:52 +08001517 select DM_SPI_FLASH if FSL_DSPI || FSL_QSPI
Simon Glassfedb4282017-06-14 21:28:21 -06001518 imply SCSI
Wang Huanc8a7d9d2014-09-05 13:52:45 +08001519
Jianchao Wang87821222019-07-19 00:30:01 +03001520config TARGET_LS1021ATSN
1521 bool "Support ls1021atsn"
1522 select ARCH_LS1021A
1523 select ARCH_SUPPORT_PSCI
1524 select BOARD_EARLY_INIT_F
1525 select BOARD_LATE_INIT
1526 select CPU_V7A
1527 select CPU_V7_HAS_NONSEC
1528 select CPU_V7_HAS_VIRT
1529 select LS1_DEEP_SLEEP
1530 select SUPPORT_SPL
1531 imply SCSI
1532
Feng Li20c700f2016-11-03 14:15:17 +08001533config TARGET_LS1021AIOT
1534 bool "Support ls1021aiot"
Michal Simek5ed063d2018-07-23 15:55:13 +02001535 select ARCH_LS1021A
1536 select ARCH_SUPPORT_PSCI
Tom Rinie5ec4812017-01-22 19:43:11 -05001537 select BOARD_LATE_INIT
Lokesh Vutlaacf15002018-04-26 18:21:26 +05301538 select CPU_V7A
Feng Li20c700f2016-11-03 14:15:17 +08001539 select CPU_V7_HAS_NONSEC
1540 select CPU_V7_HAS_VIRT
1541 select SUPPORT_SPL
Lukasz Majewski28964222020-06-04 23:11:52 +08001542 select DM_SPI_FLASH if FSL_DSPI || FSL_QSPI
Simon Glassfedb4282017-06-14 21:28:21 -06001543 imply SCSI
Feng Li20c700f2016-11-03 14:15:17 +08001544 help
1545 Support for Freescale LS1021AIOT platform.
1546 The LS1021A Freescale board (IOT) is a high-performance
1547 development platform that supports the QorIQ LS1021A
1548 Layerscape Architecture processor.
1549
Shaohui Xie02b5d2e2015-11-11 17:58:37 +08001550config TARGET_LS1043AQDS
1551 bool "Support ls1043aqds"
York Sun0a37cf82016-09-26 08:09:27 -07001552 select ARCH_LS1043A
Shaohui Xie02b5d2e2015-11-11 17:58:37 +08001553 select ARM64
1554 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001555 select ARCH_SUPPORT_TFABOOT
Michal Simek5ed063d2018-07-23 15:55:13 +02001556 select BOARD_EARLY_INIT_F
Tom Rinie5ec4812017-01-22 19:43:11 -05001557 select BOARD_LATE_INIT
Shaohui Xie02b5d2e2015-11-11 17:58:37 +08001558 select SUPPORT_SPL
Rajesh Bhagat32413122019-02-01 05:22:01 +00001559 select FSL_DDR_INTERACTIVE if !SPL
Lukasz Majewski044a66c2020-06-04 23:11:51 +08001560 select FSL_DSPI if !SPL_NO_DSPI
1561 select DM_SPI_FLASH if FSL_DSPI
Simon Glassfedb4282017-06-14 21:28:21 -06001562 imply SCSI
Peng Maf11e4922019-01-30 19:11:49 +08001563 imply SCSI_AHCI
Shaohui Xie02b5d2e2015-11-11 17:58:37 +08001564 help
1565 Support for Freescale LS1043AQDS platform.
1566
Mingkai Huf3a8e2b2015-10-26 19:47:52 +08001567config TARGET_LS1043ARDB
1568 bool "Support ls1043ardb"
York Sun0a37cf82016-09-26 08:09:27 -07001569 select ARCH_LS1043A
Mingkai Huf3a8e2b2015-10-26 19:47:52 +08001570 select ARM64
Hou Zhiqiang831c0682015-10-26 19:47:57 +08001571 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001572 select ARCH_SUPPORT_TFABOOT
Michal Simek5ed063d2018-07-23 15:55:13 +02001573 select BOARD_EARLY_INIT_F
Tom Rinie5ec4812017-01-22 19:43:11 -05001574 select BOARD_LATE_INIT
Gong Qianyu3ad44722015-10-26 19:47:53 +08001575 select SUPPORT_SPL
Lukasz Majewski044a66c2020-06-04 23:11:51 +08001576 select FSL_DSPI if !SPL_NO_DSPI
1577 select DM_SPI_FLASH if FSL_DSPI
Mingkai Huf3a8e2b2015-10-26 19:47:52 +08001578 help
1579 Support for Freescale LS1043ARDB platform.
1580
Shaohui Xie126fe702016-09-07 17:56:14 +08001581config TARGET_LS1046AQDS
1582 bool "Support ls1046aqds"
York Sunda28e582016-09-26 08:09:24 -07001583 select ARCH_LS1046A
Shaohui Xie126fe702016-09-07 17:56:14 +08001584 select ARM64
1585 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001586 select ARCH_SUPPORT_TFABOOT
Simon Glassa5d67542017-01-23 13:31:20 -07001587 select BOARD_EARLY_INIT_F
Michal Simek5ed063d2018-07-23 15:55:13 +02001588 select BOARD_LATE_INIT
1589 select DM_SPI_FLASH if DM_SPI
1590 select SUPPORT_SPL
Rajesh Bhagat32413122019-02-01 05:22:01 +00001591 select FSL_DDR_BIST if !SPL
1592 select FSL_DDR_INTERACTIVE if !SPL
1593 select FSL_DDR_INTERACTIVE if !SPL
Simon Glassfedb4282017-06-14 21:28:21 -06001594 imply SCSI
Shaohui Xie126fe702016-09-07 17:56:14 +08001595 help
1596 Support for Freescale LS1046AQDS platform.
1597 The LS1046A Development System (QDS) is a high-performance
1598 development platform that supports the QorIQ LS1046A
1599 Layerscape Architecture processor.
1600
Mingkai Hudd029362016-09-07 18:47:28 +08001601config TARGET_LS1046ARDB
1602 bool "Support ls1046ardb"
York Sunda28e582016-09-26 08:09:24 -07001603 select ARCH_LS1046A
Mingkai Hudd029362016-09-07 18:47:28 +08001604 select ARM64
1605 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001606 select ARCH_SUPPORT_TFABOOT
Michal Simek5ed063d2018-07-23 15:55:13 +02001607 select BOARD_EARLY_INIT_F
Tom Rinie5ec4812017-01-22 19:43:11 -05001608 select BOARD_LATE_INIT
Mingkai Hudd029362016-09-07 18:47:28 +08001609 select DM_SPI_FLASH if DM_SPI
Hou Zhiqiangdccef2e2016-12-09 16:09:01 +08001610 select POWER_MC34VR500
Michal Simek5ed063d2018-07-23 15:55:13 +02001611 select SUPPORT_SPL
Rajesh Bhagat32413122019-02-01 05:22:01 +00001612 select FSL_DDR_BIST
1613 select FSL_DDR_INTERACTIVE if !SPL
Simon Glassfedb4282017-06-14 21:28:21 -06001614 imply SCSI
Mingkai Hudd029362016-09-07 18:47:28 +08001615 help
1616 Support for Freescale LS1046ARDB platform.
1617 The LS1046A Reference Design Board (RDB) is a high-performance
1618 development platform that supports the QorIQ LS1046A
1619 Layerscape Architecture processor.
1620
Vabhav Sharmad90c7ac2019-06-06 12:35:28 +00001621config TARGET_LS1046AFRWY
1622 bool "Support ls1046afrwy"
1623 select ARCH_LS1046A
1624 select ARM64
1625 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001626 select ARCH_SUPPORT_TFABOOT
Vabhav Sharmad90c7ac2019-06-06 12:35:28 +00001627 select BOARD_EARLY_INIT_F
1628 select BOARD_LATE_INIT
1629 select DM_SPI_FLASH if DM_SPI
1630 imply SCSI
1631 help
1632 Support for Freescale LS1046AFRWY platform.
1633 The LS1046A Freeway Board (FRWY) is a high-performance
1634 development platform that supports the QorIQ LS1046A
1635 Layerscape Architecture processor.
Masahiro Yamadadd840582014-07-30 14:08:14 +09001636
Michael Walle4ceb5c62020-10-15 23:08:57 +02001637config TARGET_SL28
1638 bool "Support sl28"
1639 select ARCH_LS1028A
1640 select ARM64
1641 select ARMV8_MULTIENTRY
1642 select SUPPORT_SPL
1643 select BINMAN
1644 help
1645 Support for Kontron SMARC-sAL28 board.
1646
Masahiro Yamadadd840582014-07-30 14:08:14 +09001647config TARGET_COLIBRI_PXA270
1648 bool "Support colibri_pxa270"
Georges Savoundararadj2e07c242014-10-28 23:16:09 +01001649 select CPU_PXA
Masahiro Yamadadd840582014-07-30 14:08:14 +09001650
Masahiro Yamada66cba042014-10-03 19:21:07 +09001651config ARCH_UNIPHIER
Masahiro Yamadab6ef3a32015-05-29 17:30:01 +09001652 bool "Socionext UniPhier SoCs"
Tom Rinie5ec4812017-01-22 19:43:11 -05001653 select BOARD_LATE_INIT
Masahiro Yamada4e819952015-03-31 12:47:54 +09001654 select DM
Masahiro Yamada15171262020-05-07 22:11:19 +09001655 select DM_ETH
Masahiro Yamadab800cbd2016-02-16 17:03:50 +09001656 select DM_GPIO
Masahiro Yamada4e819952015-03-31 12:47:54 +09001657 select DM_I2C
Masahiro Yamada4aceb3f2016-02-18 19:52:49 +09001658 select DM_MMC
Masahiro Yamada407b01b2020-01-30 22:07:59 +09001659 select DM_MTD
Masahiro Yamada4fb96c42016-10-08 13:25:31 +09001660 select DM_RESET
Masahiro Yamadab5550e42016-09-14 01:05:59 +09001661 select DM_SERIAL
Masahiro Yamada47a79f62016-09-14 01:06:00 +09001662 select DM_USB
Masahiro Yamada65fce762018-07-19 16:28:25 +09001663 select OF_BOARD_SETUP
Masahiro Yamadab5550e42016-09-14 01:05:59 +09001664 select OF_CONTROL
1665 select OF_LIBFDT
Masahiro Yamada27350c92016-09-17 03:33:01 +09001666 select PINCTRL
Ley Foon Tan0680f1b2017-05-03 17:13:32 +08001667 select SPL_BOARD_INIT if SPL
Masahiro Yamada561ca642017-01-21 18:05:22 +09001668 select SPL_DM if SPL
1669 select SPL_LIBCOMMON_SUPPORT if SPL
1670 select SPL_LIBGENERIC_SUPPORT if SPL
1671 select SPL_OF_CONTROL if SPL
1672 select SPL_PINCTRL if SPL
Masahiro Yamadab5550e42016-09-14 01:05:59 +09001673 select SUPPORT_SPL
Michal Simek08a00cb2018-07-23 15:55:14 +02001674 imply CMD_DM
Masahiro Yamada7ef5b1e2018-07-20 21:47:18 +09001675 imply DISTRO_DEFAULTS
Tom Rini91d27a12017-06-02 11:03:50 -04001676 imply FAT_WRITE
Masahiro Yamadab6ef3a32015-05-29 17:30:01 +09001677 help
1678 Support for UniPhier SoC family developed by Socionext Inc.
1679 (formerly, System LSI Business Division of Panasonic Corporation)
Masahiro Yamada66cba042014-10-03 19:21:07 +09001680
Trevor Woerner71f63542020-05-06 08:02:42 -04001681config ARCH_STM32
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01001682 bool "Support STMicroelectronics STM32 MCU with cortex M"
rev13@wp.pled09a552015-03-01 12:44:42 +01001683 select CPU_V7M
Kamil Lulko66562412015-12-01 09:08:19 +01001684 select DM
1685 select DM_SERIAL
Michal Simek08a00cb2018-07-23 15:55:14 +02001686 imply CMD_DM
rev13@wp.pled09a552015-03-01 12:44:42 +01001687
Patrice Chotard94e9a4e2017-02-21 13:37:04 +01001688config ARCH_STI
1689 bool "Support STMicrolectronics SoCs"
Michal Simek5ed063d2018-07-23 15:55:13 +02001690 select BLK
Lokesh Vutlaacf15002018-04-26 18:21:26 +05301691 select CPU_V7A
Patrice Chotard214a17e2017-02-21 13:37:07 +01001692 select DM
Patrice Chotardeee20f82017-02-21 13:37:09 +01001693 select DM_MMC
Patrice Chotard584861f2017-03-22 10:54:03 +01001694 select DM_RESET
Michal Simek5ed063d2018-07-23 15:55:13 +02001695 select DM_SERIAL
Michal Simek08a00cb2018-07-23 15:55:14 +02001696 imply CMD_DM
Patrice Chotard94e9a4e2017-02-21 13:37:04 +01001697 help
1698 Support for STMicroelectronics STiH407/10 SoC family.
1699 This SoC is used on Linaro 96Board STiH410-B2260
1700
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01001701config ARCH_STM32MP
1702 bool "Support STMicroelectronics STM32MP Socs with cortex A"
Patrick Delaunay08772f62018-03-20 10:54:53 +01001703 select ARCH_MISC_INIT
Patrick Delaunay654706b2020-04-01 09:07:33 +02001704 select ARCH_SUPPORT_TFABOOT
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01001705 select BOARD_LATE_INIT
1706 select CLK
1707 select DM
1708 select DM_GPIO
1709 select DM_RESET
1710 select DM_SERIAL
Michal Simek5ed063d2018-07-23 15:55:13 +02001711 select MISC
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01001712 select OF_CONTROL
1713 select OF_LIBFDT
Patrick Delaunay05d36932019-07-05 17:20:14 +02001714 select OF_SYSTEM_SETUP
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01001715 select PINCTRL
1716 select REGMAP
1717 select SUPPORT_SPL
1718 select SYSCON
Patrick Delaunay86634a92018-03-20 14:15:06 +01001719 select SYSRESET
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01001720 select SYS_THUMB_BUILD
Kever Yang09259fc2019-04-02 20:41:25 +08001721 imply SPL_SYSRESET
Michal Simek08a00cb2018-07-23 15:55:14 +02001722 imply CMD_DM
Patrick Delaunayc16cc4f2019-04-12 11:55:46 +02001723 imply CMD_POWEROFF
Patrick Delaunayf2193612019-07-30 19:16:28 +02001724 imply OF_LIBFDT_OVERLAY
Patrick Delaunayb4ae34b2019-02-27 17:01:11 +01001725 imply ENV_VARS_UBOOT_RUNTIME_CONFIG
Patrick Delaunayce3772c2019-04-18 17:32:38 +02001726 imply USE_PREBOOT
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01001727 help
1728 Support for STM32MP SoC family developed by STMicroelectronics,
1729 MPUs based on ARM cortex A core
Patrick Delaunayabf26782019-02-12 11:44:39 +01001730 U-BOOT is running in DDR, loaded by the First Stage BootLoader (FSBL).
1731 FSBL can be TF-A: Trusted Firmware for Cortex A, for trusted boot
1732 chain.
1733 SPL is the unsecure FSBL for the basic boot chain.
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01001734
Simon Glass2444dae2015-08-30 16:55:38 -06001735config ARCH_ROCKCHIP
1736 bool "Support Rockchip SoCs"
Simon Glassaa150382016-06-12 23:30:14 -06001737 select BLK
Kever Yang7a9c5742020-11-10 11:43:32 +08001738 select BINMAN if SPL_OPTEE
Simon Glass2444dae2015-08-30 16:55:38 -06001739 select DM
Simon Glassaa150382016-06-12 23:30:14 -06001740 select DM_GPIO
1741 select DM_I2C
1742 select DM_MMC
Michal Simek5ed063d2018-07-23 15:55:13 +02001743 select DM_PWM
1744 select DM_REGULATOR
Simon Glassaa150382016-06-12 23:30:14 -06001745 select DM_SERIAL
1746 select DM_SPI
1747 select DM_SPI_FLASH
MengDongyang892742d2016-08-24 12:02:18 +08001748 select DM_USB if USB
Philipp Tomsich14ad6eb2017-10-10 16:21:03 +02001749 select ENABLE_ARM_SOC_BOOT0_HOOK
Michal Simek5ed063d2018-07-23 15:55:13 +02001750 select OF_CONTROL
Adam Fordf1b1f772018-04-15 13:51:26 -04001751 select SPI
Michal Simek5ed063d2018-07-23 15:55:13 +02001752 select SPL_DM if SPL
Lukasz Majewski56c40462020-06-04 23:11:53 +08001753 select SPL_DM_SPI if SPL
1754 select SPL_DM_SPI_FLASH if SPL
Michal Simek5ed063d2018-07-23 15:55:13 +02001755 select SYS_MALLOC_F
1756 select SYS_THUMB_BUILD if !ARM64
1757 imply ADC
Michal Simek08a00cb2018-07-23 15:55:14 +02001758 imply CMD_DM
Kever Yangb0a569d2019-03-29 09:08:58 +08001759 imply DEBUG_UART_BOARD_INIT
Masahiro Yamada7325f6c2018-04-25 18:47:52 +09001760 imply DISTRO_DEFAULTS
Tom Rini91d27a12017-06-02 11:03:50 -04001761 imply FAT_WRITE
Philipp Tomsich8e8bccc2017-09-20 13:50:13 +02001762 imply SARADC_ROCKCHIP
Michal Simek5ed063d2018-07-23 15:55:13 +02001763 imply SPL_SYSRESET
Thomas Hebb64eff472019-11-15 08:48:57 -08001764 imply SPL_SYS_MALLOC_SIMPLE
Kever Yangc3c03312018-04-19 11:37:09 +08001765 imply SYS_NS16550
Michal Simek5ed063d2018-07-23 15:55:13 +02001766 imply TPL_SYSRESET
1767 imply USB_FUNCTION_FASTBOOT
Simon Glass2444dae2015-08-30 16:55:38 -06001768
Suneel Garapati03c22882019-10-19 18:37:55 -07001769config ARCH_OCTEONTX
1770 bool "Support OcteonTX SoCs"
Stefan Roese7a780742020-09-23 11:01:30 +02001771 select CLK
Suneel Garapati03c22882019-10-19 18:37:55 -07001772 select DM
1773 select ARM64
1774 select OF_CONTROL
1775 select OF_LIVE
1776 select BOARD_LATE_INIT
1777 select SYS_CACHE_SHIFT_7
Suneel Garapati0a668f62019-10-19 18:47:37 -07001778
1779config ARCH_OCTEONTX2
1780 bool "Support OcteonTX2 SoCs"
Stefan Roese7a780742020-09-23 11:01:30 +02001781 select CLK
Suneel Garapati0a668f62019-10-19 18:47:37 -07001782 select DM
1783 select ARM64
1784 select OF_CONTROL
1785 select OF_LIVE
1786 select BOARD_LATE_INIT
1787 select SYS_CACHE_SHIFT_7
1788
Sergey Temerkhanov746f9852015-10-14 09:55:50 -07001789config TARGET_THUNDERX_88XX
1790 bool "Support ThunderX 88xx"
Marek Vasutb4ba1692016-06-01 02:33:53 +02001791 select ARM64
Sergey Temerkhanov746f9852015-10-14 09:55:50 -07001792 select OF_CONTROL
Alexander Grafcf2c7782018-01-25 12:05:52 +01001793 select PL01X_SERIAL
Michal Simek5ed063d2018-07-23 15:55:13 +02001794 select SYS_CACHE_SHIFT_7
Sergey Temerkhanov746f9852015-10-14 09:55:50 -07001795
maxims@google.com4697abe2017-01-18 13:44:55 -08001796config ARCH_ASPEED
1797 bool "Support Aspeed SoCs"
maxims@google.com4697abe2017-01-18 13:44:55 -08001798 select DM
Michal Simek5ed063d2018-07-23 15:55:13 +02001799 select OF_CONTROL
Michal Simek08a00cb2018-07-23 15:55:14 +02001800 imply CMD_DM
maxims@google.com4697abe2017-01-18 13:44:55 -08001801
liu haoe3aafef2019-10-31 07:51:08 +00001802config TARGET_DURIAN
1803 bool "Support Phytium Durian Platform"
1804 select ARM64
1805 help
1806 Support for durian platform.
1807 It has 2GB Sdram, uart and pcie.
1808
Alex Nemirovsky7d706a82020-01-30 12:34:59 -08001809config TARGET_PRESIDIO_ASIC
1810 bool "Support Cortina Presidio ASIC Platform"
1811 select ARM64
1812
Andrii Anisov770a8ee2020-08-06 12:42:47 +03001813config TARGET_XENGUEST_ARM64
1814 bool "Xen guest ARM64"
1815 select ARM64
1816 select XEN
1817 select OF_CONTROL
1818 select LINUX_KERNEL_IMAGE_HEADER
Peng Fan384d5cf2020-08-06 12:42:50 +03001819 select XEN_SERIAL
Oleksandr Andrushchenko60e49ff2020-08-06 12:42:53 +03001820 select SSCANF
Masahiro Yamadadd840582014-07-30 14:08:14 +09001821endchoice
1822
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001823config ARCH_SUPPORT_TFABOOT
1824 bool
1825
1826config TFABOOT
1827 bool "Support for booting from TF-A"
1828 depends on ARCH_SUPPORT_TFABOOT
1829 default n
1830 help
Andre Przywaracee2e022020-09-30 15:45:07 +01001831 Some platforms support the setup of secure registers (for instance
1832 for CPU errata handling) or provide secure services like PSCI.
1833 Those services could also be provided by other firmware parts
1834 like TF-A (Trusted Firmware for Cortex-A), in which case U-Boot
1835 does not need to (and cannot) execute this code.
1836 Enabling this option will make a U-Boot binary that is relying
1837 on other firmware layers to provide secure functionality.
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001838
Andrew F. Davis5fbed8f2018-02-14 11:53:37 -06001839config TI_SECURE_DEVICE
1840 bool "HS Device Type Support"
Andrew F. Davis3a543a82019-04-12 12:54:45 -04001841 depends on ARCH_KEYSTONE || ARCH_OMAP2PLUS || ARCH_K3
Andrew F. Davis5fbed8f2018-02-14 11:53:37 -06001842 help
1843 If a high secure (HS) device type is being used, this config
1844 must be set. This option impacts various aspects of the
1845 build system (to create signed boot images that can be
1846 authenticated) and the code. See the doc/README.ti-secure
1847 file for further details.
1848
Tom Rini9c4b0132019-03-19 07:14:37 -04001849if AM43XX || AM33XX || OMAP54XX || ARCH_KEYSTONE
1850config ISW_ENTRY_ADDR
1851 hex "Address in memory or XIP address of bootloader entry point"
1852 default 0x402F4000 if AM43XX
1853 default 0x402F0400 if AM33XX
1854 default 0x40301350 if OMAP54XX
1855 help
1856 After any reset, the boot ROM searches the boot media for a valid
1857 boot image. For non-XIP devices, the ROM then copies the image into
1858 internal memory. For all boot modes, after the ROM processes the
1859 boot image it eventually computes the entry point address depending
1860 on the device type (secure/non-secure), boot media (xip/non-xip) and
1861 image headers.
1862endif
1863
maxims@google.com4697abe2017-01-18 13:44:55 -08001864source "arch/arm/mach-aspeed/Kconfig"
1865
Masahiro Yamada4614b892015-02-20 17:04:01 +09001866source "arch/arm/mach-at91/Kconfig"
1867
Masahiro Yamadaddf6bd42015-03-19 19:42:56 +09001868source "arch/arm/mach-bcm283x/Kconfig"
Masahiro Yamada3491ba62014-08-31 07:11:01 +09001869
Thomas Fitzsimmons894c3ad2018-06-08 17:59:45 -04001870source "arch/arm/mach-bcmstb/Kconfig"
1871
Masahiro Yamadaddf6bd42015-03-19 19:42:56 +09001872source "arch/arm/mach-davinci/Kconfig"
Simon Glass34e609c2015-02-05 21:41:39 -07001873
Thomas Abraham77b55e82015-08-03 17:58:00 +05301874source "arch/arm/mach-exynos/Kconfig"
Masahiro Yamada72df68c2014-08-31 07:11:00 +09001875
Masahiro Yamada72a8ff42015-02-20 17:04:08 +09001876source "arch/arm/mach-highbank/Kconfig"
Masahiro Yamadaef2b6942014-08-31 07:11:07 +09001877
Masahiro Yamada5cbbd9b2015-04-21 21:59:36 +09001878source "arch/arm/mach-integrator/Kconfig"
1879
Robert Markoe479a7d2020-07-06 10:37:54 +02001880source "arch/arm/mach-ipq40xx/Kconfig"
1881
Lokesh Vutla586bde92018-08-27 15:57:08 +05301882source "arch/arm/mach-k3/Kconfig"
1883
Masahiro Yamada39a72342015-02-20 17:04:11 +09001884source "arch/arm/mach-keystone/Kconfig"
Masahiro Yamadac338f092014-08-31 07:11:05 +09001885
Masahiro Yamada56f86e32015-02-20 17:04:06 +09001886source "arch/arm/mach-kirkwood/Kconfig"
Masahiro Yamada47539e22014-08-31 07:10:59 +09001887
Trevor Woernerb3d9a8b2020-05-06 08:02:36 -04001888source "arch/arm/mach-lpc32xx/Kconfig"
Vladimir Zapolskiyee54dfe2018-09-17 21:43:03 +03001889
Stefan Roesec3d89142015-08-25 13:18:38 +02001890source "arch/arm/mach-mvebu/Kconfig"
1891
Suneel Garapati03c22882019-10-19 18:37:55 -07001892source "arch/arm/mach-octeontx/Kconfig"
Suneel Garapati0a668f62019-10-19 18:47:37 -07001893
1894source "arch/arm/mach-octeontx2/Kconfig"
1895
York Sun0a37cf82016-09-26 08:09:27 -07001896source "arch/arm/cpu/armv7/ls102xa/Kconfig"
1897
Fabio Estevam07df6972017-11-03 13:40:08 -02001898source "arch/arm/mach-imx/mx2/Kconfig"
1899
Magnus Lilja3159ec62018-05-11 14:06:54 +02001900source "arch/arm/mach-imx/mx3/Kconfig"
1901
Peng Fan7a7391f2018-01-10 13:20:19 +08001902source "arch/arm/mach-imx/mx5/Kconfig"
Adrian Alonso1a8150d2015-09-03 11:49:28 -05001903
Stefano Babic552a8482017-06-29 10:16:06 +02001904source "arch/arm/mach-imx/mx6/Kconfig"
Boris BREZILLON89ebc822015-03-04 13:13:03 +01001905
Peng Fan7a7391f2018-01-10 13:20:19 +08001906source "arch/arm/mach-imx/mx7/Kconfig"
1907
1908source "arch/arm/mach-imx/mx7ulp/Kconfig"
1909
Peng Fanb2b8b9b2018-10-18 14:28:08 +02001910source "arch/arm/mach-imx/imx8/Kconfig"
1911
Peng Fancd357ad2018-11-20 10:19:25 +00001912source "arch/arm/mach-imx/imx8m/Kconfig"
Andrej Rosano424ee3d2015-04-08 18:56:29 +02001913
Giulio Benetti77eb9a92020-01-10 15:51:47 +01001914source "arch/arm/mach-imx/imxrt/Kconfig"
1915
Stefan Agnerc5343d42018-02-06 09:44:34 +01001916source "arch/arm/mach-imx/mxs/Kconfig"
1917
Tom Rini983e3702016-11-07 21:34:54 -05001918source "arch/arm/mach-omap2/Kconfig"
Madan Srinivas63847262016-05-19 19:10:43 -05001919
York Sunda28e582016-09-26 08:09:24 -07001920source "arch/arm/cpu/armv8/fsl-layerscape/Kconfig"
1921
Masahiro Yamada3e93b4e2015-02-20 17:04:09 +09001922source "arch/arm/mach-orion5x/Kconfig"
Masahiro Yamada22f2be72014-08-31 07:11:06 +09001923
Manivannan Sadhasivam97775d22018-06-14 23:38:31 +05301924source "arch/arm/mach-owl/Kconfig"
1925
Nobuhiro Iwamatsubadbb632015-10-09 16:40:09 +09001926source "arch/arm/mach-rmobile/Kconfig"
Masahiro Yamadaf40b9892014-08-31 07:10:57 +09001927
Beniamino Galvanibfcef282016-05-08 08:30:16 +02001928source "arch/arm/mach-meson/Kconfig"
1929
Ryder Leecbd2fba2018-11-15 10:07:52 +08001930source "arch/arm/mach-mediatek/Kconfig"
1931
Tuomas Tynkkynen32f11822017-09-19 23:18:07 +03001932source "arch/arm/mach-qemu/Kconfig"
1933
Simon Glass2444dae2015-08-30 16:55:38 -06001934source "arch/arm/mach-rockchip/Kconfig"
1935
Minkyu Kang225f5ee2015-11-20 15:24:57 +09001936source "arch/arm/mach-s5pc1xx/Kconfig"
Simon Glass311757b2014-10-07 22:01:50 -06001937
Mateusz Kulikowski08592132016-03-31 23:12:32 +02001938source "arch/arm/mach-snapdragon/Kconfig"
1939
Masahiro Yamada7865f4b2015-04-21 20:38:20 +09001940source "arch/arm/mach-socfpga/Kconfig"
1941
Patrice Chotard94e9a4e2017-02-21 13:37:04 +01001942source "arch/arm/mach-sti/Kconfig"
1943
Vikas Manocha0a61ee82016-01-15 17:49:06 -08001944source "arch/arm/mach-stm32/Kconfig"
1945
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01001946source "arch/arm/mach-stm32mp/Kconfig"
1947
Masahiro Yamada3abfd882017-04-28 19:42:18 +09001948source "arch/arm/mach-sunxi/Kconfig"
1949
Masahiro Yamada09f455d2015-02-20 17:04:04 +09001950source "arch/arm/mach-tegra/Kconfig"
Masahiro Yamadaddd960e2014-08-31 07:10:56 +09001951
Stephan Gerhold689088f2020-01-04 18:45:17 +01001952source "arch/arm/mach-u8500/Kconfig"
1953
Masahiro Yamada4c425572015-02-27 02:26:42 +09001954source "arch/arm/mach-uniphier/Kconfig"
Masahiro Yamada66cba042014-10-03 19:21:07 +09001955
Stefan Agner7966b432017-03-13 18:41:36 -07001956source "arch/arm/cpu/armv7/vf610/Kconfig"
1957
Masahiro Yamada0107f242015-03-16 16:43:22 +09001958source "arch/arm/mach-zynq/Kconfig"
Masahiro Yamadaddd960e2014-08-31 07:10:56 +09001959
Michal Simek274ccb52019-01-17 08:22:43 +01001960source "arch/arm/mach-zynqmp/Kconfig"
1961
Michal Simekec48b6c2018-08-22 14:55:27 +02001962source "arch/arm/mach-versal/Kconfig"
1963
Michal Simek1d6c54e2018-04-12 17:39:46 +02001964source "arch/arm/mach-zynqmp-r5/Kconfig"
1965
Hans de Goedeea624e12014-11-14 09:34:30 +01001966source "arch/arm/cpu/armv7/Kconfig"
1967
Linus Walleij23b58772015-03-09 10:53:21 +01001968source "arch/arm/cpu/armv8/Kconfig"
1969
Stefano Babic552a8482017-06-29 10:16:06 +02001970source "arch/arm/mach-imx/Kconfig"
Boris BREZILLONa05a6042015-03-04 13:13:04 +01001971
Stefan Bosch95e9a8e2020-07-10 19:07:26 +02001972source "arch/arm/mach-nexell/Kconfig"
1973
Usama Arif565add12020-08-12 16:12:53 +01001974source "board/armltd/total_compute/Kconfig"
1975
Heiko Schocherd8ccbe92016-06-07 08:31:25 +02001976source "board/bosch/shc/Kconfig"
Sjoerd Simons45123802019-02-25 15:33:00 +00001977source "board/bosch/guardian/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001978source "board/CarMediaLab/flea3/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001979source "board/Marvell/aspenite/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001980source "board/Marvell/gplugd/Kconfig"
Suneel Garapati03c22882019-10-19 18:37:55 -07001981source "board/Marvell/octeontx/Kconfig"
Suneel Garapati0a668f62019-10-19 18:47:37 -07001982source "board/Marvell/octeontx2/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001983source "board/armadeus/apf27/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001984source "board/armltd/vexpress/Kconfig"
1985source "board/armltd/vexpress64/Kconfig"
Alex Nemirovsky7d706a82020-01-30 12:34:59 -08001986source "board/cortina/presidio-asic/Kconfig"
Steve Rae43486e42016-06-02 15:10:56 -07001987source "board/broadcom/bcm23550_w1d/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001988source "board/broadcom/bcm28155_ap/Kconfig"
Philippe Reynesbe2fc082019-01-31 18:57:36 +01001989source "board/broadcom/bcm963158/Kconfig"
Philippe Reynes645b7ec2020-01-07 20:14:17 +01001990source "board/broadcom/bcm968360bg/Kconfig"
Philippe Reynes40b59b02018-10-11 18:31:58 +02001991source "board/broadcom/bcm968580xref/Kconfig"
Steve Raeabb16782014-11-11 11:32:18 -08001992source "board/broadcom/bcmcygnus/Kconfig"
1993source "board/broadcom/bcmnsp/Kconfig"
Jon Mason274bced2017-03-17 12:12:14 -04001994source "board/broadcom/bcmns2/Kconfig"
Rayagonda Kokatanur291635a2020-07-15 22:48:55 +05301995source "board/broadcom/bcmns3/Kconfig"
Sergey Temerkhanov746f9852015-10-14 09:55:50 -07001996source "board/cavium/thunderx/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001997source "board/cirrus/edb93xx/Kconfig"
Felix Brack85ab0452018-01-23 18:27:22 +01001998source "board/eets/pdu001/Kconfig"
Bin Meng6f332762018-10-15 02:21:18 -07001999source "board/emulation/qemu-arm/Kconfig"
Prabhakar Kushwaha44937212015-11-09 16:42:07 +05302000source "board/freescale/ls2080a/Kconfig"
2001source "board/freescale/ls2080aqds/Kconfig"
2002source "board/freescale/ls2080ardb/Kconfig"
Ashish Kumare84a3242017-08-31 16:12:54 +05302003source "board/freescale/ls1088a/Kconfig"
Yuantian Tang353f36d2019-04-10 16:43:34 +08002004source "board/freescale/ls1028a/Kconfig"
Wang Huan550e3dc2014-09-05 13:52:44 +08002005source "board/freescale/ls1021aqds/Kconfig"
Shaohui Xie02b5d2e2015-11-11 17:58:37 +08002006source "board/freescale/ls1043aqds/Kconfig"
Wang Huanc8a7d9d2014-09-05 13:52:45 +08002007source "board/freescale/ls1021atwr/Kconfig"
Jianchao Wang87821222019-07-19 00:30:01 +03002008source "board/freescale/ls1021atsn/Kconfig"
Feng Li20c700f2016-11-03 14:15:17 +08002009source "board/freescale/ls1021aiot/Kconfig"
Shaohui Xie126fe702016-09-07 17:56:14 +08002010source "board/freescale/ls1046aqds/Kconfig"
Mingkai Huf3a8e2b2015-10-26 19:47:52 +08002011source "board/freescale/ls1043ardb/Kconfig"
Mingkai Hudd029362016-09-07 18:47:28 +08002012source "board/freescale/ls1046ardb/Kconfig"
Vabhav Sharmad90c7ac2019-06-06 12:35:28 +00002013source "board/freescale/ls1046afrwy/Kconfig"
Prabhakar Kushwaha9d044fc2016-06-03 18:41:34 +05302014source "board/freescale/ls1012aqds/Kconfig"
Prabhakar Kushwaha3b6e3892016-06-03 18:41:35 +05302015source "board/freescale/ls1012ardb/Kconfig"
Prabhakar Kushwahaff78aa22016-06-03 18:41:36 +05302016source "board/freescale/ls1012afrdm/Kconfig"
Priyanka Jain58c3e622018-11-28 13:04:27 +00002017source "board/freescale/lx2160a/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09002018source "board/freescale/mx35pdk/Kconfig"
Eddy Petrișor9702ec02016-06-05 03:43:00 +03002019source "board/freescale/s32v234evb/Kconfig"
Marcin Niestrojab38bf62017-01-25 09:53:08 +01002020source "board/grinn/chiliboard/Kconfig"
Tom Rini345243e2015-09-02 15:32:20 -04002021source "board/hisilicon/hikey/Kconfig"
Manivannan Sadhasivamc62c7ef2019-08-02 20:40:09 +05302022source "board/hisilicon/hikey960/Kconfig"
Jorge Ramirez-Ortizd7542542017-06-26 15:52:49 +02002023source "board/hisilicon/poplar/Kconfig"
Ladislav Michla96c08f2017-04-01 17:17:16 +02002024source "board/isee/igep003x/Kconfig"
Michael Walle4ceb5c62020-10-15 23:08:57 +02002025source "board/kontron/sl28/Kconfig"
Parthiban Nallathambi10e959a2020-07-27 16:48:41 +02002026source "board/myir/mys_6ulx/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09002027source "board/spear/spear300/Kconfig"
2028source "board/spear/spear310/Kconfig"
2029source "board/spear/spear320/Kconfig"
2030source "board/spear/spear600/Kconfig"
2031source "board/spear/x600/Kconfig"
Vikas Manocha9fa32b12014-11-18 10:42:22 -08002032source "board/st/stv0991/Kconfig"
Enric Balletbò i Serra9d1b2982015-09-07 07:43:20 +02002033source "board/tcl/sl50/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09002034source "board/toradex/colibri_pxa270/Kconfig"
Parthiban Nallathambid8d33b62019-04-18 00:04:09 +02002035source "board/variscite/dart_6ul/Kconfig"
Yegor Yefremov6ce89322015-05-29 19:27:29 +02002036source "board/vscom/baltos/Kconfig"
liu haoe3aafef2019-10-31 07:51:08 +00002037source "board/phytium/durian/Kconfig"
Andrii Anisov770a8ee2020-08-06 12:42:47 +03002038source "board/xen/xenguest_arm64/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09002039
Masahiro Yamada51b17d42014-09-01 11:06:34 +09002040source "arch/arm/Kconfig.debug"
2041
Masahiro Yamadadd840582014-07-30 14:08:14 +09002042endmenu
Philipp Tomsichb5299932017-08-03 23:23:55 +02002043
2044config SPL_LDSCRIPT
Michal Simek6e7bdde2018-07-23 15:55:12 +02002045 default "arch/arm/cpu/arm926ejs/mxs/u-boot-spl.lds" if (ARCH_MX23 || ARCH_MX28) && !SPL_FRAMEWORK
2046 default "arch/arm/cpu/arm1136/u-boot-spl.lds" if CPU_ARM1136
Philipp Tomsichb5299932017-08-03 23:23:55 +02002047 default "arch/arm/cpu/armv8/u-boot-spl.lds" if ARM64