blob: 70b9ad5b9f92c2d388bd2af218045b53f47d3bcd [file] [log] [blame]
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001menu "ARM architecture"
2 depends on ARM
3
4config SYS_ARCH
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09005 default "arm"
6
Masahiro Yamada0d46c342014-09-14 03:01:51 +09007config ARM64
8 bool
Masahiro Yamada653e9fe2016-07-25 19:56:03 +09009 select PHYS_64BIT
Tom Rini84f9b612016-08-22 08:22:17 -040010 select SYS_CACHE_SHIFT_6
Masahiro Yamada0d46c342014-09-14 03:01:51 +090011
Stephen Warren81c21372017-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. Iglesias63d73362020-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. Day3a8d4e12019-12-25 06:34:07 -050020 information that is embedded in the binary to support U-Boot
Stephen Warren81c21372017-11-02 18:11:27 -060021 relocating itself to the top-of-RAM later during execution.
Stephen Warrenb80fe6d2017-12-19 18:30:36 -070022
Masahiro Yamadabf4645c2019-06-26 13:51:46 +090023config INIT_SP_RELATIVE
24 bool "Specify the early stack pointer relative to the .bss section"
Andre Przywara4d711892020-09-30 17:39:18 +010025 default n if ARCH_QEMU
Andre Przywaraa834b772020-09-30 17:39:15 +010026 default y if POSITION_INDEPENDENT
Stephen Warrenb80fe6d2017-12-19 18:30:36 -070027 help
28 U-Boot typically uses a hard-coded value for the stack pointer
Masahiro Yamadabf4645c2019-06-26 13:51:46 +090029 before relocation. Enable this option to instead calculate the
Stephen Warrenb80fe6d2017-12-19 18:30:36 -070030 initial SP at run-time. This is useful to avoid hard-coding addresses
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -050031 into U-Boot, so that it can be loaded and executed at arbitrary
Masahiro Yamadabf4645c2019-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 Warrenb80fe6d2017-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 Warren80a93652018-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. Day3a8d4e12019-12-25 06:34:07 -050062 TEXT_OFFSET value written to the Linux kernel image header.
Stephen Warren80a93652018-01-03 14:31:51 -070063endif
Stephen Warren81c21372017-11-02 18:11:27 -060064endif
65
Bharat Kumar Reddy Gooty436efc02019-12-16 09:09:43 -080066config GIC_V3_ITS
67 bool "ARM GICV3 ITS"
Rayagonda Kokatanur158c16e2020-07-26 22:37:33 +053068 select REGMAP
69 select SYSCON
Bharat Kumar Reddy Gooty436efc02019-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 Warren81c21372017-11-02 18:11:27 -060078config STATIC_RELA
79 bool
Andre Przywaraf7582ee2020-09-30 17:39:13 +010080 default y if ARM64
Stephen Warren81c21372017-11-02 18:11:27 -060081
Lokesh Vutlaf94277d2016-03-24 16:02:00 +053082config DMA_ADDR_T_64BIT
83 bool
84 default y if ARM64
85
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +010086config HAS_VBAR
Tom Rinibca01962016-08-22 08:22:18 -040087 bool
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +010088
Albert ARIBAUDa3823222015-10-23 18:06:40 +020089config HAS_THUMB2
Tom Rinibca01962016-08-22 08:22:18 -040090 bool
Albert ARIBAUDa3823222015-10-23 18:06:40 +020091
Phil Edworthy3b8f16a2017-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 Woernerba64b8b2019-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 Woerner43ec7e02019-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 Woernerba64b8b2019-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 Woerner43ec7e02019-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 Vutla5a5bb6c2018-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 Vutlab2d00d62018-04-26 18:21:27 +0530133config SYS_ARM_MMU
134 bool "MMU-based Paged Memory Management Support"
Lokesh Vutla5a5bb6c2018-04-26 18:21:28 +0530135 select SYS_ARM_CACHE_CP15
Lokesh Vutlab2d00d62018-04-26 18:21:27 +0530136 help
137 Select if you want MMU-based virtualised addressing space
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -0500138 support via paged memory management.
Lokesh Vutlab2d00d62018-04-26 18:21:27 +0530139
Lokesh Vutla076ee452018-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 Rinibacb52c2017-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. Day3a8d4e12019-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 Rinibacb52c2017-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 Menon85515bf2018-06-12 15:24:08 -0500161# CONFIG_ARM_CORTEX_A8_CVE_2017_5715
Nishanth Menon6ffdeaa2018-06-12 15:24:09 -0500162# CONFIG_ARM_CORTEX_A15_CVE_2017_5715
Nishanth Menon85515bf2018-06-12 15:24:08 -0500163
Tom Rinibacb52c2017-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 Siamashkafe038a72017-03-06 03:16:53 +0200176config ARM_ERRATA_725233
177 bool
178
Tom Rinibacb52c2017-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 Fan5ac341f2017-08-08 13:34:52 +0800221config ARM_ERRATA_845369
Michal Simekf751ff52018-07-23 15:55:12 +0200222 bool
Peng Fan5ac341f2017-08-08 13:34:52 +0800223
Nisal Menukafaa993a2017-04-26 16:18:01 -0500224config ARM_ERRATA_852421
225 bool
226
227config ARM_ERRATA_852423
228 bool
229
Alison Wangc1293872017-12-28 13:00:55 +0800230config ARM_ERRATA_855873
231 bool
232
Nishanth Menon85515bf2018-06-12 15:24:08 -0500233config ARM_CORTEX_A8_CVE_2017_5715
234 bool
235
Nishanth Menon6ffdeaa2018-06-12 15:24:09 -0500236config ARM_CORTEX_A15_CVE_2017_5715
237 bool
238
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100239config CPU_ARM720T
Tom Rinibca01962016-08-22 08:22:18 -0400240 bool
Tom Rini84f9b612016-08-22 08:22:17 -0400241 select SYS_CACHE_SHIFT_5
Lokesh Vutlab2d00d62018-04-26 18:21:27 +0530242 imply SYS_ARM_MMU
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100243
244config CPU_ARM920T
Tom Rinibca01962016-08-22 08:22:18 -0400245 bool
Tom Rini84f9b612016-08-22 08:22:17 -0400246 select SYS_CACHE_SHIFT_5
Lokesh Vutlab2d00d62018-04-26 18:21:27 +0530247 imply SYS_ARM_MMU
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100248
249config CPU_ARM926EJS
Tom Rinibca01962016-08-22 08:22:18 -0400250 bool
Tom Rini84f9b612016-08-22 08:22:17 -0400251 select SYS_CACHE_SHIFT_5
Lokesh Vutlab2d00d62018-04-26 18:21:27 +0530252 imply SYS_ARM_MMU
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100253
254config CPU_ARM946ES
Tom Rinibca01962016-08-22 08:22:18 -0400255 bool
Tom Rini84f9b612016-08-22 08:22:17 -0400256 select SYS_CACHE_SHIFT_5
Lokesh Vutlab2d00d62018-04-26 18:21:27 +0530257 imply SYS_ARM_MMU
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100258
259config CPU_ARM1136
Tom Rinibca01962016-08-22 08:22:18 -0400260 bool
Tom Rini84f9b612016-08-22 08:22:17 -0400261 select SYS_CACHE_SHIFT_5
Lokesh Vutlab2d00d62018-04-26 18:21:27 +0530262 imply SYS_ARM_MMU
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100263
264config CPU_ARM1176
Tom Rinibca01962016-08-22 08:22:18 -0400265 bool
266 select HAS_VBAR
Tom Rini84f9b612016-08-22 08:22:17 -0400267 select SYS_CACHE_SHIFT_5
Lokesh Vutlab2d00d62018-04-26 18:21:27 +0530268 imply SYS_ARM_MMU
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100269
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530270config CPU_V7A
Tom Rinibca01962016-08-22 08:22:18 -0400271 bool
Tom Rinibca01962016-08-22 08:22:18 -0400272 select HAS_THUMB2
Michal Simek84f3dec2018-07-23 15:55:13 +0200273 select HAS_VBAR
Tom Rini84f9b612016-08-22 08:22:17 -0400274 select SYS_CACHE_SHIFT_6
Lokesh Vutlab2d00d62018-04-26 18:21:27 +0530275 imply SYS_ARM_MMU
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100276
rev13@wp.plb3b57e82015-03-01 12:44:39 +0100277config CPU_V7M
278 bool
Tom Rinibca01962016-08-22 08:22:18 -0400279 select HAS_THUMB2
Lokesh Vutla076ee452018-04-26 18:21:30 +0530280 select SYS_ARM_MPU
Michal Simek84f3dec2018-07-23 15:55:13 +0200281 select SYS_CACHE_SHIFT_5
Tom Rini19bdef62018-05-07 20:46:52 -0400282 select SYS_THUMB_BUILD
Michal Simek84f3dec2018-07-23 15:55:13 +0200283 select THUMB2_KERNEL
rev13@wp.plb3b57e82015-03-01 12:44:39 +0100284
Michal Simekf4359382018-04-26 18:21:29 +0530285config CPU_V7R
286 bool
287 select HAS_THUMB2
Lokesh Vutla076ee452018-04-26 18:21:30 +0530288 select SYS_ARM_CACHE_CP15
Michal Simek84f3dec2018-07-23 15:55:13 +0200289 select SYS_ARM_MPU
290 select SYS_CACHE_SHIFT_6
Michal Simekf4359382018-04-26 18:21:29 +0530291
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100292config CPU_PXA
Tom Rinibca01962016-08-22 08:22:18 -0400293 bool
Tom Rini84f9b612016-08-22 08:22:17 -0400294 select SYS_CACHE_SHIFT_5
Lokesh Vutlab2d00d62018-04-26 18:21:27 +0530295 imply SYS_ARM_MMU
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100296
297config CPU_SA1100
Tom Rinibca01962016-08-22 08:22:18 -0400298 bool
Tom Rini84f9b612016-08-22 08:22:17 -0400299 select SYS_CACHE_SHIFT_5
Lokesh Vutlab2d00d62018-04-26 18:21:27 +0530300 imply SYS_ARM_MMU
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100301
302config SYS_CPU
Tom Rinibca01962016-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 Vutla81b1a672018-04-26 18:21:26 +0530309 default "armv7" if CPU_V7A
Michal Simekf4359382018-04-26 18:21:29 +0530310 default "armv7" if CPU_V7R
Tom Rinibca01962016-08-22 08:22:18 -0400311 default "armv7m" if CPU_V7M
312 default "pxa" if CPU_PXA
313 default "sa1100" if CPU_SA1100
Masahiro Yamadadade3b02014-11-06 11:39:27 +0900314 default "armv8" if ARM64
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100315
Marek Vasutb06c9542016-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 Vutla81b1a672018-04-26 18:21:26 +0530324 default 7 if CPU_V7A
Marek Vasutb06c9542016-05-26 18:01:36 +0200325 default 7 if CPU_V7M
Michal Simekf4359382018-04-26 18:21:29 +0530326 default 7 if CPU_V7R
Marek Vasutb06c9542016-05-26 18:01:36 +0200327 default 5 if CPU_PXA
328 default 4 if CPU_SA1100
329 default 8 if ARM64
330
Tom Rini84f9b612016-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 Delaunayafc69a92020-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 Fordd36b1022019-08-14 08:29:25 -0500374config ARCH_CPU_INIT
375 bool "Enable ARCH_CPU_INIT"
376 help
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -0500377 Some architectures require a call to arch_cpu_init().
Adam Fordd36b1022019-08-14 08:29:25 -0500378 Say Y here to enable it
379
Andre Przywara7b169252018-04-12 04:24:46 +0300380config SYS_ARCH_TIMER
381 bool "ARM Generic Timer support"
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530382 depends on CPU_V7A || ARM64
Andre Przywara7b169252018-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. Day3a8d4e12019-12-25 06:34:07 -0500387 It is mandatory for ARMv8 implementation and widely available
Andre Przywara7b169252018-04-12 04:24:46 +0300388 on ARMv7 systems.
389
Masahiro Yamadae8ead732017-04-14 11:10:23 +0900390config ARM_SMCCC
391 bool "Support for ARM SMC Calling Convention (SMCCC)"
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530392 depends on CPU_V7A || ARM64
Masahiro Yamada836c55d2017-04-14 11:10:24 +0900393 select ARM_PSCI_FW
Masahiro Yamadae8ead732017-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 Walleij800d6fd2015-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 Rini1c640a62017-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 Ford43a1e2d2019-08-13 14:32:30 -0500418 depends on !ARM64 && SPL
Tom Rini1c640a62017-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 Yang55688602019-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. Day3a8d4e12019-12-25 06:34:07 -0500430 Use this flag to build TPL using the Thumb instruction set for
Kever Yang55688602019-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 Fan10ddab42015-08-19 15:48:57 +0800436config SYS_L2CACHE_OFF
437 bool "L2cache off"
438 help
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -0500439 If SoC does not support L2CACHE or one does not want to enable
Peng Fan10ddab42015-08-19 15:48:57 +0800440 L2CACHE, choose this option.
441
Andre Przywara48321ba2016-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 Goldschmidt387218a2018-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 Przywara48321ba2016-05-31 10:45:06 -0700448
Andre Przywara4330eb92017-02-16 01:20:21 +0000449config ARM_CORTEX_CPU_IS_UP
450 bool
451 default n
452
Fabio Estevam988f5052016-12-15 19:30:40 -0200453config USE_ARCH_MEMCPY
454 bool "Use an assembly optimized implementation of memcpy"
Tom Rini443b5162017-01-12 13:16:02 -0500455 default y
Masahiro Yamadae55f1462016-12-19 19:31:02 +0900456 depends on !ARM64
Fabio Estevam988f5052016-12-15 19:30:40 -0200457 help
458 Enable the generation of an optimized version of memcpy.
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -0500459 Such an implementation may be faster under some conditions
Fabio Estevam988f5052016-12-15 19:30:40 -0200460 but may increase the binary size.
461
Tom Rini443b5162017-01-12 13:16:02 -0500462config SPL_USE_ARCH_MEMCPY
Andy Yan524f3ce2017-06-28 16:27:37 +0800463 bool "Use an assembly optimized implementation of memcpy for SPL"
Tom Rini443b5162017-01-12 13:16:02 -0500464 default y if USE_ARCH_MEMCPY
Adam Ford43a1e2d2019-08-13 14:32:30 -0500465 depends on !ARM64 && SPL
Tom Rini443b5162017-01-12 13:16:02 -0500466 help
467 Enable the generation of an optimized version of memcpy.
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -0500468 Such an implementation may be faster under some conditions
Tom Rini443b5162017-01-12 13:16:02 -0500469 but may increase the binary size.
470
Kever Yang55688602019-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 Ford43a1e2d2019-08-13 14:32:30 -0500474 depends on !ARM64 && TPL
Kever Yang55688602019-04-02 20:41:20 +0800475 help
476 Enable the generation of an optimized version of memcpy.
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -0500477 Such an implementation may be faster under some conditions
Kever Yang55688602019-04-02 20:41:20 +0800478 but may increase the binary size.
479
Fabio Estevam988f5052016-12-15 19:30:40 -0200480config USE_ARCH_MEMSET
481 bool "Use an assembly optimized implementation of memset"
Tom Rini443b5162017-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. Day3a8d4e12019-12-25 06:34:07 -0500486 Such an implementation may be faster under some conditions
Tom Rini443b5162017-01-12 13:16:02 -0500487 but may increase the binary size.
488
489config SPL_USE_ARCH_MEMSET
Andy Yan524f3ce2017-06-28 16:27:37 +0800490 bool "Use an assembly optimized implementation of memset for SPL"
Tom Rini443b5162017-01-12 13:16:02 -0500491 default y if USE_ARCH_MEMSET
Adam Ford43a1e2d2019-08-13 14:32:30 -0500492 depends on !ARM64 && SPL
Fabio Estevam988f5052016-12-15 19:30:40 -0200493 help
494 Enable the generation of an optimized version of memset.
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -0500495 Such an implementation may be faster under some conditions
Fabio Estevam988f5052016-12-15 19:30:40 -0200496 but may increase the binary size.
497
Kever Yang55688602019-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 Ford43a1e2d2019-08-13 14:32:30 -0500501 depends on !ARM64 && TPL
Kever Yang55688602019-04-02 20:41:20 +0800502 help
503 Enable the generation of an optimized version of memset.
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -0500504 Such an implementation may be faster under some conditions
Kever Yang55688602019-04-02 20:41:20 +0800505 but may increase the binary size.
506
Alison Wang73818d52016-11-10 10:49:03 +0800507config ARM64_SUPPORT_AARCH32
508 bool "ARM64 system support AArch32 execution state"
Adam Ford43a1e2d2019-08-13 14:32:30 -0500509 depends on ARM64
510 default y if !TARGET_THUNDERX_88XX
Alison Wang73818d52016-11-10 10:49:03 +0800511 help
512 This ARM64 system supports AArch32 execution state.
513
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900514choice
515 prompt "Target select"
Simon Glassdfd904a2015-08-30 19:19:30 -0600516 default TARGET_HIKEY
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900517
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +0900518config ARCH_AT91
519 bool "Atmel AT91"
Tom Rini4a2b61b2018-05-10 07:15:52 -0400520 select SPL_BOARD_INIT if SPL && !TARGET_SMARTWEB
Gregory CLEMENT21cbec72020-06-05 10:43:36 +0200521 select SPL_SEPARATE_BSS if SPL
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900522
523config TARGET_EDB93XX
524 bool "Support edb93xx"
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100525 select CPU_ARM920T
Alexander Graf2184ccd2018-01-25 12:05:50 +0100526 select PL010_SERIAL
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900527
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900528config TARGET_ASPENITE
529 bool "Support aspenite"
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100530 select CPU_ARM926EJS
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900531
532config TARGET_GPLUGD
533 bool "Support gplugd"
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100534 select CPU_ARM926EJS
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900535
Masahiro Yamadae604ef92014-08-31 07:11:01 +0900536config ARCH_DAVINCI
537 bool "TI DaVinci"
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100538 select CPU_ARM926EJS
Lukasz Majewski76f442982020-06-04 23:11:53 +0800539 select SPL_DM_SPI if SPL
Simon Glassd09f3772017-08-04 16:34:43 -0600540 imply CMD_SAVES
Masahiro Yamadae604ef92014-08-31 07:11:01 +0900541 help
542 Support for TI's DaVinci platform.
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900543
Trevor Woernerbb7ab072020-05-06 08:02:40 -0400544config ARCH_KIRKWOOD
Masahiro Yamadad7570852014-08-31 07:10:59 +0900545 bool "Marvell Kirkwood"
Simon Glass95d31412017-01-23 13:31:21 -0700546 select ARCH_MISC_INIT
Michal Simek84f3dec2018-07-23 15:55:13 +0200547 select BOARD_EARLY_INIT_F
548 select CPU_ARM926EJS
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900549
Stefan Roese383e0c12015-08-25 13:18:38 +0200550config ARCH_MVEBU
Stefan Roesecb410332016-05-25 08:13:45 +0200551 bool "Marvell MVEBU family (Armada XP/375/38x/3700/7K/8K)"
Stefan Roese096de4f2015-09-01 11:27:52 +0200552 select DM
Stefan Roese05b38c12015-11-19 07:46:15 +0100553 select DM_ETH
Stefan Roese7f9f8e32015-09-02 08:41:41 +0200554 select DM_SERIAL
Stefan Roese49e7d772015-11-20 13:51:57 +0100555 select DM_SPI
556 select DM_SPI_FLASH
Lukasz Majewski76f442982020-06-04 23:11:53 +0800557 select SPL_DM_SPI if SPL
558 select SPL_DM_SPI_FLASH if SPL
Michal Simek84f3dec2018-07-23 15:55:13 +0200559 select OF_CONTROL
560 select OF_SEPARATE
Adam Ford4e96ff82018-04-15 13:51:26 -0400561 select SPI
Michal Simek2e7c8192018-07-23 15:55:14 +0200562 imply CMD_DM
Stefan Roese9b1e2312014-10-22 12:13:19 +0200563
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900564config TARGET_APF27
565 bool "Support apf27"
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100566 select CPU_ARM926EJS
Masahiro Yamada6e0971b2014-10-20 17:45:56 +0900567 select SUPPORT_SPL
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900568
Trevor Woernerf9953752020-05-06 08:02:38 -0400569config ARCH_ORION5X
Masahiro Yamada04ffbc12014-08-31 07:11:06 +0900570 bool "Marvell Orion"
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100571 select CPU_ARM926EJS
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900572
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900573config TARGET_SPEAR300
574 bool "Support spear300"
Simon Glass7a99a872017-01-23 13:31:20 -0700575 select BOARD_EARLY_INIT_F
Michal Simek84f3dec2018-07-23 15:55:13 +0200576 select CPU_ARM926EJS
Alexander Graf65bfb422018-01-25 12:05:51 +0100577 select PL011_SERIAL
Michal Simek84f3dec2018-07-23 15:55:13 +0200578 imply CMD_SAVES
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900579
580config TARGET_SPEAR310
581 bool "Support spear310"
Simon Glass7a99a872017-01-23 13:31:20 -0700582 select BOARD_EARLY_INIT_F
Michal Simek84f3dec2018-07-23 15:55:13 +0200583 select CPU_ARM926EJS
Alexander Graf65bfb422018-01-25 12:05:51 +0100584 select PL011_SERIAL
Michal Simek84f3dec2018-07-23 15:55:13 +0200585 imply CMD_SAVES
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900586
587config TARGET_SPEAR320
588 bool "Support spear320"
Simon Glass7a99a872017-01-23 13:31:20 -0700589 select BOARD_EARLY_INIT_F
Michal Simek84f3dec2018-07-23 15:55:13 +0200590 select CPU_ARM926EJS
Alexander Graf65bfb422018-01-25 12:05:51 +0100591 select PL011_SERIAL
Michal Simek84f3dec2018-07-23 15:55:13 +0200592 imply CMD_SAVES
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900593
594config TARGET_SPEAR600
595 bool "Support spear600"
Simon Glass7a99a872017-01-23 13:31:20 -0700596 select BOARD_EARLY_INIT_F
Michal Simek84f3dec2018-07-23 15:55:13 +0200597 select CPU_ARM926EJS
Alexander Graf65bfb422018-01-25 12:05:51 +0100598 select PL011_SERIAL
Michal Simek84f3dec2018-07-23 15:55:13 +0200599 imply CMD_SAVES
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900600
Vikas Manocha33913c52014-11-18 10:42:22 -0800601config TARGET_STV0991
602 bool "Support stv0991"
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530603 select CPU_V7A
Masahiro Yamada0906a822015-03-31 12:48:01 +0900604 select DM
605 select DM_SERIAL
Vikas Manocha8cc062f2015-07-02 18:29:41 -0700606 select DM_SPI
607 select DM_SPI_FLASH
Michal Simek84f3dec2018-07-23 15:55:13 +0200608 select PL01X_SERIAL
Adam Ford4e96ff82018-04-15 13:51:26 -0400609 select SPI
Vikas Manocha8cc062f2015-07-02 18:29:41 -0700610 select SPI_FLASH
Michal Simek2e7c8192018-07-23 15:55:14 +0200611 imply CMD_DM
Vikas Manocha33913c52014-11-18 10:42:22 -0800612
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900613config TARGET_X600
614 bool "Support x600"
Tom Rini22d567e2017-01-22 19:43:11 -0500615 select BOARD_LATE_INIT
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100616 select CPU_ARM926EJS
Alexander Graf65bfb422018-01-25 12:05:51 +0100617 select PL011_SERIAL
Michal Simek84f3dec2018-07-23 15:55:13 +0200618 select SUPPORT_SPL
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900619
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900620config TARGET_FLEA3
621 bool "Support flea3"
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +0100622 select CPU_ARM1136
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900623
Masahiro Yamadaed22cc72015-03-19 19:42:56 +0900624config ARCH_BCM283X
625 bool "Broadcom BCM283X family"
Masahiro Yamada5ef5ccc2015-03-31 12:47:53 +0900626 select DM
Masahiro Yamada5ef5ccc2015-03-31 12:47:53 +0900627 select DM_GPIO
Michal Simek84f3dec2018-07-23 15:55:13 +0200628 select DM_SERIAL
Fabian Vogtf9e3ed52016-09-26 14:26:51 +0200629 select OF_CONTROL
Alexander Graf633ef892018-01-25 12:05:52 +0100630 select PL01X_SERIAL
Alexander Grafc8bda542018-01-29 13:57:20 +0100631 select SERIAL_SEARCH_ALL
Michal Simek2e7c8192018-07-23 15:55:14 +0200632 imply CMD_DM
Tom Rinid8532af2017-06-02 11:03:50 -0400633 imply FAT_WRITE
Stephen Warrendc7ea682015-02-16 12:16:15 -0700634
Philippe Reynes312a3f92019-01-31 18:57:35 +0100635config ARCH_BCM63158
636 bool "Broadcom BCM63158 family"
637 select DM
638 select OF_CONTROL
639 imply CMD_DM
640
Philippe Reynesdfeb2c02020-01-07 20:14:10 +0100641config ARCH_BCM68360
642 bool "Broadcom BCM68360 family"
643 select DM
644 select OF_CONTROL
645 imply CMD_DM
646
Philippe Reynes697f15e2018-10-11 18:31:58 +0200647config ARCH_BCM6858
648 bool "Broadcom BCM6858 family"
649 select DM
650 select OF_CONTROL
651 imply CMD_DM
652
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900653config TARGET_VEXPRESS_CA15_TC2
654 bool "Support vexpress_ca15_tc2"
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530655 select CPU_V7A
Hans de Goede85437352014-11-14 09:34:30 +0100656 select CPU_V7_HAS_NONSEC
657 select CPU_V7_HAS_VIRT
Alexander Graf65bfb422018-01-25 12:05:51 +0100658 select PL011_SERIAL
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900659
Thomas Fitzsimmons919646d2018-06-08 17:59:45 -0400660config ARCH_BCMSTB
661 bool "Broadcom BCM7XXX family"
662 select CPU_V7A
663 select DM
664 select OF_CONTROL
665 select OF_PRIOR_STAGE
Michal Simek2e7c8192018-07-23 15:55:14 +0200666 imply CMD_DM
Thomas Fitzsimmons919646d2018-06-08 17:59:45 -0400667 help
668 This enables support for Broadcom ARM-based set-top box
669 chipsets, including the 7445 family of chips.
670
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900671config TARGET_VEXPRESS_CA5X2
672 bool "Support vexpress_ca5x2"
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530673 select CPU_V7A
Alexander Graf65bfb422018-01-25 12:05:51 +0100674 select PL011_SERIAL
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900675
676config TARGET_VEXPRESS_CA9X4
677 bool "Support vexpress_ca9x4"
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530678 select CPU_V7A
Alexander Graf65bfb422018-01-25 12:05:51 +0100679 select PL011_SERIAL
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900680
Steve Rae45f2c702016-06-02 15:10:56 -0700681config TARGET_BCM23550_W1D
682 bool "Support bcm23550_w1d"
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530683 select CPU_V7A
Daniel Thompsona9e2c672017-05-19 17:26:58 +0100684 imply CRC32_VERIFY
Tom Rinid8532af2017-06-02 11:03:50 -0400685 imply FAT_WRITE
Steve Rae45f2c702016-06-02 15:10:56 -0700686
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900687config TARGET_BCM28155_AP
688 bool "Support bcm28155_ap"
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530689 select CPU_V7A
Daniel Thompsona9e2c672017-05-19 17:26:58 +0100690 imply CRC32_VERIFY
Tom Rinid8532af2017-06-02 11:03:50 -0400691 imply FAT_WRITE
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900692
Steve Rae1c5f31c2014-11-11 11:32:18 -0800693config TARGET_BCMCYGNUS
694 bool "Support bcmcygnus"
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530695 select CPU_V7A
Michal Simek84f3dec2018-07-23 15:55:13 +0200696 imply BCM_SF2_ETH
697 imply BCM_SF2_ETH_GMAC
Simon Glass027608e2017-05-17 03:25:25 -0600698 imply CMD_HASH
Michal Simek84f3dec2018-07-23 15:55:13 +0200699 imply CRC32_VERIFY
Tom Rinid8532af2017-06-02 11:03:50 -0400700 imply FAT_WRITE
Daniel Thompsona9e2c672017-05-19 17:26:58 +0100701 imply HASH_VERIFY
Suji Velupillaid2f677a2017-07-10 14:05:41 -0700702 imply NETDEVICES
Steve Rae729da8b2014-08-11 13:58:26 -0700703
Steve Rae1c5f31c2014-11-11 11:32:18 -0800704config TARGET_BCMNSP
705 bool "Support bcmnsp"
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530706 select CPU_V7A
Steve Rae729da8b2014-08-11 13:58:26 -0700707
Jon Masond59b5862017-03-17 12:12:14 -0400708config TARGET_BCMNS2
709 bool "Support Broadcom Northstar2"
710 select ARM64
711 help
712 Support for Broadcom Northstar 2 SoCs. NS2 is a quad-core 64-bit
713 ARMv8 Cortex-A57 processors targeting a broad range of networking
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -0500714 applications.
Jon Masond59b5862017-03-17 12:12:14 -0400715
Rayagonda Kokatanur1d8fa362020-07-15 22:48:55 +0530716config TARGET_BCMNS3
717 bool "Support Broadcom NS3"
718 select ARM64
719 select BOARD_LATE_INIT
720 help
721 Support for Broadcom Northstar 3 SoCs. NS3 is a octo-core 64-bit
722 ARMv8 Cortex-A72 processors targeting a broad range of networking
723 applications.
724
Masahiro Yamadac54550b2014-08-31 07:11:00 +0900725config ARCH_EXYNOS
726 bool "Samsung EXYNOS"
Masahiro Yamada5ef5ccc2015-03-31 12:47:53 +0900727 select DM
Michal Simek84f3dec2018-07-23 15:55:13 +0200728 select DM_GPIO
Simon Glass7bbb7d92016-11-23 06:34:40 -0700729 select DM_I2C
Michal Simek84f3dec2018-07-23 15:55:13 +0200730 select DM_KEYBOARD
Masahiro Yamada5ef5ccc2015-03-31 12:47:53 +0900731 select DM_SERIAL
732 select DM_SPI
Michal Simek84f3dec2018-07-23 15:55:13 +0200733 select DM_SPI_FLASH
Adam Ford4e96ff82018-04-15 13:51:26 -0400734 select SPI
Guillaume GARDETf5357322018-11-20 14:15:13 +0100735 imply SYS_THUMB_BUILD
Michal Simek2e7c8192018-07-23 15:55:14 +0200736 imply CMD_DM
Tom Rinid8532af2017-06-02 11:03:50 -0400737 imply FAT_WRITE
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900738
Simon Glass96aa0722014-10-07 22:01:50 -0600739config ARCH_S5PC1XX
740 bool "Samsung S5PC1XX"
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530741 select CPU_V7A
Masahiro Yamada5ef5ccc2015-03-31 12:47:53 +0900742 select DM
Masahiro Yamada5ef5ccc2015-03-31 12:47:53 +0900743 select DM_GPIO
Simon Glassc6aa9702016-11-23 06:34:41 -0700744 select DM_I2C
Michal Simek84f3dec2018-07-23 15:55:13 +0200745 select DM_SERIAL
Michal Simek2e7c8192018-07-23 15:55:14 +0200746 imply CMD_DM
Simon Glass96aa0722014-10-07 22:01:50 -0600747
Masahiro Yamada52ece9c2014-08-31 07:11:07 +0900748config ARCH_HIGHBANK
749 bool "Calxeda Highbank"
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530750 select CPU_V7A
Alexander Graf65bfb422018-01-25 12:05:51 +0100751 select PL011_SERIAL
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900752
Masahiro Yamadacad44162015-04-21 21:59:36 +0900753config ARCH_INTEGRATOR
754 bool "ARM Ltd. Integrator family"
Linus Walleij616d9a02015-07-27 11:22:48 +0200755 select DM
756 select DM_SERIAL
Alexander Graf633ef892018-01-25 12:05:52 +0100757 select PL01X_SERIAL
Michal Simek2e7c8192018-07-23 15:55:14 +0200758 imply CMD_DM
Masahiro Yamadacad44162015-04-21 21:59:36 +0900759
Robert Markoe7a34f12020-07-06 10:37:54 +0200760config ARCH_IPQ40XX
761 bool "Qualcomm IPQ40xx SoCs"
762 select CPU_V7A
763 select DM
764 select DM_GPIO
765 select DM_SERIAL
Robert Marko42c5ee82020-09-10 16:00:03 +0200766 select DM_RESET
Robert Marko0b7d9502020-09-10 16:00:01 +0200767 select MSM_SMEM
Robert Markoe7a34f12020-07-06 10:37:54 +0200768 select PINCTRL
769 select CLK
Robert Marko0b7d9502020-09-10 16:00:01 +0200770 select SMEM
Robert Markoe7a34f12020-07-06 10:37:54 +0200771 select OF_CONTROL
772 imply CMD_DM
773
Masahiro Yamada32013fb2014-08-31 07:11:05 +0900774config ARCH_KEYSTONE
775 bool "TI Keystone"
Michal Simek84f3dec2018-07-23 15:55:13 +0200776 select CMD_POWEROFF
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530777 select CPU_V7A
Masahiro Yamada6e0971b2014-10-20 17:45:56 +0900778 select SUPPORT_SPL
Andre Przywara7b169252018-04-12 04:24:46 +0300779 select SYS_ARCH_TIMER
Michal Simek84f3dec2018-07-23 15:55:13 +0200780 select SYS_THUMB_BUILD
Tom Rinic20bb732017-07-22 18:36:16 -0400781 imply CMD_MTDPARTS
Simon Glassd09f3772017-08-04 16:34:43 -0600782 imply CMD_SAVES
Michal Simek84f3dec2018-07-23 15:55:13 +0200783 imply FIT
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900784
Lokesh Vutla9bdec002018-08-27 15:57:08 +0530785config ARCH_K3
786 bool "Texas Instruments' K3 Architecture"
787 select SPL
788 select SUPPORT_SPL
789 select FIT
790
Masahiro Yamada6e1288c2017-04-25 13:10:11 +0900791config ARCH_OMAP2PLUS
792 bool "TI OMAP2+"
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530793 select CPU_V7A
Ley Foon Tan48fcc4a2017-05-03 17:13:32 +0800794 select SPL_BOARD_INIT if SPL
Tom Rinic37e0cf2017-09-17 11:44:49 -0400795 select SPL_STACK_R if SPL
Masahiro Yamada6e1288c2017-04-25 13:10:11 +0900796 select SUPPORT_SPL
Dario Binacchid1cb3f62020-12-30 00:06:29 +0100797 imply TI_SYSC if DM && OF_CONTROL
Masahiro Yamada6e1288c2017-04-25 13:10:11 +0900798 imply FIT
799
Beniamino Galvanid1037e42016-05-08 08:30:16 +0200800config ARCH_MESON
801 bool "Amlogic Meson"
Masahiro Yamada9afc6c52018-04-25 18:47:52 +0900802 imply DISTRO_DEFAULTS
Heinrich Schuchardt966caaf2020-04-05 12:20:23 +0200803 imply DM_RNG
Beniamino Galvanid1037e42016-05-08 08:30:16 +0200804 help
805 Support for the Meson SoC family developed by Amlogic Inc.,
806 targeted at media players and tablet computers. We currently
807 support the S905 (GXBaby) 64-bit SoC.
808
developerf4a079c2018-11-15 10:07:52 +0800809config ARCH_MEDIATEK
810 bool "MediaTek SoCs"
developerf4a079c2018-11-15 10:07:52 +0800811 select DM
812 select OF_CONTROL
813 select SPL_DM if SPL
814 select SPL_LIBCOMMON_SUPPORT if SPL
815 select SPL_LIBGENERIC_SUPPORT if SPL
816 select SPL_OF_CONTROL if SPL
817 select SUPPORT_SPL
818 help
819 Support for the MediaTek SoCs family developed by MediaTek Inc.
820 Please refer to doc/README.mediatek for more information.
821
Vladimir Zapolskiy31d0e962018-09-17 21:43:03 +0300822config ARCH_LPC32XX
823 bool "NXP LPC32xx platform"
824 select CPU_ARM926EJS
825 select DM
826 select DM_GPIO
827 select DM_SERIAL
828 select SPL_DM if SPL
829 select SUPPORT_SPL
830 imply CMD_DM
831
Peng Fan6bae1c72018-10-18 14:28:08 +0200832config ARCH_IMX8
833 bool "NXP i.MX8 platform"
834 select ARM64
835 select DM
836 select OF_CONTROL
Ye Li97b41652019-07-12 09:33:52 +0000837 select ENABLE_ARM_SOC_BOOT0_HOOK
Peng Fan6bae1c72018-10-18 14:28:08 +0200838
Peng Fan39945c12018-11-20 10:19:25 +0000839config ARCH_IMX8M
Peng Fan66294882018-01-10 13:20:19 +0800840 bool "NXP i.MX8M platform"
841 select ARM64
842 select DM
843 select SUPPORT_SPL
Michal Simek2e7c8192018-07-23 15:55:14 +0200844 imply CMD_DM
Peng Fan66294882018-01-10 13:20:19 +0800845
Giulio Benetti9dba2622020-01-10 15:51:47 +0100846config ARCH_IMXRT
847 bool "NXP i.MXRT platform"
848 select CPU_V7M
849 select DM
850 select DM_SERIAL
851 select SUPPORT_SPL
852 imply CMD_DM
853
Stefan Agner081ea1f2018-02-06 09:44:34 +0100854config ARCH_MX23
855 bool "NXP i.MX23 family"
856 select CPU_ARM926EJS
857 select PL011_SERIAL
858 select SUPPORT_SPL
859
Fabio Estevam52b2f452017-11-03 13:40:08 -0200860config ARCH_MX25
861 bool "NXP MX25"
862 select CPU_ARM926EJS
Adam Fordb413c452018-02-04 09:32:43 -0600863 imply MXC_GPIO
Fabio Estevam52b2f452017-11-03 13:40:08 -0200864
Stefan Agner663a3232018-02-06 09:44:35 +0100865config ARCH_MX28
866 bool "NXP i.MX28 family"
867 select CPU_ARM926EJS
868 select PL011_SERIAL
869 select SUPPORT_SPL
870
Magnus Liljac74f70f2018-05-11 14:06:54 +0200871config ARCH_MX31
872 bool "NXP i.MX31 family"
873 select CPU_ARM1136
874
Peng Fan2c7b1702017-02-22 16:21:39 +0800875config ARCH_MX7ULP
Michal Simekf751ff52018-07-23 15:55:12 +0200876 bool "NXP MX7ULP"
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530877 select CPU_V7A
Franck LENORMAND4fde0a12021-03-25 17:30:23 +0800878 select SYS_FSL_HAS_SEC if IMX_HAB
879 select SYS_FSL_SEC_COMPAT_4
880 select SYS_FSL_SEC_LE
Peng Fan2c7b1702017-02-22 16:21:39 +0800881 select ROM_UNIFIED_SECTIONS
Adam Fordb413c452018-02-04 09:32:43 -0600882 imply MXC_GPIO
Tom Rini4f834a42019-12-03 09:28:03 -0500883 imply SYS_THUMB_BUILD
Peng Fan2c7b1702017-02-22 16:21:39 +0800884
Adrian Alonso98810772015-09-03 11:49:28 -0500885config ARCH_MX7
886 bool "Freescale MX7"
Michal Simek84f3dec2018-07-23 15:55:13 +0200887 select ARCH_MISC_INIT
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530888 select CPU_V7A
Stefano Babicf8b509b2019-09-20 08:47:53 +0200889 select SYS_FSL_HAS_SEC if IMX_HAB
York Sun92c36e22016-12-28 08:43:30 -0800890 select SYS_FSL_SEC_COMPAT_4
York Sunfa4199422016-12-28 08:43:31 -0800891 select SYS_FSL_SEC_LE
Marek Vasut42b24b42020-05-22 01:13:00 +0200892 imply BOARD_EARLY_INIT_F
Adam Fordb413c452018-02-04 09:32:43 -0600893 imply MXC_GPIO
Tom Rini4f834a42019-12-03 09:28:03 -0500894 imply SYS_THUMB_BUILD
Adrian Alonso98810772015-09-03 11:49:28 -0500895
Boris BREZILLON51e82662015-03-04 13:13:03 +0100896config ARCH_MX6
897 bool "Freescale MX6"
Lokesh Vutla81b1a672018-04-26 18:21:26 +0530898 select CPU_V7A
Heinrich Schuchardtcdd0c852020-06-26 19:57:55 +0200899 select SYS_FSL_HAS_SEC
York Sun92c36e22016-12-28 08:43:30 -0800900 select SYS_FSL_SEC_COMPAT_4
York Sunfa4199422016-12-28 08:43:31 -0800901 select SYS_FSL_SEC_LE
Adam Fordb413c452018-02-04 09:32:43 -0600902 imply MXC_GPIO
Tom Rini4f834a42019-12-03 09:28:03 -0500903 imply SYS_THUMB_BUILD
Boris BREZILLON51e82662015-03-04 13:13:03 +0100904
Philipp Tomsich2d6a0cc2017-08-03 23:23:55 +0200905if ARCH_MX6
906config SPL_LDSCRIPT
Michal Simekf751ff52018-07-23 15:55:12 +0200907 default "arch/arm/mach-omap2/u-boot-spl.lds"
Philipp Tomsich2d6a0cc2017-08-03 23:23:55 +0200908endif
909
Andrej Rosano1ac4bca2015-04-08 18:56:29 +0200910config ARCH_MX5
911 bool "Freescale MX5"
Simon Glass7a99a872017-01-23 13:31:20 -0700912 select BOARD_EARLY_INIT_F
Michal Simek84f3dec2018-07-23 15:55:13 +0200913 select CPU_V7A
Adam Fordb413c452018-02-04 09:32:43 -0600914 imply MXC_GPIO
Andrej Rosano1ac4bca2015-04-08 18:56:29 +0200915
Stefan Bosch6563ea22020-07-10 19:07:26 +0200916config ARCH_NEXELL
917 bool "Nexell S5P4418/S5P6818 SoC"
918 select ENABLE_ARM_SOC_BOOT0_HOOK
919 select DM
920
Manivannan Sadhasivam474a5df2018-06-14 23:38:31 +0530921config ARCH_OWL
922 bool "Actions Semi OWL SoCs"
Manivannan Sadhasivam474a5df2018-06-14 23:38:31 +0530923 select DM
Amit Singh Tomareda30672020-05-09 19:55:14 +0530924 select DM_ETH
Manivannan Sadhasivam474a5df2018-06-14 23:38:31 +0530925 select DM_SERIAL
Amit Singh Tomarcae81932020-04-19 19:28:25 +0530926 select OWL_SERIAL
Amit Singh Tomar8821be42020-04-19 19:28:30 +0530927 select CLK
928 select CLK_OWL
Manivannan Sadhasivam474a5df2018-06-14 23:38:31 +0530929 select OF_CONTROL
Tom Rinia38d0ac2020-05-01 10:52:11 -0400930 select SYS_RELOC_GD_ENV_ADDR
Michal Simek2e7c8192018-07-23 15:55:14 +0200931 imply CMD_DM
Manivannan Sadhasivam474a5df2018-06-14 23:38:31 +0530932
Tuomas Tynkkynen28cac522017-09-19 23:18:07 +0300933config ARCH_QEMU
934 bool "QEMU Virtual Platform"
Tuomas Tynkkynen28cac522017-09-19 23:18:07 +0300935 select DM
936 select DM_SERIAL
937 select OF_CONTROL
Alexander Graf633ef892018-01-25 12:05:52 +0100938 select PL01X_SERIAL
Michal Simek2e7c8192018-07-23 15:55:14 +0200939 imply CMD_DM
Heinrich Schuchardt2ebc22c2020-09-19 07:55:35 +0200940 imply DM_RNG
AKASHI Takahiro501cc842018-09-14 17:06:54 +0900941 imply DM_RTC
942 imply RTC_PL031
Tuomas Tynkkynen28cac522017-09-19 23:18:07 +0300943
Nobuhiro Iwamatsu7c112732015-10-10 05:58:28 +0900944config ARCH_RMOBILE
Masahiro Yamadac9c54e22014-08-31 07:10:57 +0900945 bool "Renesas ARM SoCs"
Nobuhiro Iwamatsu7c112732015-10-10 05:58:28 +0900946 select DM
947 select DM_SERIAL
Biju Das055763a2020-09-22 13:06:49 +0100948 imply BOARD_EARLY_INIT_F
Michal Simek2e7c8192018-07-23 15:55:14 +0200949 imply CMD_DM
Tom Rinid8532af2017-06-02 11:03:50 -0400950 imply FAT_WRITE
Tom Rini1c640a62017-03-18 09:01:44 -0400951 imply SYS_THUMB_BUILD
Marek Vasutb90dc692018-12-03 13:28:25 +0100952 imply ARCH_MISC_INIT if DISPLAY_CPUINFO
Nikita Kiryanovf5cab0f2014-09-07 18:59:29 +0300953
Eddy Petrișor5178dc12016-06-05 03:43:00 +0300954config TARGET_S32V234EVB
955 bool "Support s32v234evb"
956 select ARM64
York Sun097e3602016-12-28 08:43:42 -0800957 select SYS_FSL_ERRATUM_ESDHC111
Eddy Petrișor5178dc12016-06-05 03:43:00 +0300958
Mateusz Kulikowski2507d822016-03-31 23:12:32 +0200959config ARCH_SNAPDRAGON
960 bool "Qualcomm Snapdragon SoCs"
961 select ARM64
962 select DM
963 select DM_GPIO
964 select DM_SERIAL
Michal Simek84f3dec2018-07-23 15:55:13 +0200965 select MSM_SMEM
Mateusz Kulikowski2507d822016-03-31 23:12:32 +0200966 select OF_CONTROL
967 select OF_SEPARATE
Ramon Fried4b4bd492018-07-02 02:57:56 +0300968 select SMEM
Michal Simek84f3dec2018-07-23 15:55:13 +0200969 select SPMI
Michal Simek2e7c8192018-07-23 15:55:14 +0200970 imply CMD_DM
Mateusz Kulikowski2507d822016-03-31 23:12:32 +0200971
Masahiro Yamada144a3e02015-04-21 20:38:20 +0900972config ARCH_SOCFPGA
973 bool "Altera SOCFPGA family"
Marek Vasut014f0ab2018-05-11 22:25:59 +0200974 select ARCH_EARLY_INIT_R
Marek Vasut04c8f4f2018-08-13 20:06:46 +0200975 select ARCH_MISC_INIT if !TARGET_SOCFPGA_ARRIA10
Siew Chin Lim8a714162021-03-01 20:04:10 +0800976 select ARM64 if TARGET_SOCFPGA_SOC64
Ley Foon Tan9c407b52018-05-24 00:17:32 +0800977 select CPU_V7A if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
Masahiro Yamadae2005542015-03-31 12:47:59 +0900978 select DM
Marek Vasut57f03d22018-05-11 22:26:35 +0200979 select DM_SERIAL
Ley Foon Tan9c407b52018-05-24 00:17:32 +0800980 select ENABLE_ARM_SOC_BOOT0_HOOK if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
Marek Vasut014f0ab2018-05-11 22:25:59 +0200981 select OF_CONTROL
Ley Foon Tan9ae7b0a2018-07-13 13:40:23 +0800982 select SPL_DM_RESET if DM_RESET
Michal Simek84f3dec2018-07-23 15:55:13 +0200983 select SPL_DM_SERIAL
Marek Vasut014f0ab2018-05-11 22:25:59 +0200984 select SPL_LIBCOMMON_SUPPORT
Marek Vasut014f0ab2018-05-11 22:25:59 +0200985 select SPL_LIBGENERIC_SUPPORT
Marek Vasut014f0ab2018-05-11 22:25:59 +0200986 select SPL_NAND_SUPPORT if SPL_NAND_DENALI
987 select SPL_OF_CONTROL
Siew Chin Lim8a714162021-03-01 20:04:10 +0800988 select SPL_SEPARATE_BSS if TARGET_SOCFPGA_SOC64
Marek Vasut014f0ab2018-05-11 22:25:59 +0200989 select SPL_SERIAL_SUPPORT
Simon Goldschmidtfc824662019-07-15 21:47:55 +0200990 select SPL_SYSRESET
Marek Vasut014f0ab2018-05-11 22:25:59 +0200991 select SPL_WATCHDOG_SUPPORT
992 select SUPPORT_SPL
Marek Vasut57f03d22018-05-11 22:26:35 +0200993 select SYS_NS16550
Ley Foon Tan9c407b52018-05-24 00:17:32 +0800994 select SYS_THUMB_BUILD if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
Simon Goldschmidtfc824662019-07-15 21:47:55 +0200995 select SYSRESET
996 select SYSRESET_SOCFPGA if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
Siew Chin Lim8a714162021-03-01 20:04:10 +0800997 select SYSRESET_SOCFPGA_SOC64 if TARGET_SOCFPGA_SOC64
Michal Simek2e7c8192018-07-23 15:55:14 +0200998 imply CMD_DM
Tom Rinic20bb732017-07-22 18:36:16 -0400999 imply CMD_MTDPARTS
Daniel Thompsona9e2c672017-05-19 17:26:58 +01001000 imply CRC32_VERIFY
Simon Goldschmidta4347302018-02-13 06:34:14 +01001001 imply DM_SPI
1002 imply DM_SPI_FLASH
Tom Rinid8532af2017-06-02 11:03:50 -04001003 imply FAT_WRITE
Simon Goldschmidtb1c42692019-04-09 21:02:05 +02001004 imply SPL
1005 imply SPL_DM
Lukasz Majewski76f442982020-06-04 23:11:53 +08001006 imply SPL_DM_SPI
1007 imply SPL_DM_SPI_FLASH
Simon Goldschmidtc26195d2018-11-29 21:17:08 +01001008 imply SPL_LIBDISK_SUPPORT
1009 imply SPL_MMC_SUPPORT
Simon Goldschmidta4347302018-02-13 06:34:14 +01001010 imply SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION
Simon Goldschmidt3b551bc2018-10-30 20:21:49 +01001011 imply SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION_TYPE
Simon Goldschmidtc26195d2018-11-29 21:17:08 +01001012 imply SPL_SPI_FLASH_SUPPORT
1013 imply SPL_SPI_SUPPORT
Dinh Nguyen41e32962019-04-23 16:55:06 -05001014 imply L2X0_CACHE
Marek Vasut69295472014-12-30 18:16:08 +01001015
Ian Campbelld8e69e02014-10-24 21:20:44 +01001016config ARCH_SUNXI
1017 bool "Support sunxi (Allwinner) SoCs"
Masahiro Yamada87247af2017-10-17 13:42:44 +09001018 select BINMAN
Hans de Goedec9511672016-04-03 09:41:44 +02001019 select CMD_GPIO
Hans de Goede2c526402016-05-15 13:51:58 +02001020 select CMD_MMC if MMC
Yann E. MORINe28217d2016-10-31 22:33:40 +01001021 select CMD_USB if DISTRO_DEFAULTS
Jagan Teki80d261b2019-01-11 16:40:20 +05301022 select CLK
Hans de Goede03914882015-04-15 20:46:48 +02001023 select DM
Tom Rini10e87172015-06-30 16:51:15 -04001024 select DM_ETH
Hans de Goedec8d43472015-12-21 20:22:00 +01001025 select DM_GPIO
1026 select DM_KEYBOARD
Jagan Tekic4981542019-04-12 16:48:25 +05301027 select DM_MMC if MMC
1028 select DM_SCSI if SCSI
Tom Rini10e87172015-06-30 16:51:15 -04001029 select DM_SERIAL
Yann E. MORINe28217d2016-10-31 22:33:40 +01001030 select DM_USB if DISTRO_DEFAULTS
Hans de Goede48a234a2016-03-22 22:51:52 +01001031 select OF_BOARD_SETUP
Hans de Goede03914882015-04-15 20:46:48 +02001032 select OF_CONTROL
1033 select OF_SEPARATE
Tom Rinie69ba982018-03-06 19:02:27 -05001034 select SPECIFY_CONSOLE_INDEX
Tom Rinidac518f2017-06-21 07:54:46 -04001035 select SPL_STACK_R if SPL
1036 select SPL_SYS_MALLOC_SIMPLE if SPL
Tom Rini1c640a62017-03-18 09:01:44 -04001037 select SPL_SYS_THUMB_BUILD if !ARM64
Andre Przywara9d3bab92019-06-23 15:09:46 +01001038 select SUNXI_GPIO
Michal Simek84f3dec2018-07-23 15:55:13 +02001039 select SYS_NS16550
Maxime Ripard2ba0f212017-10-19 11:49:29 +02001040 select SYS_THUMB_BUILD if !ARM64
Yann E. MORINe28217d2016-10-31 22:33:40 +01001041 select USB if DISTRO_DEFAULTS
Yann E. MORINe28217d2016-10-31 22:33:40 +01001042 select USB_KEYBOARD if DISTRO_DEFAULTS
Michal Simek84f3dec2018-07-23 15:55:13 +02001043 select USB_STORAGE if DISTRO_DEFAULTS
Simon Glass7611ac62019-09-25 08:56:27 -06001044 select SPL_USE_TINY_PRINTF
Andre Przywara3130df52020-02-20 17:51:14 +00001045 select USE_PREBOOT
1046 select SYS_RELOC_GD_ENV_ADDR
Andy Shevchenko1facc0f2020-12-08 17:45:31 +02001047 imply BOARD_LATE_INIT
Michal Simek2e7c8192018-07-23 15:55:14 +02001048 imply CMD_DM
Maxime Ripardbc7db012017-08-24 11:54:03 +02001049 imply CMD_GPT
Miquel Raynald0935362019-10-03 19:50:03 +02001050 imply CMD_UBI if MTD_RAW_NAND
Masahiro Yamada9afc6c52018-04-25 18:47:52 +09001051 imply DISTRO_DEFAULTS
Tom Rinid8532af2017-06-02 11:03:50 -04001052 imply FAT_WRITE
Marek Vasut88e3a842018-10-10 18:27:35 +02001053 imply FIT
Andre Heider11790742018-01-16 09:44:22 +01001054 imply OF_LIBFDT_OVERLAY
Masahiro Yamada8e5e1ea2017-04-28 19:42:19 +09001055 imply PRE_CONSOLE_BUFFER
1056 imply SPL_GPIO_SUPPORT
1057 imply SPL_LIBCOMMON_SUPPORT
Masahiro Yamada8e5e1ea2017-04-28 19:42:19 +09001058 imply SPL_LIBGENERIC_SUPPORT
Masahiro Yamada0a780172017-05-09 20:31:39 +09001059 imply SPL_MMC_SUPPORT if MMC
Masahiro Yamada8e5e1ea2017-04-28 19:42:19 +09001060 imply SPL_POWER_SUPPORT
1061 imply SPL_SERIAL_SUPPORT
Maxime Ripardabb17b42017-09-07 10:46:24 +02001062 imply USB_GADGET
Chen-Yu Tsai848c2632014-10-22 16:47:44 +08001063
Stephan Gerhold4f1170f2020-01-04 18:45:17 +01001064config ARCH_U8500
1065 bool "ST-Ericsson U8500 Series"
1066 select CPU_V7A
1067 select DM
1068 select DM_GPIO
1069 select DM_MMC if MMC
1070 select DM_SERIAL
1071 select DM_USB if USB
1072 select OF_CONTROL
1073 select SYSRESET
1074 select TIMER
1075 imply ARM_PL180_MMCI
1076 imply DM_RTC
1077 imply NOMADIK_MTU_TIMER
1078 imply PL01X_SERIAL
1079 imply RTC_PL031
1080 imply SYSRESET_SYSCON
1081
Michal Simek4b066a12018-08-22 14:55:27 +02001082config ARCH_VERSAL
1083 bool "Support Xilinx Versal Platform"
1084 select ARM64
1085 select CLK
1086 select DM
Michal Simek0609abd2019-01-15 08:52:46 +01001087 select DM_ETH if NET
1088 select DM_MMC if MMC
Michal Simek4b066a12018-08-22 14:55:27 +02001089 select DM_SERIAL
1090 select OF_CONTROL
Siva Durga Prasad Paladugu37c2ff82019-01-31 17:28:14 +05301091 imply BOARD_LATE_INIT
Michal Simekbab07b62020-07-28 12:45:47 +02001092 imply ENV_VARS_UBOOT_RUNTIME_CONFIG
Michal Simek4b066a12018-08-22 14:55:27 +02001093
Stefan Agnerd53c0a42017-03-13 18:41:36 -07001094config ARCH_VF610
1095 bool "Freescale Vybrid"
Lokesh Vutla81b1a672018-04-26 18:21:26 +05301096 select CPU_V7A
York Sun097e3602016-12-28 08:43:42 -08001097 select SYS_FSL_ERRATUM_ESDHC111
Tom Rinic20bb732017-07-22 18:36:16 -04001098 imply CMD_MTDPARTS
Miquel Raynald0935362019-10-03 19:50:03 +02001099 imply MTD_RAW_NAND
Sanchayan Maitycc4d78f2015-04-15 16:24:26 +05301100
Masahiro Yamada8204bd12015-03-16 16:43:24 +09001101config ARCH_ZYNQ
Michal Simek8caedde2017-11-23 08:25:41 +01001102 bool "Xilinx Zynq based platform"
Michal Simek84f3dec2018-07-23 15:55:13 +02001103 select CLK
1104 select CLK_ZYNQ
Lokesh Vutla81b1a672018-04-26 18:21:26 +05301105 select CPU_V7A
Masahiro Yamada2df07d42015-03-31 12:47:55 +09001106 select DM
Michal Simek6d35f3f2018-01-09 14:49:28 +01001107 select DM_ETH if NET
Michal Simek6d35f3f2018-01-09 14:49:28 +01001108 select DM_MMC if MMC
Simon Glass23d9b622015-10-17 19:41:27 -06001109 select DM_SERIAL
Michal Simek84f3dec2018-07-23 15:55:13 +02001110 select DM_SPI
Jagan Teki0bd03a52015-06-27 00:51:32 +05301111 select DM_SPI_FLASH
Simon Glass476e63f2016-07-05 17:10:14 -06001112 select DM_USB if USB
Michal Simek84f3dec2018-07-23 15:55:13 +02001113 select OF_CONTROL
Adam Ford4e96ff82018-04-15 13:51:26 -04001114 select SPI
Michal Simek84f3dec2018-07-23 15:55:13 +02001115 select SPL_BOARD_INIT if SPL
1116 select SPL_CLK if SPL
1117 select SPL_DM if SPL
Lukasz Majewski76f442982020-06-04 23:11:53 +08001118 select SPL_DM_SPI if SPL
1119 select SPL_DM_SPI_FLASH if SPL
Michal Simek84f3dec2018-07-23 15:55:13 +02001120 select SPL_OF_CONTROL if SPL
1121 select SPL_SEPARATE_BSS if SPL
1122 select SUPPORT_SPL
1123 imply ARCH_EARLY_INIT_R
Michal Simek37ad2702018-08-20 08:24:14 +02001124 imply BOARD_LATE_INIT
Simon Glass04ac6f12017-04-26 22:28:02 -06001125 imply CMD_CLK
Michal Simek2e7c8192018-07-23 15:55:14 +02001126 imply CMD_DM
Simon Glassc6567fa2017-08-04 16:34:48 -06001127 imply CMD_SPL
Michal Simekbab07b62020-07-28 12:45:47 +02001128 imply ENV_VARS_UBOOT_RUNTIME_CONFIG
Michal Simek84f3dec2018-07-23 15:55:13 +02001129 imply FAT_WRITE
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001130
Michal Simekb513bcd2018-04-12 17:39:46 +02001131config ARCH_ZYNQMP_R5
1132 bool "Xilinx ZynqMP R5 based platform"
Michal Simek84f3dec2018-07-23 15:55:13 +02001133 select CLK
Michal Simekb513bcd2018-04-12 17:39:46 +02001134 select CPU_V7R
Michal Simekb513bcd2018-04-12 17:39:46 +02001135 select DM
Michal Simek5f3c3382019-01-15 09:06:46 +01001136 select DM_ETH if NET
1137 select DM_MMC if MMC
Michal Simekb513bcd2018-04-12 17:39:46 +02001138 select DM_SERIAL
Michal Simek84f3dec2018-07-23 15:55:13 +02001139 select OF_CONTROL
Michal Simek2e7c8192018-07-23 15:55:14 +02001140 imply CMD_DM
Jean-Jacques Hiblot44aaec72018-11-29 10:52:42 +01001141 imply DM_USB_GADGET
Michal Simekb513bcd2018-04-12 17:39:46 +02001142
Siva Durga Prasad Paladugu650fb402015-06-10 15:50:57 +05301143config ARCH_ZYNQMP
Michal Simek8caedde2017-11-23 08:25:41 +01001144 bool "Xilinx ZynqMP based platform"
Michal Simek04b7e622015-01-15 10:01:51 +01001145 select ARM64
Michal Simek84f3dec2018-07-23 15:55:13 +02001146 select CLK
Michal Simek25b83712015-10-17 19:41:25 -06001147 select DM
Michal Simek73f2d0f2019-01-15 08:52:51 +01001148 select DM_ETH if NET
Ibai Erkiagad47ed6f2019-09-27 12:51:41 +02001149 select DM_MAILBOX
Michal Simek73f2d0f2019-01-15 08:52:51 +01001150 select DM_MMC if MMC
Michal Simek25b83712015-10-17 19:41:25 -06001151 select DM_SERIAL
Michal Simek968388d2019-01-15 10:50:39 +01001152 select DM_SPI if SPI
1153 select DM_SPI_FLASH if DM_SPI
Michal Simek84f3dec2018-07-23 15:55:13 +02001154 select DM_USB if USB
Ibai Erkiaga2d9b95b2019-09-27 11:37:04 +01001155 select FIRMWARE
Michal Simek84f3dec2018-07-23 15:55:13 +02001156 select OF_CONTROL
Ley Foon Tan48fcc4a2017-05-03 17:13:32 +08001157 select SPL_BOARD_INIT if SPL
Michal Simekfd1d7662017-12-01 15:13:36 +01001158 select SPL_CLK if SPL
Michal Simek40280f12020-08-19 10:30:39 +02001159 select SPL_DM if SPL
1160 select SPL_DM_SPI if SPI && SPL_DM
Lukasz Majewski76f442982020-06-04 23:11:53 +08001161 select SPL_DM_SPI_FLASH if SPL_DM_SPI
Ibai Erkiaga2d9b95b2019-09-27 11:37:04 +01001162 select SPL_DM_MAILBOX if SPL
1163 select SPL_FIRMWARE if SPL
Michal Simek88674da2018-11-23 09:01:44 +01001164 select SPL_SEPARATE_BSS if SPL
Michal Simek84f3dec2018-07-23 15:55:13 +02001165 select SUPPORT_SPL
Ibai Erkiagad47ed6f2019-09-27 12:51:41 +02001166 select ZYNQMP_IPI
Michal Simek37ad2702018-08-20 08:24:14 +02001167 imply BOARD_LATE_INIT
Michal Simek2e7c8192018-07-23 15:55:14 +02001168 imply CMD_DM
Michal Simekbab07b62020-07-28 12:45:47 +02001169 imply ENV_VARS_UBOOT_RUNTIME_CONFIG
Tom Rinid8532af2017-06-02 11:03:50 -04001170 imply FAT_WRITE
Michal Simeka8ddd6a2018-10-04 14:26:13 +02001171 imply MP
Jean-Jacques Hiblot44aaec72018-11-29 10:52:42 +01001172 imply DM_USB_GADGET
Michal Simek04b7e622015-01-15 10:01:51 +01001173
Trevor Woerner513f6402020-05-06 08:02:41 -04001174config ARCH_TEGRA
Masahiro Yamada73a5b1a2014-08-31 07:10:56 +09001175 bool "NVIDIA Tegra"
Masahiro Yamada9afc6c52018-04-25 18:47:52 +09001176 imply DISTRO_DEFAULTS
Tom Rinid8532af2017-06-02 11:03:50 -04001177 imply FAT_WRITE
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001178
Linus Walleij800d6fd2015-01-23 11:50:53 +01001179config TARGET_VEXPRESS64_AEMV8A
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001180 bool "Support vexpress_aemv8a"
Masahiro Yamada0d46c342014-09-14 03:01:51 +09001181 select ARM64
Alexander Graf633ef892018-01-25 12:05:52 +01001182 select PL01X_SERIAL
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001183
Linus Walleij800d6fd2015-01-23 11:50:53 +01001184config TARGET_VEXPRESS64_BASE_FVP
1185 bool "Support Versatile Express ARMv8a FVP BASE model"
1186 select ARM64
Alexander Graf633ef892018-01-25 12:05:52 +01001187 select PL01X_SERIAL
Michal Simek84f3dec2018-07-23 15:55:13 +02001188 select SEMIHOSTING
Linus Walleij800d6fd2015-01-23 11:50:53 +01001189
Linus Walleijc5822502015-01-23 14:41:10 +01001190config TARGET_VEXPRESS64_JUNO
1191 bool "Support Versatile Express Juno Development Platform"
1192 select ARM64
Alexander Graf633ef892018-01-25 12:05:52 +01001193 select PL01X_SERIAL
Andre Przywara94504f42020-04-27 19:18:01 +01001194 select DM
1195 select OF_CONTROL
1196 select OF_BOARD
1197 select CLK
1198 select DM_SERIAL
Andre Przywara651c91b2020-04-27 19:18:02 +01001199 select ARM_PSCI_FW
1200 select PSCI_RESET
Andre Przywarad263e762020-06-11 12:03:18 +01001201 select DM_ETH
Andre Przywarae3e81212020-04-27 19:18:03 +01001202 select BLK
1203 select USB
1204 select DM_USB
Linus Walleijc5822502015-01-23 14:41:10 +01001205
Usama Arif9218a112020-08-12 16:12:53 +01001206config TARGET_TOTAL_COMPUTE
1207 bool "Support Total Compute Platform"
1208 select ARM64
1209 select PL01X_SERIAL
1210 select DM
1211 select DM_SERIAL
1212 select DM_MMC
1213 select DM_GPIO
1214
Prabhakar Kushwaha122bcfd2015-11-09 16:42:07 +05301215config TARGET_LS2080A_EMU
1216 bool "Support ls2080a_emu"
York Sun4dd8c612016-10-04 14:31:48 -07001217 select ARCH_LS2080A
Masahiro Yamada0d46c342014-09-14 03:01:51 +09001218 select ARM64
Linus Walleij74771392015-03-09 10:53:21 +01001219 select ARMV8_MULTIENTRY
Rajesh Bhagatba2414f2019-02-01 05:22:01 +00001220 select FSL_DDR_SYNC_REFRESH
Prabhakar Kushwaha122bcfd2015-11-09 16:42:07 +05301221 help
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -05001222 Support for Freescale LS2080A_EMU platform.
1223 The LS2080A Development System (EMULATOR) is a pre-silicon
Prabhakar Kushwaha122bcfd2015-11-09 16:42:07 +05301224 development platform that supports the QorIQ LS2080A
1225 Layerscape Architecture processor.
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001226
Ashish Kumar1ef4c772017-08-31 16:12:55 +05301227config TARGET_LS1088AQDS
1228 bool "Support ls1088aqds"
1229 select ARCH_LS1088A
1230 select ARM64
1231 select ARMV8_MULTIENTRY
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001232 select ARCH_SUPPORT_TFABOOT
Ashish Kumar1ef4c772017-08-31 16:12:55 +05301233 select BOARD_LATE_INIT
Ashish Kumar4feb83b2017-11-06 13:18:44 +05301234 select SUPPORT_SPL
Rajesh Bhagatba2414f2019-02-01 05:22:01 +00001235 select FSL_DDR_INTERACTIVE if !SD_BOOT
Ashish Kumar1ef4c772017-08-31 16:12:55 +05301236 help
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -05001237 Support for NXP LS1088AQDS platform.
Ashish Kumar1ef4c772017-08-31 16:12:55 +05301238 The LS1088A Development System (QDS) is a high-performance
1239 development platform that supports the QorIQ LS1088A
1240 Layerscape Architecture processor.
1241
Prabhakar Kushwaha122bcfd2015-11-09 16:42:07 +05301242config TARGET_LS2080AQDS
1243 bool "Support ls2080aqds"
York Sun4dd8c612016-10-04 14:31:48 -07001244 select ARCH_LS2080A
York Sun03017032015-03-20 19:28:23 -07001245 select ARM64
1246 select ARMV8_MULTIENTRY
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001247 select ARCH_SUPPORT_TFABOOT
Tom Rini22d567e2017-01-22 19:43:11 -05001248 select BOARD_LATE_INIT
Scott Wood8e728cd2015-03-24 13:25:02 -07001249 select SUPPORT_SPL
Simon Glass0e5faf02017-06-14 21:28:21 -06001250 imply SCSI
Tuomas Tynkkynenedf9f622017-12-08 15:36:19 +02001251 imply SCSI_AHCI
Rajesh Bhagatba2414f2019-02-01 05:22:01 +00001252 select FSL_DDR_BIST
1253 select FSL_DDR_INTERACTIVE if !SPL
York Sun03017032015-03-20 19:28:23 -07001254 help
Robert P. J. Day3a8d4e12019-12-25 06:34:07 -05001255 Support for Freescale LS2080AQDS platform.
Prabhakar Kushwaha122bcfd2015-11-09 16:42:07 +05301256 The LS2080A Development System (QDS) is a high-performance
1257 development platform that supports the QorIQ LS2080A
York Sun03017032015-03-20 19:28:23 -07001258 Layerscape Architecture processor.
1259
Prabhakar Kushwaha122bcfd2015-11-09 16:42:07 +05301260config TARGET_LS2080ARDB
1261 bool "Support ls2080ardb"
York Sun4dd8c612016-10-04 14:31:48 -07001262 select ARCH_LS2080A
York Sune12abcb2015-03-20 19:28:24 -07001263 select ARM64
1264 select ARMV8_MULTIENTRY
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001265 select ARCH_SUPPORT_TFABOOT
Tom Rini22d567e2017-01-22 19:43:11 -05001266 select BOARD_LATE_INIT
Scott Wood212b8d82015-03-24 13:25:03 -07001267 select SUPPORT_SPL
Rajesh Bhagatba2414f2019-02-01 05:22:01 +00001268 select FSL_DDR_BIST
1269 select FSL_DDR_INTERACTIVE if !SPL
Simon Glass0e5faf02017-06-14 21:28:21 -06001270 imply SCSI
Tuomas Tynkkynenedf9f622017-12-08 15:36:19 +02001271 imply SCSI_AHCI
York Sune12abcb2015-03-20 19:28:24 -07001272 help
Prabhakar Kushwaha122bcfd2015-11-09 16:42:07 +05301273 Support for Freescale LS2080ARDB platform.
1274 The LS2080A Reference design board (RDB) is a high-performance
1275 development platform that supports the QorIQ LS2080A
York Sune12abcb2015-03-20 19:28:24 -07001276 Layerscape Architecture processor.
1277
Priyanka Jain75cd67f2017-04-27 15:08:07 +05301278config TARGET_LS2081ARDB
1279 bool "Support ls2081ardb"
1280 select ARCH_LS2080A
1281 select ARM64
1282 select ARMV8_MULTIENTRY
1283 select BOARD_LATE_INIT
1284 select SUPPORT_SPL
Priyanka Jain75cd67f2017-04-27 15:08:07 +05301285 help
1286 Support for Freescale LS2081ARDB platform.
1287 The LS2081A Reference design board (RDB) is a high-performance
1288 development platform that supports the QorIQ LS2081A/LS2041A
1289 Layerscape Architecture processor.
1290
Priyanka Jainfd45ca02018-11-28 13:04:27 +00001291config TARGET_LX2160ARDB
1292 bool "Support lx2160ardb"
1293 select ARCH_LX2160A
Priyanka Jainfd45ca02018-11-28 13:04:27 +00001294 select ARM64
1295 select ARMV8_MULTIENTRY
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001296 select ARCH_SUPPORT_TFABOOT
Priyanka Jainfd45ca02018-11-28 13:04:27 +00001297 select BOARD_LATE_INIT
1298 help
1299 Support for NXP LX2160ARDB platform.
1300 The lx2160ardb (LX2160A Reference design board (RDB)
1301 is a high-performance development platform that supports the
1302 QorIQ LX2160A/LX2120A/LX2080A Layerscape Architecture processor.
1303
Pankaj Bansal338baa32019-02-08 10:29:58 +00001304config TARGET_LX2160AQDS
1305 bool "Support lx2160aqds"
1306 select ARCH_LX2160A
Pankaj Bansal338baa32019-02-08 10:29:58 +00001307 select ARM64
1308 select ARMV8_MULTIENTRY
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001309 select ARCH_SUPPORT_TFABOOT
Pankaj Bansal338baa32019-02-08 10:29:58 +00001310 select BOARD_LATE_INIT
1311 help
1312 Support for NXP LX2160AQDS platform.
1313 The lx2160aqds (LX2160A QorIQ Development System (QDS)
1314 is a high-performance development platform that supports the
1315 QorIQ LX2160A/LX2120A/LX2080A Layerscape Architecture processor.
1316
Meenakshi Aggarwal8a03b0d2020-12-04 20:17:28 +05301317config TARGET_LX2162AQDS
1318 bool "Support lx2162aqds"
1319 select ARCH_LX2162A
1320 select ARCH_MISC_INIT
1321 select ARM64
1322 select ARMV8_MULTIENTRY
1323 select ARCH_SUPPORT_TFABOOT
1324 select BOARD_LATE_INIT
1325 help
1326 Support for NXP LX2162AQDS platform.
1327 The lx2162aqds support is based on LX2160A Layerscape Architecture processor.
1328
Peter Griffin31f327e2015-07-30 18:55:23 +01001329config TARGET_HIKEY
1330 bool "Support HiKey 96boards Consumer Edition Platform"
1331 select ARM64
Peter Griffinff9302f2015-09-10 21:55:16 +01001332 select DM
1333 select DM_GPIO
Peter Griffin0382c642015-09-10 21:55:17 +01001334 select DM_SERIAL
Peter Griffinc97c37a2016-04-20 17:13:59 +01001335 select OF_CONTROL
Alexander Graf633ef892018-01-25 12:05:52 +01001336 select PL01X_SERIAL
Tom Rinie69ba982018-03-06 19:02:27 -05001337 select SPECIFY_CONSOLE_INDEX
Michal Simek2e7c8192018-07-23 15:55:14 +02001338 imply CMD_DM
Peter Griffin31f327e2015-07-30 18:55:23 +01001339 help
1340 Support for HiKey 96boards platform. It features a HI6220
1341 SoC, with 8xA53 CPU, mali450 gpu, and 1GB RAM.
1342
Manivannan Sadhasivamcf33f922019-08-02 20:40:09 +05301343config TARGET_HIKEY960
1344 bool "Support HiKey960 96boards Consumer Edition Platform"
1345 select ARM64
1346 select DM
1347 select DM_SERIAL
1348 select OF_CONTROL
1349 select PL01X_SERIAL
1350 imply CMD_DM
1351 help
1352 Support for HiKey960 96boards platform. It features a HI3660
1353 SoC, with 4xA73 CPU, 4xA53 CPU, MALI-G71 GPU, and 3GB RAM.
1354
Jorge Ramirez-Ortizf5b38422017-06-26 15:52:49 +02001355config TARGET_POPLAR
1356 bool "Support Poplar 96boards Enterprise Edition Platform"
1357 select ARM64
1358 select DM
Jorge Ramirez-Ortizf5b38422017-06-26 15:52:49 +02001359 select DM_SERIAL
1360 select DM_USB
Michal Simek84f3dec2018-07-23 15:55:13 +02001361 select OF_CONTROL
Alexander Graf633ef892018-01-25 12:05:52 +01001362 select PL01X_SERIAL
Michal Simek2e7c8192018-07-23 15:55:14 +02001363 imply CMD_DM
Jorge Ramirez-Ortizf5b38422017-06-26 15:52:49 +02001364 help
1365 Support for Poplar 96boards EE platform. It features a HI3798cv200
1366 SoC, with 4xA53 CPU, 1GB RAM and the high performance Mali T720 GPU
1367 making it capable of running any commercial set-top solution based on
1368 Linux or Android.
1369
Prabhakar Kushwaha55432502016-06-03 18:41:34 +05301370config TARGET_LS1012AQDS
1371 bool "Support ls1012aqds"
York Sunb3d71642016-09-26 08:09:26 -07001372 select ARCH_LS1012A
Prabhakar Kushwaha55432502016-06-03 18:41:34 +05301373 select ARM64
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001374 select ARCH_SUPPORT_TFABOOT
Tom Rini22d567e2017-01-22 19:43:11 -05001375 select BOARD_LATE_INIT
Prabhakar Kushwaha55432502016-06-03 18:41:34 +05301376 help
1377 Support for Freescale LS1012AQDS platform.
1378 The LS1012A Development System (QDS) is a high-performance
1379 development platform that supports the QorIQ LS1012A
1380 Layerscape Architecture processor.
1381
Prabhakar Kushwahaa315c662016-06-03 18:41:35 +05301382config TARGET_LS1012ARDB
1383 bool "Support ls1012ardb"
York Sunb3d71642016-09-26 08:09:26 -07001384 select ARCH_LS1012A
Prabhakar Kushwahaa315c662016-06-03 18:41:35 +05301385 select ARM64
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001386 select ARCH_SUPPORT_TFABOOT
Tom Rini22d567e2017-01-22 19:43:11 -05001387 select BOARD_LATE_INIT
Simon Glass0e5faf02017-06-14 21:28:21 -06001388 imply SCSI
Tuomas Tynkkynenedf9f622017-12-08 15:36:19 +02001389 imply SCSI_AHCI
Prabhakar Kushwahaa315c662016-06-03 18:41:35 +05301390 help
1391 Support for Freescale LS1012ARDB platform.
1392 The LS1012A Reference design board (RDB) is a high-performance
1393 development platform that supports the QorIQ LS1012A
1394 Layerscape Architecture processor.
1395
Bhaskar Upadhaya7fff22a2018-01-11 20:03:31 +05301396config TARGET_LS1012A2G5RDB
1397 bool "Support ls1012a2g5rdb"
1398 select ARCH_LS1012A
1399 select ARM64
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001400 select ARCH_SUPPORT_TFABOOT
Bhaskar Upadhaya7fff22a2018-01-11 20:03:31 +05301401 select BOARD_LATE_INIT
1402 imply SCSI
1403 help
1404 Support for Freescale LS1012A2G5RDB platform.
1405 The LS1012A 2G5 Reference design board (RDB) is a high-performance
1406 development platform that supports the QorIQ LS1012A
1407 Layerscape Architecture processor.
1408
Bhaskar Upadhaya5e6f5982018-05-23 11:03:30 +05301409config TARGET_LS1012AFRWY
1410 bool "Support ls1012afrwy"
1411 select ARCH_LS1012A
1412 select ARM64
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001413 select ARCH_SUPPORT_TFABOOT
Michal Simek84f3dec2018-07-23 15:55:13 +02001414 select BOARD_LATE_INIT
Bhaskar Upadhaya5e6f5982018-05-23 11:03:30 +05301415 imply SCSI
1416 imply SCSI_AHCI
1417 help
1418 Support for Freescale LS1012AFRWY platform.
1419 The LS1012A FRWY board (FRWY) is a high-performance
1420 development platform that supports the QorIQ LS1012A
1421 Layerscape Architecture processor.
1422
Prabhakar Kushwaha9e7ee7b2016-06-03 18:41:36 +05301423config TARGET_LS1012AFRDM
1424 bool "Support ls1012afrdm"
York Sunb3d71642016-09-26 08:09:26 -07001425 select ARCH_LS1012A
Prabhakar Kushwaha9e7ee7b2016-06-03 18:41:36 +05301426 select ARM64
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001427 select ARCH_SUPPORT_TFABOOT
Prabhakar Kushwaha9e7ee7b2016-06-03 18:41:36 +05301428 help
1429 Support for Freescale LS1012AFRDM platform.
1430 The LS1012A Freedom board (FRDM) is a high-performance
1431 development platform that supports the QorIQ LS1012A
1432 Layerscape Architecture processor.
1433
Yuantian Tang473bbc42019-04-10 16:43:35 +08001434config TARGET_LS1028AQDS
1435 bool "Support ls1028aqds"
1436 select ARCH_LS1028A
1437 select ARM64
1438 select ARMV8_MULTIENTRY
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001439 select ARCH_SUPPORT_TFABOOT
Yuantian Tangafa86692019-07-02 16:16:22 +08001440 select BOARD_LATE_INIT
Yuantian Tang473bbc42019-04-10 16:43:35 +08001441 help
1442 Support for Freescale LS1028AQDS platform
1443 The LS1028A Development System (QDS) is a high-performance
1444 development platform that supports the QorIQ LS1028A
1445 Layerscape Architecture processor.
1446
Yuantian Tang92f18ff2019-04-10 16:43:34 +08001447config TARGET_LS1028ARDB
1448 bool "Support ls1028ardb"
1449 select ARCH_LS1028A
1450 select ARM64
1451 select ARMV8_MULTIENTRY
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001452 select ARCH_SUPPORT_TFABOOT
Yuantian Tang31c98902020-03-09 14:10:07 +08001453 select BOARD_LATE_INIT
Yuantian Tang92f18ff2019-04-10 16:43:34 +08001454 help
1455 Support for Freescale LS1028ARDB platform
1456 The LS1028A Development System (RDB) is a high-performance
1457 development platform that supports the QorIQ LS1028A
1458 Layerscape Architecture processor.
1459
Ashish Kumar227b4bc2017-08-31 16:12:54 +05301460config TARGET_LS1088ARDB
1461 bool "Support ls1088ardb"
1462 select ARCH_LS1088A
1463 select ARM64
1464 select ARMV8_MULTIENTRY
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001465 select ARCH_SUPPORT_TFABOOT
Ashish Kumar227b4bc2017-08-31 16:12:54 +05301466 select BOARD_LATE_INIT
Ashish Kumar5676ceb2017-11-06 13:18:43 +05301467 select SUPPORT_SPL
Rajesh Bhagatba2414f2019-02-01 05:22:01 +00001468 select FSL_DDR_INTERACTIVE if !SD_BOOT
Ashish Kumar227b4bc2017-08-31 16:12:54 +05301469 help
1470 Support for NXP LS1088ARDB platform.
1471 The LS1088A Reference design board (RDB) is a high-performance
1472 development platform that supports the QorIQ LS1088A
1473 Layerscape Architecture processor.
1474
Wang Huanf0ce7d62014-09-05 13:52:44 +08001475config TARGET_LS1021AQDS
Alison Wang6ea8ad42014-12-03 16:18:09 +08001476 bool "Support ls1021aqds"
Michal Simek84f3dec2018-07-23 15:55:13 +02001477 select ARCH_LS1021A
1478 select ARCH_SUPPORT_PSCI
1479 select BOARD_EARLY_INIT_F
Tom Rini22d567e2017-01-22 19:43:11 -05001480 select BOARD_LATE_INIT
Lokesh Vutla81b1a672018-04-26 18:21:26 +05301481 select CPU_V7A
Hongbo Zhange80fccf2016-09-21 18:31:04 +08001482 select CPU_V7_HAS_NONSEC
1483 select CPU_V7_HAS_VIRT
York Sun4de7e932016-09-26 08:09:29 -07001484 select LS1_DEEP_SLEEP
Michal Simek84f3dec2018-07-23 15:55:13 +02001485 select SUPPORT_SPL
York Sund297d392016-12-28 08:43:40 -08001486 select SYS_FSL_DDR
Rajesh Bhagatba2414f2019-02-01 05:22:01 +00001487 select FSL_DDR_INTERACTIVE
Lukasz Majewski23aa8342020-06-04 23:11:52 +08001488 select DM_SPI_FLASH if FSL_DSPI || FSL_QSPI
1489 select SPI_FLASH_DATAFLASH if FSL_DSPI || FSL_QSPI
Simon Glass0e5faf02017-06-14 21:28:21 -06001490 imply SCSI
Masahiro Yamadad5415b22016-08-30 16:22:22 +09001491
Wang Huanddf89f92014-09-05 13:52:45 +08001492config TARGET_LS1021ATWR
Alison Wang6ea8ad42014-12-03 16:18:09 +08001493 bool "Support ls1021atwr"
Michal Simek84f3dec2018-07-23 15:55:13 +02001494 select ARCH_LS1021A
1495 select ARCH_SUPPORT_PSCI
1496 select BOARD_EARLY_INIT_F
Tom Rini22d567e2017-01-22 19:43:11 -05001497 select BOARD_LATE_INIT
Lokesh Vutla81b1a672018-04-26 18:21:26 +05301498 select CPU_V7A
Hongbo Zhange80fccf2016-09-21 18:31:04 +08001499 select CPU_V7_HAS_NONSEC
1500 select CPU_V7_HAS_VIRT
York Sun4de7e932016-09-26 08:09:29 -07001501 select LS1_DEEP_SLEEP
Michal Simek84f3dec2018-07-23 15:55:13 +02001502 select SUPPORT_SPL
Lukasz Majewski23aa8342020-06-04 23:11:52 +08001503 select DM_SPI_FLASH if FSL_DSPI || FSL_QSPI
Simon Glass0e5faf02017-06-14 21:28:21 -06001504 imply SCSI
Wang Huanddf89f92014-09-05 13:52:45 +08001505
Jianchao Wange5332ba2019-07-19 00:30:01 +03001506config TARGET_LS1021ATSN
1507 bool "Support ls1021atsn"
1508 select ARCH_LS1021A
1509 select ARCH_SUPPORT_PSCI
1510 select BOARD_EARLY_INIT_F
1511 select BOARD_LATE_INIT
1512 select CPU_V7A
1513 select CPU_V7_HAS_NONSEC
1514 select CPU_V7_HAS_VIRT
1515 select LS1_DEEP_SLEEP
1516 select SUPPORT_SPL
1517 imply SCSI
1518
Feng Li39e112d2016-11-03 14:15:17 +08001519config TARGET_LS1021AIOT
1520 bool "Support ls1021aiot"
Michal Simek84f3dec2018-07-23 15:55:13 +02001521 select ARCH_LS1021A
1522 select ARCH_SUPPORT_PSCI
Tom Rini22d567e2017-01-22 19:43:11 -05001523 select BOARD_LATE_INIT
Lokesh Vutla81b1a672018-04-26 18:21:26 +05301524 select CPU_V7A
Feng Li39e112d2016-11-03 14:15:17 +08001525 select CPU_V7_HAS_NONSEC
1526 select CPU_V7_HAS_VIRT
1527 select SUPPORT_SPL
Lukasz Majewski23aa8342020-06-04 23:11:52 +08001528 select DM_SPI_FLASH if FSL_DSPI || FSL_QSPI
Simon Glass0e5faf02017-06-14 21:28:21 -06001529 imply SCSI
Feng Li39e112d2016-11-03 14:15:17 +08001530 help
1531 Support for Freescale LS1021AIOT platform.
1532 The LS1021A Freescale board (IOT) is a high-performance
1533 development platform that supports the QorIQ LS1021A
1534 Layerscape Architecture processor.
1535
Shaohui Xiedd335672015-11-11 17:58:37 +08001536config TARGET_LS1043AQDS
1537 bool "Support ls1043aqds"
York Sun149eb332016-09-26 08:09:27 -07001538 select ARCH_LS1043A
Shaohui Xiedd335672015-11-11 17:58:37 +08001539 select ARM64
1540 select ARMV8_MULTIENTRY
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001541 select ARCH_SUPPORT_TFABOOT
Michal Simek84f3dec2018-07-23 15:55:13 +02001542 select BOARD_EARLY_INIT_F
Tom Rini22d567e2017-01-22 19:43:11 -05001543 select BOARD_LATE_INIT
Shaohui Xiedd335672015-11-11 17:58:37 +08001544 select SUPPORT_SPL
Rajesh Bhagatba2414f2019-02-01 05:22:01 +00001545 select FSL_DDR_INTERACTIVE if !SPL
Lukasz Majewski9cb0cc12020-06-04 23:11:51 +08001546 select FSL_DSPI if !SPL_NO_DSPI
1547 select DM_SPI_FLASH if FSL_DSPI
Simon Glass0e5faf02017-06-14 21:28:21 -06001548 imply SCSI
Peng Maa550eb62019-01-30 19:11:49 +08001549 imply SCSI_AHCI
Shaohui Xiedd335672015-11-11 17:58:37 +08001550 help
1551 Support for Freescale LS1043AQDS platform.
1552
Mingkai Hueee86ff2015-10-26 19:47:52 +08001553config TARGET_LS1043ARDB
1554 bool "Support ls1043ardb"
York Sun149eb332016-09-26 08:09:27 -07001555 select ARCH_LS1043A
Mingkai Hueee86ff2015-10-26 19:47:52 +08001556 select ARM64
Hou Zhiqiangc7098fa2015-10-26 19:47:57 +08001557 select ARMV8_MULTIENTRY
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001558 select ARCH_SUPPORT_TFABOOT
Michal Simek84f3dec2018-07-23 15:55:13 +02001559 select BOARD_EARLY_INIT_F
Tom Rini22d567e2017-01-22 19:43:11 -05001560 select BOARD_LATE_INIT
Gong Qianyu8168a0f2015-10-26 19:47:53 +08001561 select SUPPORT_SPL
Lukasz Majewski9cb0cc12020-06-04 23:11:51 +08001562 select FSL_DSPI if !SPL_NO_DSPI
1563 select DM_SPI_FLASH if FSL_DSPI
Mingkai Hueee86ff2015-10-26 19:47:52 +08001564 help
1565 Support for Freescale LS1043ARDB platform.
1566
Shaohui Xie085ac1c2016-09-07 17:56:14 +08001567config TARGET_LS1046AQDS
1568 bool "Support ls1046aqds"
York Sunbad49842016-09-26 08:09:24 -07001569 select ARCH_LS1046A
Shaohui Xie085ac1c2016-09-07 17:56:14 +08001570 select ARM64
1571 select ARMV8_MULTIENTRY
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001572 select ARCH_SUPPORT_TFABOOT
Michal Simek84f3dec2018-07-23 15:55:13 +02001573 select BOARD_EARLY_INIT_F
Tom Rini22d567e2017-01-22 19:43:11 -05001574 select BOARD_LATE_INIT
Shaohui Xie085ac1c2016-09-07 17:56:14 +08001575 select DM_SPI_FLASH if DM_SPI
Michal Simek84f3dec2018-07-23 15:55:13 +02001576 select SUPPORT_SPL
Rajesh Bhagatba2414f2019-02-01 05:22:01 +00001577 select FSL_DDR_BIST if !SPL
1578 select FSL_DDR_INTERACTIVE if !SPL
1579 select FSL_DDR_INTERACTIVE if !SPL
Simon Glass0e5faf02017-06-14 21:28:21 -06001580 imply SCSI
Shaohui Xie085ac1c2016-09-07 17:56:14 +08001581 help
1582 Support for Freescale LS1046AQDS platform.
1583 The LS1046A Development System (QDS) is a high-performance
1584 development platform that supports the QorIQ LS1046A
1585 Layerscape Architecture processor.
1586
Mingkai Hud2396512016-09-07 18:47:28 +08001587config TARGET_LS1046ARDB
1588 bool "Support ls1046ardb"
York Sunbad49842016-09-26 08:09:24 -07001589 select ARCH_LS1046A
Mingkai Hud2396512016-09-07 18:47:28 +08001590 select ARM64
1591 select ARMV8_MULTIENTRY
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001592 select ARCH_SUPPORT_TFABOOT
Michal Simek84f3dec2018-07-23 15:55:13 +02001593 select BOARD_EARLY_INIT_F
Tom Rini22d567e2017-01-22 19:43:11 -05001594 select BOARD_LATE_INIT
Mingkai Hud2396512016-09-07 18:47:28 +08001595 select DM_SPI_FLASH if DM_SPI
Hou Zhiqiang67b6d0a2016-12-09 16:09:01 +08001596 select POWER_MC34VR500
Michal Simek84f3dec2018-07-23 15:55:13 +02001597 select SUPPORT_SPL
Rajesh Bhagatba2414f2019-02-01 05:22:01 +00001598 select FSL_DDR_BIST
1599 select FSL_DDR_INTERACTIVE if !SPL
Simon Glass0e5faf02017-06-14 21:28:21 -06001600 imply SCSI
Mingkai Hud2396512016-09-07 18:47:28 +08001601 help
1602 Support for Freescale LS1046ARDB platform.
1603 The LS1046A Reference Design Board (RDB) is a high-performance
1604 development platform that supports the QorIQ LS1046A
1605 Layerscape Architecture processor.
1606
Vabhav Sharma51641912019-06-06 12:35:28 +00001607config TARGET_LS1046AFRWY
1608 bool "Support ls1046afrwy"
1609 select ARCH_LS1046A
1610 select ARM64
1611 select ARMV8_MULTIENTRY
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001612 select ARCH_SUPPORT_TFABOOT
Vabhav Sharma51641912019-06-06 12:35:28 +00001613 select BOARD_EARLY_INIT_F
1614 select BOARD_LATE_INIT
1615 select DM_SPI_FLASH if DM_SPI
1616 imply SCSI
1617 help
1618 Support for Freescale LS1046AFRWY platform.
1619 The LS1046A Freeway Board (FRWY) is a high-performance
1620 development platform that supports the QorIQ LS1046A
1621 Layerscape Architecture processor.
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001622
Michael Walle36ba7642020-10-15 23:08:57 +02001623config TARGET_SL28
1624 bool "Support sl28"
1625 select ARCH_LS1028A
1626 select ARM64
1627 select ARMV8_MULTIENTRY
1628 select SUPPORT_SPL
1629 select BINMAN
1630 help
1631 Support for Kontron SMARC-sAL28 board.
1632
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001633config TARGET_COLIBRI_PXA270
1634 bool "Support colibri_pxa270"
Georges Savoundararadj3bae15f2014-10-28 23:16:09 +01001635 select CPU_PXA
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001636
Masahiro Yamada82069432014-10-03 19:21:07 +09001637config ARCH_UNIPHIER
Masahiro Yamada563ee4c2015-05-29 17:30:01 +09001638 bool "Socionext UniPhier SoCs"
Tom Rini22d567e2017-01-22 19:43:11 -05001639 select BOARD_LATE_INIT
Masahiro Yamada85eb8262015-03-31 12:47:54 +09001640 select DM
Masahiro Yamadaae8d7d52020-05-07 22:11:19 +09001641 select DM_ETH
Masahiro Yamada5f128922016-02-16 17:03:50 +09001642 select DM_GPIO
Masahiro Yamada85eb8262015-03-31 12:47:54 +09001643 select DM_I2C
Masahiro Yamada867453e2016-02-18 19:52:49 +09001644 select DM_MMC
Masahiro Yamada8fc53822020-01-30 22:07:59 +09001645 select DM_MTD
Masahiro Yamada2aa4b5b2016-10-08 13:25:31 +09001646 select DM_RESET
Masahiro Yamada694adf12016-09-14 01:05:59 +09001647 select DM_SERIAL
Masahiro Yamada5021b8a2016-09-14 01:06:00 +09001648 select DM_USB
Masahiro Yamadae0a6fa82018-07-19 16:28:25 +09001649 select OF_BOARD_SETUP
Masahiro Yamada694adf12016-09-14 01:05:59 +09001650 select OF_CONTROL
1651 select OF_LIBFDT
Masahiro Yamada0c977252016-09-17 03:33:01 +09001652 select PINCTRL
Ley Foon Tan48fcc4a2017-05-03 17:13:32 +08001653 select SPL_BOARD_INIT if SPL
Masahiro Yamadadabee242017-01-21 18:05:22 +09001654 select SPL_DM if SPL
1655 select SPL_LIBCOMMON_SUPPORT if SPL
1656 select SPL_LIBGENERIC_SUPPORT if SPL
1657 select SPL_OF_CONTROL if SPL
1658 select SPL_PINCTRL if SPL
Masahiro Yamada694adf12016-09-14 01:05:59 +09001659 select SUPPORT_SPL
Michal Simek2e7c8192018-07-23 15:55:14 +02001660 imply CMD_DM
Masahiro Yamada577242b2018-07-20 21:47:18 +09001661 imply DISTRO_DEFAULTS
Tom Rinid8532af2017-06-02 11:03:50 -04001662 imply FAT_WRITE
Masahiro Yamada563ee4c2015-05-29 17:30:01 +09001663 help
1664 Support for UniPhier SoC family developed by Socionext Inc.
1665 (formerly, System LSI Business Division of Panasonic Corporation)
Masahiro Yamada82069432014-10-03 19:21:07 +09001666
Trevor Woerner2bcc1ed2020-05-06 08:02:42 -04001667config ARCH_STM32
Patrick Delaunay85b53972018-03-12 10:46:10 +01001668 bool "Support STMicroelectronics STM32 MCU with cortex M"
rev13@wp.pl6b5e5a92015-03-01 12:44:42 +01001669 select CPU_V7M
Kamil Lulko75d48a62015-12-01 09:08:19 +01001670 select DM
1671 select DM_SERIAL
Michal Simek2e7c8192018-07-23 15:55:14 +02001672 imply CMD_DM
rev13@wp.pl6b5e5a92015-03-01 12:44:42 +01001673
Patrice Chotard5b428242017-02-21 13:37:04 +01001674config ARCH_STI
1675 bool "Support STMicrolectronics SoCs"
Michal Simek84f3dec2018-07-23 15:55:13 +02001676 select BLK
Lokesh Vutla81b1a672018-04-26 18:21:26 +05301677 select CPU_V7A
Patrice Chotard42d742b2017-02-21 13:37:07 +01001678 select DM
Patrice Chotard2eea7d82017-02-21 13:37:09 +01001679 select DM_MMC
Patrice Chotard1235aa02017-03-22 10:54:03 +01001680 select DM_RESET
Michal Simek84f3dec2018-07-23 15:55:13 +02001681 select DM_SERIAL
Michal Simek2e7c8192018-07-23 15:55:14 +02001682 imply CMD_DM
Patrice Chotard5b428242017-02-21 13:37:04 +01001683 help
1684 Support for STMicroelectronics STiH407/10 SoC family.
1685 This SoC is used on Linaro 96Board STiH410-B2260
1686
Patrick Delaunay85b53972018-03-12 10:46:10 +01001687config ARCH_STM32MP
1688 bool "Support STMicroelectronics STM32MP Socs with cortex A"
Patrick Delaunayc5d15652018-03-20 10:54:53 +01001689 select ARCH_MISC_INIT
Patrick Delaunayf8fe21d2020-04-01 09:07:33 +02001690 select ARCH_SUPPORT_TFABOOT
Patrick Delaunay85b53972018-03-12 10:46:10 +01001691 select BOARD_LATE_INIT
1692 select CLK
1693 select DM
1694 select DM_GPIO
1695 select DM_RESET
1696 select DM_SERIAL
Michal Simek84f3dec2018-07-23 15:55:13 +02001697 select MISC
Patrick Delaunay85b53972018-03-12 10:46:10 +01001698 select OF_CONTROL
1699 select OF_LIBFDT
Patrick Delaunaya6f03912019-07-05 17:20:14 +02001700 select OF_SYSTEM_SETUP
Patrick Delaunay85b53972018-03-12 10:46:10 +01001701 select PINCTRL
1702 select REGMAP
1703 select SUPPORT_SPL
1704 select SYSCON
Patrick Delaunay32ddd262018-03-20 14:15:06 +01001705 select SYSRESET
Patrick Delaunay85b53972018-03-12 10:46:10 +01001706 select SYS_THUMB_BUILD
Kever Yang525ea472019-04-02 20:41:25 +08001707 imply SPL_SYSRESET
Michal Simek2e7c8192018-07-23 15:55:14 +02001708 imply CMD_DM
Patrick Delaunay4e8dbe22019-04-12 11:55:46 +02001709 imply CMD_POWEROFF
Patrick Delaunay03552502019-07-30 19:16:28 +02001710 imply OF_LIBFDT_OVERLAY
Patrick Delaunayd70e3f82019-02-27 17:01:11 +01001711 imply ENV_VARS_UBOOT_RUNTIME_CONFIG
Patrick Delaunay64e02e92019-04-18 17:32:38 +02001712 imply USE_PREBOOT
Patrick Delaunay85b53972018-03-12 10:46:10 +01001713 help
1714 Support for STM32MP SoC family developed by STMicroelectronics,
1715 MPUs based on ARM cortex A core
Patrick Delaunay5d061412019-02-12 11:44:39 +01001716 U-BOOT is running in DDR, loaded by the First Stage BootLoader (FSBL).
1717 FSBL can be TF-A: Trusted Firmware for Cortex A, for trusted boot
1718 chain.
1719 SPL is the unsecure FSBL for the basic boot chain.
Patrick Delaunay85b53972018-03-12 10:46:10 +01001720
Simon Glass2cffe662015-08-30 16:55:38 -06001721config ARCH_ROCKCHIP
1722 bool "Support Rockchip SoCs"
Simon Glass94106272016-06-12 23:30:14 -06001723 select BLK
Kever Yang217a0362020-11-10 11:43:32 +08001724 select BINMAN if SPL_OPTEE
Simon Glass2cffe662015-08-30 16:55:38 -06001725 select DM
Simon Glass94106272016-06-12 23:30:14 -06001726 select DM_GPIO
1727 select DM_I2C
1728 select DM_MMC
Michal Simek84f3dec2018-07-23 15:55:13 +02001729 select DM_PWM
1730 select DM_REGULATOR
Simon Glass94106272016-06-12 23:30:14 -06001731 select DM_SERIAL
1732 select DM_SPI
1733 select DM_SPI_FLASH
MengDongyangf0bf5de2016-08-24 12:02:18 +08001734 select DM_USB if USB
Philipp Tomsichb6f395c2017-10-10 16:21:03 +02001735 select ENABLE_ARM_SOC_BOOT0_HOOK
Michal Simek84f3dec2018-07-23 15:55:13 +02001736 select OF_CONTROL
Adam Ford4e96ff82018-04-15 13:51:26 -04001737 select SPI
Michal Simek84f3dec2018-07-23 15:55:13 +02001738 select SPL_DM if SPL
Lukasz Majewski76f442982020-06-04 23:11:53 +08001739 select SPL_DM_SPI if SPL
1740 select SPL_DM_SPI_FLASH if SPL
Michal Simek84f3dec2018-07-23 15:55:13 +02001741 select SYS_MALLOC_F
1742 select SYS_THUMB_BUILD if !ARM64
1743 imply ADC
Michal Simek2e7c8192018-07-23 15:55:14 +02001744 imply CMD_DM
Kever Yang2563ee82019-03-29 09:08:58 +08001745 imply DEBUG_UART_BOARD_INIT
Masahiro Yamada9afc6c52018-04-25 18:47:52 +09001746 imply DISTRO_DEFAULTS
Tom Rinid8532af2017-06-02 11:03:50 -04001747 imply FAT_WRITE
Philipp Tomsich2fa7b7e2017-09-20 13:50:13 +02001748 imply SARADC_ROCKCHIP
Michal Simek84f3dec2018-07-23 15:55:13 +02001749 imply SPL_SYSRESET
Thomas Hebb1bda4322019-11-15 08:48:57 -08001750 imply SPL_SYS_MALLOC_SIMPLE
Kever Yang4a3448c2018-04-19 11:37:09 +08001751 imply SYS_NS16550
Michal Simek84f3dec2018-07-23 15:55:13 +02001752 imply TPL_SYSRESET
1753 imply USB_FUNCTION_FASTBOOT
Simon Glass2cffe662015-08-30 16:55:38 -06001754
Suneel Garapatiaddfabc2019-10-19 18:37:55 -07001755config ARCH_OCTEONTX
1756 bool "Support OcteonTX SoCs"
Stefan Roesefbd18652020-09-23 11:01:30 +02001757 select CLK
Suneel Garapatiaddfabc2019-10-19 18:37:55 -07001758 select DM
1759 select ARM64
1760 select OF_CONTROL
1761 select OF_LIVE
1762 select BOARD_LATE_INIT
1763 select SYS_CACHE_SHIFT_7
Suneel Garapatid9e72462019-10-19 18:47:37 -07001764
1765config ARCH_OCTEONTX2
1766 bool "Support OcteonTX2 SoCs"
Stefan Roesefbd18652020-09-23 11:01:30 +02001767 select CLK
Suneel Garapatid9e72462019-10-19 18:47:37 -07001768 select DM
1769 select ARM64
1770 select OF_CONTROL
1771 select OF_LIVE
1772 select BOARD_LATE_INIT
1773 select SYS_CACHE_SHIFT_7
1774
Sergey Temerkhanov69f7a032015-10-14 09:55:50 -07001775config TARGET_THUNDERX_88XX
1776 bool "Support ThunderX 88xx"
Marek Vasut09ab8ad2016-06-01 02:33:53 +02001777 select ARM64
Sergey Temerkhanov69f7a032015-10-14 09:55:50 -07001778 select OF_CONTROL
Alexander Graf633ef892018-01-25 12:05:52 +01001779 select PL01X_SERIAL
Michal Simek84f3dec2018-07-23 15:55:13 +02001780 select SYS_CACHE_SHIFT_7
Sergey Temerkhanov69f7a032015-10-14 09:55:50 -07001781
maxims@google.comf57bd002017-01-18 13:44:55 -08001782config ARCH_ASPEED
1783 bool "Support Aspeed SoCs"
maxims@google.comf57bd002017-01-18 13:44:55 -08001784 select DM
Michal Simek84f3dec2018-07-23 15:55:13 +02001785 select OF_CONTROL
Michal Simek2e7c8192018-07-23 15:55:14 +02001786 imply CMD_DM
maxims@google.comf57bd002017-01-18 13:44:55 -08001787
liu hao1c4a2c42019-10-31 07:51:08 +00001788config TARGET_DURIAN
1789 bool "Support Phytium Durian Platform"
1790 select ARM64
1791 help
1792 Support for durian platform.
1793 It has 2GB Sdram, uart and pcie.
1794
Alex Nemirovsky1ecad072020-01-30 12:34:59 -08001795config TARGET_PRESIDIO_ASIC
1796 bool "Support Cortina Presidio ASIC Platform"
1797 select ARM64
1798
Andrii Anisov355d1e42020-08-06 12:42:47 +03001799config TARGET_XENGUEST_ARM64
1800 bool "Xen guest ARM64"
1801 select ARM64
1802 select XEN
1803 select OF_CONTROL
1804 select LINUX_KERNEL_IMAGE_HEADER
Peng Fan8162f8f2020-08-06 12:42:50 +03001805 select XEN_SERIAL
Oleksandr Andrushchenko4b728452020-08-06 12:42:53 +03001806 select SSCANF
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001807endchoice
1808
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001809config ARCH_SUPPORT_TFABOOT
1810 bool
1811
1812config TFABOOT
1813 bool "Support for booting from TF-A"
1814 depends on ARCH_SUPPORT_TFABOOT
1815 default n
1816 help
Andre Przywara41087af2020-09-30 15:45:07 +01001817 Some platforms support the setup of secure registers (for instance
1818 for CPU errata handling) or provide secure services like PSCI.
1819 Those services could also be provided by other firmware parts
1820 like TF-A (Trusted Firmware for Cortex-A), in which case U-Boot
1821 does not need to (and cannot) execute this code.
1822 Enabling this option will make a U-Boot binary that is relying
1823 on other firmware layers to provide secure functionality.
AKASHI Takahirofb83f752019-07-03 10:44:39 +09001824
Andrew F. Davisd3fe9172018-02-14 11:53:37 -06001825config TI_SECURE_DEVICE
1826 bool "HS Device Type Support"
Andrew F. Davis2ed41072019-04-12 12:54:45 -04001827 depends on ARCH_KEYSTONE || ARCH_OMAP2PLUS || ARCH_K3
Andrew F. Davisd3fe9172018-02-14 11:53:37 -06001828 help
1829 If a high secure (HS) device type is being used, this config
1830 must be set. This option impacts various aspects of the
1831 build system (to create signed boot images that can be
1832 authenticated) and the code. See the doc/README.ti-secure
1833 file for further details.
1834
Tom Rinib2f88a32019-03-19 07:14:37 -04001835if AM43XX || AM33XX || OMAP54XX || ARCH_KEYSTONE
1836config ISW_ENTRY_ADDR
1837 hex "Address in memory or XIP address of bootloader entry point"
1838 default 0x402F4000 if AM43XX
1839 default 0x402F0400 if AM33XX
1840 default 0x40301350 if OMAP54XX
1841 help
1842 After any reset, the boot ROM searches the boot media for a valid
1843 boot image. For non-XIP devices, the ROM then copies the image into
1844 internal memory. For all boot modes, after the ROM processes the
1845 boot image it eventually computes the entry point address depending
1846 on the device type (secure/non-secure), boot media (xip/non-xip) and
1847 image headers.
1848endif
1849
maxims@google.comf57bd002017-01-18 13:44:55 -08001850source "arch/arm/mach-aspeed/Kconfig"
1851
Masahiro Yamadaaf908ee2015-02-20 17:04:01 +09001852source "arch/arm/mach-at91/Kconfig"
1853
Masahiro Yamadaed22cc72015-03-19 19:42:56 +09001854source "arch/arm/mach-bcm283x/Kconfig"
Masahiro Yamadae604ef92014-08-31 07:11:01 +09001855
Thomas Fitzsimmons919646d2018-06-08 17:59:45 -04001856source "arch/arm/mach-bcmstb/Kconfig"
1857
Masahiro Yamadaed22cc72015-03-19 19:42:56 +09001858source "arch/arm/mach-davinci/Kconfig"
Simon Glass13fc6a22015-02-05 21:41:39 -07001859
Thomas Abraham74f84862015-08-03 17:58:00 +05301860source "arch/arm/mach-exynos/Kconfig"
Masahiro Yamadac54550b2014-08-31 07:11:00 +09001861
Masahiro Yamada95ec48b2015-02-20 17:04:08 +09001862source "arch/arm/mach-highbank/Kconfig"
Masahiro Yamada52ece9c2014-08-31 07:11:07 +09001863
Masahiro Yamadacad44162015-04-21 21:59:36 +09001864source "arch/arm/mach-integrator/Kconfig"
1865
Robert Markoe7a34f12020-07-06 10:37:54 +02001866source "arch/arm/mach-ipq40xx/Kconfig"
1867
Lokesh Vutla9bdec002018-08-27 15:57:08 +05301868source "arch/arm/mach-k3/Kconfig"
1869
Masahiro Yamadaf058b792015-02-20 17:04:11 +09001870source "arch/arm/mach-keystone/Kconfig"
Masahiro Yamada32013fb2014-08-31 07:11:05 +09001871
Masahiro Yamada5e5e23a2015-02-20 17:04:06 +09001872source "arch/arm/mach-kirkwood/Kconfig"
Masahiro Yamadad7570852014-08-31 07:10:59 +09001873
Trevor Woerner28d261f2020-05-06 08:02:36 -04001874source "arch/arm/mach-lpc32xx/Kconfig"
Vladimir Zapolskiy31d0e962018-09-17 21:43:03 +03001875
Stefan Roese383e0c12015-08-25 13:18:38 +02001876source "arch/arm/mach-mvebu/Kconfig"
1877
Suneel Garapatiaddfabc2019-10-19 18:37:55 -07001878source "arch/arm/mach-octeontx/Kconfig"
Suneel Garapatid9e72462019-10-19 18:47:37 -07001879
1880source "arch/arm/mach-octeontx2/Kconfig"
1881
York Sun149eb332016-09-26 08:09:27 -07001882source "arch/arm/cpu/armv7/ls102xa/Kconfig"
1883
Fabio Estevam52b2f452017-11-03 13:40:08 -02001884source "arch/arm/mach-imx/mx2/Kconfig"
1885
Magnus Liljac74f70f2018-05-11 14:06:54 +02001886source "arch/arm/mach-imx/mx3/Kconfig"
1887
Peng Fan66294882018-01-10 13:20:19 +08001888source "arch/arm/mach-imx/mx5/Kconfig"
1889
1890source "arch/arm/mach-imx/mx6/Kconfig"
Peng Fan2c7b1702017-02-22 16:21:39 +08001891
Stefano Babic33731bc2017-06-29 10:16:06 +02001892source "arch/arm/mach-imx/mx7/Kconfig"
Adrian Alonso98810772015-09-03 11:49:28 -05001893
Peng Fan66294882018-01-10 13:20:19 +08001894source "arch/arm/mach-imx/mx7ulp/Kconfig"
Boris BREZILLON51e82662015-03-04 13:13:03 +01001895
Peng Fan6bae1c72018-10-18 14:28:08 +02001896source "arch/arm/mach-imx/imx8/Kconfig"
1897
Peng Fan39945c12018-11-20 10:19:25 +00001898source "arch/arm/mach-imx/imx8m/Kconfig"
Andrej Rosano1ac4bca2015-04-08 18:56:29 +02001899
Giulio Benetti9dba2622020-01-10 15:51:47 +01001900source "arch/arm/mach-imx/imxrt/Kconfig"
1901
Stefan Agner081ea1f2018-02-06 09:44:34 +01001902source "arch/arm/mach-imx/mxs/Kconfig"
1903
Tom Rini28eec372016-11-07 21:34:54 -05001904source "arch/arm/mach-omap2/Kconfig"
Madan Srinivaseba13cd2016-05-19 19:10:43 -05001905
York Sunbad49842016-09-26 08:09:24 -07001906source "arch/arm/cpu/armv8/fsl-layerscape/Kconfig"
1907
Masahiro Yamada22537642015-02-20 17:04:09 +09001908source "arch/arm/mach-orion5x/Kconfig"
Masahiro Yamada04ffbc12014-08-31 07:11:06 +09001909
Manivannan Sadhasivam474a5df2018-06-14 23:38:31 +05301910source "arch/arm/mach-owl/Kconfig"
1911
Nobuhiro Iwamatsuc91ef682015-10-09 16:40:09 +09001912source "arch/arm/mach-rmobile/Kconfig"
Masahiro Yamadac9c54e22014-08-31 07:10:57 +09001913
Beniamino Galvanid1037e42016-05-08 08:30:16 +02001914source "arch/arm/mach-meson/Kconfig"
1915
developerf4a079c2018-11-15 10:07:52 +08001916source "arch/arm/mach-mediatek/Kconfig"
1917
Tuomas Tynkkynen28cac522017-09-19 23:18:07 +03001918source "arch/arm/mach-qemu/Kconfig"
1919
Simon Glass2cffe662015-08-30 16:55:38 -06001920source "arch/arm/mach-rockchip/Kconfig"
1921
Minkyu Kang56b820a2015-11-20 15:24:57 +09001922source "arch/arm/mach-s5pc1xx/Kconfig"
Simon Glass96aa0722014-10-07 22:01:50 -06001923
Mateusz Kulikowski2507d822016-03-31 23:12:32 +02001924source "arch/arm/mach-snapdragon/Kconfig"
1925
Masahiro Yamada144a3e02015-04-21 20:38:20 +09001926source "arch/arm/mach-socfpga/Kconfig"
1927
Patrice Chotard5b428242017-02-21 13:37:04 +01001928source "arch/arm/mach-sti/Kconfig"
1929
Vikas Manocha95c89192016-01-15 17:49:06 -08001930source "arch/arm/mach-stm32/Kconfig"
1931
Patrick Delaunay85b53972018-03-12 10:46:10 +01001932source "arch/arm/mach-stm32mp/Kconfig"
1933
Masahiro Yamada4976a222017-04-28 19:42:18 +09001934source "arch/arm/mach-sunxi/Kconfig"
1935
Masahiro Yamadaed1632a2015-02-20 17:04:04 +09001936source "arch/arm/mach-tegra/Kconfig"
Masahiro Yamada73a5b1a2014-08-31 07:10:56 +09001937
Stephan Gerhold4f1170f2020-01-04 18:45:17 +01001938source "arch/arm/mach-u8500/Kconfig"
1939
Masahiro Yamadaf8563982015-02-27 02:26:42 +09001940source "arch/arm/mach-uniphier/Kconfig"
Masahiro Yamada82069432014-10-03 19:21:07 +09001941
Stefan Agnerd53c0a42017-03-13 18:41:36 -07001942source "arch/arm/cpu/armv7/vf610/Kconfig"
1943
Masahiro Yamada43246cc2015-03-16 16:43:22 +09001944source "arch/arm/mach-zynq/Kconfig"
Masahiro Yamada73a5b1a2014-08-31 07:10:56 +09001945
Michal Simek7f60b232019-01-17 08:22:43 +01001946source "arch/arm/mach-zynqmp/Kconfig"
1947
Michal Simek4b066a12018-08-22 14:55:27 +02001948source "arch/arm/mach-versal/Kconfig"
1949
Michal Simekb513bcd2018-04-12 17:39:46 +02001950source "arch/arm/mach-zynqmp-r5/Kconfig"
1951
Hans de Goede85437352014-11-14 09:34:30 +01001952source "arch/arm/cpu/armv7/Kconfig"
1953
Linus Walleij74771392015-03-09 10:53:21 +01001954source "arch/arm/cpu/armv8/Kconfig"
1955
Stefano Babic33731bc2017-06-29 10:16:06 +02001956source "arch/arm/mach-imx/Kconfig"
Boris BREZILLON6b9b9a02015-03-04 13:13:04 +01001957
Stefan Bosch6563ea22020-07-10 19:07:26 +02001958source "arch/arm/mach-nexell/Kconfig"
1959
Usama Arif9218a112020-08-12 16:12:53 +01001960source "board/armltd/total_compute/Kconfig"
1961
Heiko Schocherf1163962016-06-07 08:31:25 +02001962source "board/bosch/shc/Kconfig"
Sjoerd Simonsf93564c2019-02-25 15:33:00 +00001963source "board/bosch/guardian/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001964source "board/CarMediaLab/flea3/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001965source "board/Marvell/aspenite/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001966source "board/Marvell/gplugd/Kconfig"
Suneel Garapatiaddfabc2019-10-19 18:37:55 -07001967source "board/Marvell/octeontx/Kconfig"
Suneel Garapatid9e72462019-10-19 18:47:37 -07001968source "board/Marvell/octeontx2/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001969source "board/armadeus/apf27/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001970source "board/armltd/vexpress/Kconfig"
1971source "board/armltd/vexpress64/Kconfig"
Alex Nemirovsky1ecad072020-01-30 12:34:59 -08001972source "board/cortina/presidio-asic/Kconfig"
Steve Rae45f2c702016-06-02 15:10:56 -07001973source "board/broadcom/bcm23550_w1d/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001974source "board/broadcom/bcm28155_ap/Kconfig"
Philippe Reynes2d299182019-01-31 18:57:36 +01001975source "board/broadcom/bcm963158/Kconfig"
Philippe Reynes0d87fc42020-01-07 20:14:17 +01001976source "board/broadcom/bcm968360bg/Kconfig"
Philippe Reynes697f15e2018-10-11 18:31:58 +02001977source "board/broadcom/bcm968580xref/Kconfig"
Steve Rae1c5f31c2014-11-11 11:32:18 -08001978source "board/broadcom/bcmcygnus/Kconfig"
1979source "board/broadcom/bcmnsp/Kconfig"
Jon Masond59b5862017-03-17 12:12:14 -04001980source "board/broadcom/bcmns2/Kconfig"
Rayagonda Kokatanur1d8fa362020-07-15 22:48:55 +05301981source "board/broadcom/bcmns3/Kconfig"
Sergey Temerkhanov69f7a032015-10-14 09:55:50 -07001982source "board/cavium/thunderx/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001983source "board/cirrus/edb93xx/Kconfig"
Felix Brack1ba8c9e2018-01-23 18:27:22 +01001984source "board/eets/pdu001/Kconfig"
Bin Meng53290422018-10-15 02:21:18 -07001985source "board/emulation/qemu-arm/Kconfig"
Prabhakar Kushwaha122bcfd2015-11-09 16:42:07 +05301986source "board/freescale/ls2080aqds/Kconfig"
1987source "board/freescale/ls2080ardb/Kconfig"
Ashish Kumar227b4bc2017-08-31 16:12:54 +05301988source "board/freescale/ls1088a/Kconfig"
Yuantian Tang92f18ff2019-04-10 16:43:34 +08001989source "board/freescale/ls1028a/Kconfig"
Wang Huanf0ce7d62014-09-05 13:52:44 +08001990source "board/freescale/ls1021aqds/Kconfig"
Shaohui Xiedd335672015-11-11 17:58:37 +08001991source "board/freescale/ls1043aqds/Kconfig"
Wang Huanddf89f92014-09-05 13:52:45 +08001992source "board/freescale/ls1021atwr/Kconfig"
Jianchao Wange5332ba2019-07-19 00:30:01 +03001993source "board/freescale/ls1021atsn/Kconfig"
Feng Li39e112d2016-11-03 14:15:17 +08001994source "board/freescale/ls1021aiot/Kconfig"
Shaohui Xie085ac1c2016-09-07 17:56:14 +08001995source "board/freescale/ls1046aqds/Kconfig"
Mingkai Hueee86ff2015-10-26 19:47:52 +08001996source "board/freescale/ls1043ardb/Kconfig"
Mingkai Hud2396512016-09-07 18:47:28 +08001997source "board/freescale/ls1046ardb/Kconfig"
Vabhav Sharma51641912019-06-06 12:35:28 +00001998source "board/freescale/ls1046afrwy/Kconfig"
Prabhakar Kushwaha55432502016-06-03 18:41:34 +05301999source "board/freescale/ls1012aqds/Kconfig"
Prabhakar Kushwahaa315c662016-06-03 18:41:35 +05302000source "board/freescale/ls1012ardb/Kconfig"
Prabhakar Kushwaha9e7ee7b2016-06-03 18:41:36 +05302001source "board/freescale/ls1012afrdm/Kconfig"
Priyanka Jainfd45ca02018-11-28 13:04:27 +00002002source "board/freescale/lx2160a/Kconfig"
Eddy Petrișor5178dc12016-06-05 03:43:00 +03002003source "board/freescale/s32v234evb/Kconfig"
Marcin Niestroj20315d22017-01-25 09:53:08 +01002004source "board/grinn/chiliboard/Kconfig"
Tom Rinibdf4f182015-09-02 15:32:20 -04002005source "board/hisilicon/hikey/Kconfig"
Manivannan Sadhasivamcf33f922019-08-02 20:40:09 +05302006source "board/hisilicon/hikey960/Kconfig"
Jorge Ramirez-Ortizf5b38422017-06-26 15:52:49 +02002007source "board/hisilicon/poplar/Kconfig"
Ladislav Michl10bdc712017-04-01 17:17:16 +02002008source "board/isee/igep003x/Kconfig"
Michael Walle36ba7642020-10-15 23:08:57 +02002009source "board/kontron/sl28/Kconfig"
Parthiban Nallathambi8214fd92020-07-27 16:48:41 +02002010source "board/myir/mys_6ulx/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09002011source "board/spear/spear300/Kconfig"
2012source "board/spear/spear310/Kconfig"
2013source "board/spear/spear320/Kconfig"
2014source "board/spear/spear600/Kconfig"
2015source "board/spear/x600/Kconfig"
Vikas Manocha33913c52014-11-18 10:42:22 -08002016source "board/st/stv0991/Kconfig"
Enric Balletbò i Serra9d89b082015-09-07 07:43:20 +02002017source "board/tcl/sl50/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09002018source "board/toradex/colibri_pxa270/Kconfig"
Parthiban Nallathambi5e9147d2019-04-18 00:04:09 +02002019source "board/variscite/dart_6ul/Kconfig"
Yegor Yefremovfa8b71b2015-05-29 19:27:29 +02002020source "board/vscom/baltos/Kconfig"
liu hao1c4a2c42019-10-31 07:51:08 +00002021source "board/phytium/durian/Kconfig"
Andrii Anisov355d1e42020-08-06 12:42:47 +03002022source "board/xen/xenguest_arm64/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09002023
Masahiro Yamadadf00e522014-09-01 11:06:34 +09002024source "arch/arm/Kconfig.debug"
2025
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09002026endmenu
Philipp Tomsich2d6a0cc2017-08-03 23:23:55 +02002027
2028config SPL_LDSCRIPT
Michal Simekf751ff52018-07-23 15:55:12 +02002029 default "arch/arm/cpu/arm926ejs/mxs/u-boot-spl.lds" if (ARCH_MX23 || ARCH_MX28) && !SPL_FRAMEWORK
2030 default "arch/arm/cpu/arm1136/u-boot-spl.lds" if CPU_ARM1136
Philipp Tomsich2d6a0cc2017-08-03 23:23:55 +02002031 default "arch/arm/cpu/armv8/u-boot-spl.lds" if ARM64