blob: 31d687ea0110fc63c3e54679ba52405bea6542a0 [file] [log] [blame]
Masahiro Yamadadd840582014-07-30 14:08:14 +09001menu "ARM architecture"
2 depends on ARM
3
4config SYS_ARCH
Masahiro Yamadadd840582014-07-30 14:08:14 +09005 default "arm"
6
Masahiro Yamada016a9542014-09-14 03:01:51 +09007config ARM64
8 bool
Masahiro Yamadabb6b1422016-07-25 19:56:03 +09009 select PHYS_64BIT
Tom Rini067716b2016-08-22 08:22:17 -040010 select SYS_CACHE_SHIFT_6
Masahiro Yamada016a9542014-09-14 03:01:51 +090011
Stephen Warren49e93872017-11-02 18:11:27 -060012if ARM64
13config POSITION_INDEPENDENT
14 bool "Generate position-independent pre-relocation code"
15 help
16 U-Boot expects to be linked to a specific hard-coded address, and to
17 be loaded to and run from that address. This option lifts that
Edgar E. Iglesias11f4fbf2020-09-09 19:07:24 +020018 restriction, thus allowing the code to be loaded to and executed from
19 almost any 4K aligned address. This logic relies on the relocation
Robert P. J. Daye852b302019-12-25 06:34:07 -050020 information that is embedded in the binary to support U-Boot
Stephen Warren49e93872017-11-02 18:11:27 -060021 relocating itself to the top-of-RAM later during execution.
Stephen Warrene6c90442017-12-19 18:30:36 -070022
Masahiro Yamada382de4a2019-06-26 13:51:46 +090023config INIT_SP_RELATIVE
24 bool "Specify the early stack pointer relative to the .bss section"
Andre Przywaraf5cb6c32020-09-30 17:39:18 +010025 default n if ARCH_QEMU
Andre Przywara12650e42020-09-30 17:39:15 +010026 default y if POSITION_INDEPENDENT
Stephen Warrene6c90442017-12-19 18:30:36 -070027 help
28 U-Boot typically uses a hard-coded value for the stack pointer
Masahiro Yamada382de4a2019-06-26 13:51:46 +090029 before relocation. Enable this option to instead calculate the
Stephen Warrene6c90442017-12-19 18:30:36 -070030 initial SP at run-time. This is useful to avoid hard-coding addresses
Robert P. J. Daye852b302019-12-25 06:34:07 -050031 into U-Boot, so that it can be loaded and executed at arbitrary
Masahiro Yamada382de4a2019-06-26 13:51:46 +090032 addresses and thus avoid using arbitrary addresses at runtime.
33
34 If this option is enabled, the early stack pointer is set to
35 &_bss_start with a offset value added. The offset is specified by
36 SYS_INIT_SP_BSS_OFFSET.
37
38config SYS_INIT_SP_BSS_OFFSET
39 int "Early stack offset from the .bss base address"
40 depends on INIT_SP_RELATIVE
41 default 524288
42 help
43 This option's value is the offset added to &_bss_start in order to
Stephen Warrene6c90442017-12-19 18:30:36 -070044 calculate the stack pointer. This offset should be large enough so
45 that the early malloc region, global data (gd), and early stack usage
46 do not overlap any appended DTB.
Stephen Warren8163faf2018-01-03 14:31:51 -070047
48config LINUX_KERNEL_IMAGE_HEADER
49 bool
50 help
51 Place a Linux kernel image header at the start of the U-Boot binary.
52 The format of the header is described in the Linux kernel source at
53 Documentation/arm64/booting.txt. This feature is useful since the
54 image header reports the amount of memory (BSS and similar) that
55 U-Boot needs to use, but which isn't part of the binary.
56
57if LINUX_KERNEL_IMAGE_HEADER
58config LNX_KRNL_IMG_TEXT_OFFSET_BASE
59 hex
60 help
61 The value subtracted from CONFIG_SYS_TEXT_BASE to calculate the
Robert P. J. Daye852b302019-12-25 06:34:07 -050062 TEXT_OFFSET value written to the Linux kernel image header.
Stephen Warren8163faf2018-01-03 14:31:51 -070063endif
Stephen Warren49e93872017-11-02 18:11:27 -060064endif
65
Bharat Kumar Reddy Gooty0bc43562019-12-16 09:09:43 -080066config GIC_V3_ITS
67 bool "ARM GICV3 ITS"
Rayagonda Kokatanur2ae7adc2020-07-26 22:37:33 +053068 select REGMAP
69 select SYSCON
Wasim Khan504f8642021-03-08 16:48:14 +010070 select IRQ
Bharat Kumar Reddy Gooty0bc43562019-12-16 09:09:43 -080071 help
72 ARM GICV3 Interrupt translation service (ITS).
73 Basic support for programming locality specific peripheral
74 interrupts (LPI) configuration tables and enable LPI tables.
75 LPI configuration table can be used by u-boot or Linux.
76 ARM GICV3 has limitation, once the LPI table is enabled, LPI
77 configuration table can not be re-programmed, unless GICV3 reset.
78
Stephen Warren49e93872017-11-02 18:11:27 -060079config STATIC_RELA
80 bool
Andre Przywaraeabc0902020-09-30 17:39:13 +010081 default y if ARM64
Stephen Warren49e93872017-11-02 18:11:27 -060082
Lokesh Vutla37217f02016-03-24 16:02:00 +053083config DMA_ADDR_T_64BIT
84 bool
85 default y if ARM64
86
Georges Savoundararadj2e07c242014-10-28 23:16:09 +010087config HAS_VBAR
Tom Rinie009bfa2016-08-22 08:22:18 -040088 bool
Georges Savoundararadj2e07c242014-10-28 23:16:09 +010089
Albert ARIBAUD62e92072015-10-23 18:06:40 +020090config HAS_THUMB2
Tom Rinie009bfa2016-08-22 08:22:18 -040091 bool
Albert ARIBAUD62e92072015-10-23 18:06:40 +020092
Phil Edworthy111a6af2017-06-01 07:33:28 +010093# Used for compatibility with asm files copied from the kernel
94config ARM_ASM_UNIFIED
95 bool
96 default y
97
98# Used for compatibility with asm files copied from the kernel
99config THUMB2_KERNEL
100 bool
101
Trevor Woernera0aba8a2019-05-03 09:40:59 -0400102config SYS_ICACHE_OFF
103 bool "Do not enable icache"
104 default n
105 help
106 Do not enable instruction cache in U-Boot.
107
Trevor Woerner10015022019-05-03 09:41:00 -0400108config SPL_SYS_ICACHE_OFF
109 bool "Do not enable icache in SPL"
110 depends on SPL
111 default SYS_ICACHE_OFF
112 help
113 Do not enable instruction cache in SPL.
114
Trevor Woernera0aba8a2019-05-03 09:40:59 -0400115config SYS_DCACHE_OFF
116 bool "Do not enable dcache"
117 default n
118 help
119 Do not enable data cache in U-Boot.
120
Trevor Woerner10015022019-05-03 09:41:00 -0400121config SPL_SYS_DCACHE_OFF
122 bool "Do not enable dcache in SPL"
123 depends on SPL
124 default SYS_DCACHE_OFF
125 help
126 Do not enable data cache in SPL.
127
Lokesh Vutlaf4bcd762018-04-26 18:21:28 +0530128config SYS_ARM_CACHE_CP15
129 bool "CP15 based cache enabling support"
130 help
131 Select this if your processor suports enabling caches by using
132 CP15 registers.
133
Lokesh Vutla7240b802018-04-26 18:21:27 +0530134config SYS_ARM_MMU
135 bool "MMU-based Paged Memory Management Support"
Lokesh Vutlaf4bcd762018-04-26 18:21:28 +0530136 select SYS_ARM_CACHE_CP15
Lokesh Vutla7240b802018-04-26 18:21:27 +0530137 help
138 Select if you want MMU-based virtualised addressing space
Robert P. J. Daye852b302019-12-25 06:34:07 -0500139 support via paged memory management.
Lokesh Vutla7240b802018-04-26 18:21:27 +0530140
Lokesh Vutlaf2ef2042018-04-26 18:21:30 +0530141config SYS_ARM_MPU
142 bool 'Use the ARM v7 PMSA Compliant MPU'
143 help
144 Some ARM systems without an MMU have instead a Memory Protection
145 Unit (MPU) that defines the type and permissions for regions of
146 memory.
147 If your CPU has an MPU then you should choose 'y' here unless you
148 know that you do not want to use the MPU.
149
Tom Rini8dda2e22017-03-07 07:13:42 -0500150# If set, the workarounds for these ARM errata are applied early during U-Boot
151# startup. Note that in general these options force the workarounds to be
152# applied; no CPU-type/version detection exists, unlike the similar options in
153# the Linux kernel. Do not set these options unless they apply! Also note that
Robert P. J. Daye852b302019-12-25 06:34:07 -0500154# the following can be machine-specific errata. These do have ability to
155# provide rudimentary version and machine-specific checks, but expect no
Tom Rini8dda2e22017-03-07 07:13:42 -0500156# product checks:
157# CONFIG_ARM_ERRATA_430973
158# CONFIG_ARM_ERRATA_454179
159# CONFIG_ARM_ERRATA_621766
160# CONFIG_ARM_ERRATA_798870
161# CONFIG_ARM_ERRATA_801819
Nishanth Menon7b37a9c2018-06-12 15:24:08 -0500162# CONFIG_ARM_CORTEX_A8_CVE_2017_5715
Nishanth Menonc2ca3fd2018-06-12 15:24:09 -0500163# CONFIG_ARM_CORTEX_A15_CVE_2017_5715
Nishanth Menon7b37a9c2018-06-12 15:24:08 -0500164
Tom Rini8dda2e22017-03-07 07:13:42 -0500165config ARM_ERRATA_430973
166 bool
167
168config ARM_ERRATA_454179
169 bool
170
171config ARM_ERRATA_621766
172 bool
173
174config ARM_ERRATA_716044
175 bool
176
Siarhei Siamashka19a75b82017-03-06 03:16:53 +0200177config ARM_ERRATA_725233
178 bool
179
Tom Rini8dda2e22017-03-07 07:13:42 -0500180config ARM_ERRATA_742230
181 bool
182
183config ARM_ERRATA_743622
184 bool
185
186config ARM_ERRATA_751472
187 bool
188
189config ARM_ERRATA_761320
190 bool
191
192config ARM_ERRATA_773022
193 bool
194
195config ARM_ERRATA_774769
196 bool
197
198config ARM_ERRATA_794072
199 bool
200
201config ARM_ERRATA_798870
202 bool
203
204config ARM_ERRATA_801819
205 bool
206
207config ARM_ERRATA_826974
208 bool
209
210config ARM_ERRATA_828024
211 bool
212
213config ARM_ERRATA_829520
214 bool
215
216config ARM_ERRATA_833069
217 bool
218
219config ARM_ERRATA_833471
220 bool
221
Peng Fan11d94312017-08-08 13:34:52 +0800222config ARM_ERRATA_845369
Michal Simek6e7bdde2018-07-23 15:55:12 +0200223 bool
Peng Fan11d94312017-08-08 13:34:52 +0800224
Nisal Menuka87763502017-04-26 16:18:01 -0500225config ARM_ERRATA_852421
226 bool
227
228config ARM_ERRATA_852423
229 bool
230
Alison Wangab0ab542017-12-28 13:00:55 +0800231config ARM_ERRATA_855873
232 bool
233
Nishanth Menon7b37a9c2018-06-12 15:24:08 -0500234config ARM_CORTEX_A8_CVE_2017_5715
235 bool
236
Nishanth Menonc2ca3fd2018-06-12 15:24:09 -0500237config ARM_CORTEX_A15_CVE_2017_5715
238 bool
239
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100240config CPU_ARM720T
Tom Rinie009bfa2016-08-22 08:22:18 -0400241 bool
Tom Rini067716b2016-08-22 08:22:17 -0400242 select SYS_CACHE_SHIFT_5
Lokesh Vutla7240b802018-04-26 18:21:27 +0530243 imply SYS_ARM_MMU
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100244
245config CPU_ARM920T
Tom Rinie009bfa2016-08-22 08:22:18 -0400246 bool
Tom Rini067716b2016-08-22 08:22:17 -0400247 select SYS_CACHE_SHIFT_5
Lokesh Vutla7240b802018-04-26 18:21:27 +0530248 imply SYS_ARM_MMU
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100249
250config CPU_ARM926EJS
Tom Rinie009bfa2016-08-22 08:22:18 -0400251 bool
Tom Rini067716b2016-08-22 08:22:17 -0400252 select SYS_CACHE_SHIFT_5
Lokesh Vutla7240b802018-04-26 18:21:27 +0530253 imply SYS_ARM_MMU
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100254
255config CPU_ARM946ES
Tom Rinie009bfa2016-08-22 08:22:18 -0400256 bool
Tom Rini067716b2016-08-22 08:22:17 -0400257 select SYS_CACHE_SHIFT_5
Lokesh Vutla7240b802018-04-26 18:21:27 +0530258 imply SYS_ARM_MMU
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100259
260config CPU_ARM1136
Tom Rinie009bfa2016-08-22 08:22:18 -0400261 bool
Tom Rini067716b2016-08-22 08:22:17 -0400262 select SYS_CACHE_SHIFT_5
Lokesh Vutla7240b802018-04-26 18:21:27 +0530263 imply SYS_ARM_MMU
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100264
265config CPU_ARM1176
Tom Rinie009bfa2016-08-22 08:22:18 -0400266 bool
267 select HAS_VBAR
Tom Rini067716b2016-08-22 08:22:17 -0400268 select SYS_CACHE_SHIFT_5
Lokesh Vutla7240b802018-04-26 18:21:27 +0530269 imply SYS_ARM_MMU
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100270
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530271config CPU_V7A
Tom Rinie009bfa2016-08-22 08:22:18 -0400272 bool
Tom Rinie009bfa2016-08-22 08:22:18 -0400273 select HAS_THUMB2
Michal Simek5ed063d2018-07-23 15:55:13 +0200274 select HAS_VBAR
Tom Rini067716b2016-08-22 08:22:17 -0400275 select SYS_CACHE_SHIFT_6
Lokesh Vutla7240b802018-04-26 18:21:27 +0530276 imply SYS_ARM_MMU
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100277
rev13@wp.pl12d8a722015-03-01 12:44:39 +0100278config CPU_V7M
279 bool
Tom Rinie009bfa2016-08-22 08:22:18 -0400280 select HAS_THUMB2
Lokesh Vutlaf2ef2042018-04-26 18:21:30 +0530281 select SYS_ARM_MPU
Michal Simek5ed063d2018-07-23 15:55:13 +0200282 select SYS_CACHE_SHIFT_5
Tom Riniea37f0b2018-05-07 20:46:52 -0400283 select SYS_THUMB_BUILD
Michal Simek5ed063d2018-07-23 15:55:13 +0200284 select THUMB2_KERNEL
rev13@wp.pl12d8a722015-03-01 12:44:39 +0100285
Michal Simek4bbd6b12018-04-26 18:21:29 +0530286config CPU_V7R
287 bool
288 select HAS_THUMB2
Lokesh Vutlaf2ef2042018-04-26 18:21:30 +0530289 select SYS_ARM_CACHE_CP15
Michal Simek5ed063d2018-07-23 15:55:13 +0200290 select SYS_ARM_MPU
291 select SYS_CACHE_SHIFT_6
Michal Simek4bbd6b12018-04-26 18:21:29 +0530292
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100293config CPU_PXA
Tom Rinie009bfa2016-08-22 08:22:18 -0400294 bool
Tom Rini067716b2016-08-22 08:22:17 -0400295 select SYS_CACHE_SHIFT_5
Lokesh Vutla7240b802018-04-26 18:21:27 +0530296 imply SYS_ARM_MMU
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100297
298config CPU_SA1100
Tom Rinie009bfa2016-08-22 08:22:18 -0400299 bool
Tom Rini067716b2016-08-22 08:22:17 -0400300 select SYS_CACHE_SHIFT_5
Lokesh Vutla7240b802018-04-26 18:21:27 +0530301 imply SYS_ARM_MMU
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100302
303config SYS_CPU
Tom Rinie009bfa2016-08-22 08:22:18 -0400304 default "arm720t" if CPU_ARM720T
305 default "arm920t" if CPU_ARM920T
306 default "arm926ejs" if CPU_ARM926EJS
307 default "arm946es" if CPU_ARM946ES
308 default "arm1136" if CPU_ARM1136
309 default "arm1176" if CPU_ARM1176
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530310 default "armv7" if CPU_V7A
Michal Simek4bbd6b12018-04-26 18:21:29 +0530311 default "armv7" if CPU_V7R
Tom Rinie009bfa2016-08-22 08:22:18 -0400312 default "armv7m" if CPU_V7M
313 default "pxa" if CPU_PXA
314 default "sa1100" if CPU_SA1100
Masahiro Yamada01541ee2014-11-06 11:39:27 +0900315 default "armv8" if ARM64
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100316
Marek Vasut66020a62016-05-26 18:01:36 +0200317config SYS_ARM_ARCH
318 int
319 default 4 if CPU_ARM720T
320 default 4 if CPU_ARM920T
321 default 5 if CPU_ARM926EJS
322 default 5 if CPU_ARM946ES
323 default 6 if CPU_ARM1136
324 default 6 if CPU_ARM1176
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530325 default 7 if CPU_V7A
Marek Vasut66020a62016-05-26 18:01:36 +0200326 default 7 if CPU_V7M
Michal Simek4bbd6b12018-04-26 18:21:29 +0530327 default 7 if CPU_V7R
Marek Vasut66020a62016-05-26 18:01:36 +0200328 default 5 if CPU_PXA
329 default 4 if CPU_SA1100
330 default 8 if ARM64
331
Tom Rini067716b2016-08-22 08:22:17 -0400332config SYS_CACHE_SHIFT_5
333 bool
334
335config SYS_CACHE_SHIFT_6
336 bool
337
338config SYS_CACHE_SHIFT_7
339 bool
340
341config SYS_CACHELINE_SIZE
342 int
343 default 128 if SYS_CACHE_SHIFT_7
344 default 64 if SYS_CACHE_SHIFT_6
345 default 32 if SYS_CACHE_SHIFT_5
346
Patrick Delaunayf8dc7f22020-04-10 16:02:02 +0200347choice
348 prompt "Select the ARM data write cache policy"
349 default SYS_ARM_CACHE_WRITETHROUGH if TARGET_BCMCYGNUS || \
Tom Rinida426462021-02-20 20:05:57 -0500350 CPU_PXA || RZA1
Patrick Delaunayf8dc7f22020-04-10 16:02:02 +0200351 default SYS_ARM_CACHE_WRITEBACK
352
353config SYS_ARM_CACHE_WRITEBACK
354 bool "Write-back (WB)"
355 help
356 A write updates the cache only and marks the cache line as dirty.
357 External memory is updated only when the line is evicted or explicitly
358 cleaned.
359
360config SYS_ARM_CACHE_WRITETHROUGH
361 bool "Write-through (WT)"
362 help
363 A write updates both the cache and the external memory system.
364 This does not mark the cache line as dirty.
365
366config SYS_ARM_CACHE_WRITEALLOC
367 bool "Write allocation (WA)"
368 help
369 A cache line is allocated on a write miss. This means that executing a
370 store instruction on the processor might cause a burst read to occur.
371 There is a linefill to obtain the data for the cache line, before the
372 write is performed.
373endchoice
374
Adam Ford1bf33012019-08-14 08:29:25 -0500375config ARCH_CPU_INIT
376 bool "Enable ARCH_CPU_INIT"
377 help
Robert P. J. Daye852b302019-12-25 06:34:07 -0500378 Some architectures require a call to arch_cpu_init().
Adam Ford1bf33012019-08-14 08:29:25 -0500379 Say Y here to enable it
380
Andre Przywara7842b6a2018-04-12 04:24:46 +0300381config SYS_ARCH_TIMER
382 bool "ARM Generic Timer support"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530383 depends on CPU_V7A || ARM64
Andre Przywara7842b6a2018-04-12 04:24:46 +0300384 default y if ARM64
385 help
386 The ARM Generic Timer (aka arch-timer) provides an architected
387 interface to a timer source on an SoC.
Robert P. J. Daye852b302019-12-25 06:34:07 -0500388 It is mandatory for ARMv8 implementation and widely available
Andre Przywara7842b6a2018-04-12 04:24:46 +0300389 on ARMv7 systems.
390
Masahiro Yamadac54bcf62017-04-14 11:10:23 +0900391config ARM_SMCCC
392 bool "Support for ARM SMC Calling Convention (SMCCC)"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530393 depends on CPU_V7A || ARM64
Masahiro Yamada573a3812017-04-14 11:10:24 +0900394 select ARM_PSCI_FW
Masahiro Yamadac54bcf62017-04-14 11:10:23 +0900395 help
396 Say Y here if you want to enable ARM SMC Calling Convention.
397 This should be enabled if U-Boot needs to communicate with system
398 firmware (for example, PSCI) according to SMCCC.
399
Linus Walleijf91afc42015-01-23 11:50:53 +0100400config SEMIHOSTING
401 bool "support boot from semihosting"
402 help
403 In emulated environments, semihosting is a way for
404 the hosted environment to call out to the emulator to
405 retrieve files from the host machine.
406
Tom Rini3a649402017-03-18 09:01:44 -0400407config SYS_THUMB_BUILD
408 bool "Build U-Boot using the Thumb instruction set"
409 depends on !ARM64
410 help
411 Use this flag to build U-Boot using the Thumb instruction set for
412 ARM architectures. Thumb instruction set provides better code
413 density. For ARM architectures that support Thumb2 this flag will
414 result in Thumb2 code generated by GCC.
415
416config SPL_SYS_THUMB_BUILD
417 bool "Build SPL using the Thumb instruction set"
418 default y if SYS_THUMB_BUILD
Adam Ford05705562019-08-13 14:32:30 -0500419 depends on !ARM64 && SPL
Tom Rini3a649402017-03-18 09:01:44 -0400420 help
421 Use this flag to build SPL using the Thumb instruction set for
422 ARM architectures. Thumb instruction set provides better code
423 density. For ARM architectures that support Thumb2 this flag will
424 result in Thumb2 code generated by GCC.
425
Kever Yang1e32c512019-04-02 20:41:20 +0800426config TPL_SYS_THUMB_BUILD
427 bool "Build TPL using the Thumb instruction set"
428 default y if SYS_THUMB_BUILD
429 depends on TPL && !ARM64
430 help
Robert P. J. Daye852b302019-12-25 06:34:07 -0500431 Use this flag to build TPL using the Thumb instruction set for
Kever Yang1e32c512019-04-02 20:41:20 +0800432 ARM architectures. Thumb instruction set provides better code
433 density. For ARM architectures that support Thumb2 this flag will
434 result in Thumb2 code generated by GCC.
435
436
Peng Fanf3e9bec2015-08-19 15:48:57 +0800437config SYS_L2CACHE_OFF
438 bool "L2cache off"
439 help
Robert P. J. Daye852b302019-12-25 06:34:07 -0500440 If SoC does not support L2CACHE or one does not want to enable
Peng Fanf3e9bec2015-08-19 15:48:57 +0800441 L2CACHE, choose this option.
442
Andre Przywaracdaa6332016-05-31 10:45:06 -0700443config ENABLE_ARM_SOC_BOOT0_HOOK
444 bool "prepare BOOT0 header"
445 help
446 If the SoC's BOOT0 requires a header area filled with (magic)
Simon Goldschmidt7d531e82018-02-13 13:18:00 +0100447 values, then choose this option, and create a file included as
448 <asm/arch/boot0.h> which contains the required assembler code.
Andre Przywaracdaa6332016-05-31 10:45:06 -0700449
Andre Przywara85db5832017-02-16 01:20:21 +0000450config ARM_CORTEX_CPU_IS_UP
451 bool
452 default n
453
Fabio Estevambe725912016-12-15 19:30:40 -0200454config USE_ARCH_MEMCPY
455 bool "Use an assembly optimized implementation of memcpy"
Tom Rini40d55342017-01-12 13:16:02 -0500456 default y
457 depends on !ARM64
458 help
459 Enable the generation of an optimized version of memcpy.
Robert P. J. Daye852b302019-12-25 06:34:07 -0500460 Such an implementation may be faster under some conditions
Tom Rini40d55342017-01-12 13:16:02 -0500461 but may increase the binary size.
462
463config SPL_USE_ARCH_MEMCPY
Andy Yanf8136e62017-06-28 16:27:37 +0800464 bool "Use an assembly optimized implementation of memcpy for SPL"
Tom Rini40d55342017-01-12 13:16:02 -0500465 default y if USE_ARCH_MEMCPY
Adam Ford05705562019-08-13 14:32:30 -0500466 depends on !ARM64 && SPL
Fabio Estevambe725912016-12-15 19:30:40 -0200467 help
468 Enable the generation of an optimized version of memcpy.
Robert P. J. Daye852b302019-12-25 06:34:07 -0500469 Such an implementation may be faster under some conditions
Fabio Estevambe725912016-12-15 19:30:40 -0200470 but may increase the binary size.
471
Kever Yang1e32c512019-04-02 20:41:20 +0800472config TPL_USE_ARCH_MEMCPY
473 bool "Use an assembly optimized implementation of memcpy for TPL"
474 default y if USE_ARCH_MEMCPY
Adam Ford05705562019-08-13 14:32:30 -0500475 depends on !ARM64 && TPL
Kever Yang1e32c512019-04-02 20:41:20 +0800476 help
477 Enable the generation of an optimized version of memcpy.
Robert P. J. Daye852b302019-12-25 06:34:07 -0500478 Such an implementation may be faster under some conditions
Kever Yang1e32c512019-04-02 20:41:20 +0800479 but may increase the binary size.
480
Fabio Estevambe725912016-12-15 19:30:40 -0200481config USE_ARCH_MEMSET
482 bool "Use an assembly optimized implementation of memset"
Tom Rini40d55342017-01-12 13:16:02 -0500483 default y
484 depends on !ARM64
485 help
486 Enable the generation of an optimized version of memset.
Robert P. J. Daye852b302019-12-25 06:34:07 -0500487 Such an implementation may be faster under some conditions
Tom Rini40d55342017-01-12 13:16:02 -0500488 but may increase the binary size.
489
490config SPL_USE_ARCH_MEMSET
Andy Yanf8136e62017-06-28 16:27:37 +0800491 bool "Use an assembly optimized implementation of memset for SPL"
Tom Rini40d55342017-01-12 13:16:02 -0500492 default y if USE_ARCH_MEMSET
Adam Ford05705562019-08-13 14:32:30 -0500493 depends on !ARM64 && SPL
Fabio Estevambe725912016-12-15 19:30:40 -0200494 help
495 Enable the generation of an optimized version of memset.
Robert P. J. Daye852b302019-12-25 06:34:07 -0500496 Such an implementation may be faster under some conditions
Fabio Estevambe725912016-12-15 19:30:40 -0200497 but may increase the binary size.
498
Kever Yang1e32c512019-04-02 20:41:20 +0800499config TPL_USE_ARCH_MEMSET
500 bool "Use an assembly optimized implementation of memset for TPL"
501 default y if USE_ARCH_MEMSET
Adam Ford05705562019-08-13 14:32:30 -0500502 depends on !ARM64 && TPL
Kever Yang1e32c512019-04-02 20:41:20 +0800503 help
504 Enable the generation of an optimized version of memset.
Robert P. J. Daye852b302019-12-25 06:34:07 -0500505 Such an implementation may be faster under some conditions
Kever Yang1e32c512019-04-02 20:41:20 +0800506 but may increase the binary size.
507
Alison Wangec6617c2016-11-10 10:49:03 +0800508config ARM64_SUPPORT_AARCH32
509 bool "ARM64 system support AArch32 execution state"
Adam Ford05705562019-08-13 14:32:30 -0500510 depends on ARM64
511 default y if !TARGET_THUNDERX_88XX
Alison Wangec6617c2016-11-10 10:49:03 +0800512 help
513 This ARM64 system supports AArch32 execution state.
514
Masahiro Yamadadd840582014-07-30 14:08:14 +0900515choice
516 prompt "Target select"
Simon Glassb928e652015-08-30 19:19:30 -0600517 default TARGET_HIKEY
Masahiro Yamadadd840582014-07-30 14:08:14 +0900518
Masahiro Yamada4614b892015-02-20 17:04:01 +0900519config ARCH_AT91
520 bool "Atmel AT91"
Tom Rinif58e9462018-05-10 07:15:52 -0400521 select SPL_BOARD_INIT if SPL && !TARGET_SMARTWEB
Gregory CLEMENTc7c120c2020-06-05 10:43:36 +0200522 select SPL_SEPARATE_BSS if SPL
Masahiro Yamadadd840582014-07-30 14:08:14 +0900523
524config TARGET_EDB93XX
525 bool "Support edb93xx"
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100526 select CPU_ARM920T
Alexander Graf884f9012018-01-25 12:05:50 +0100527 select PL010_SERIAL
Masahiro Yamadadd840582014-07-30 14:08:14 +0900528
Masahiro Yamadadd840582014-07-30 14:08:14 +0900529config TARGET_ASPENITE
530 bool "Support aspenite"
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100531 select CPU_ARM926EJS
Masahiro Yamadadd840582014-07-30 14:08:14 +0900532
533config TARGET_GPLUGD
534 bool "Support gplugd"
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100535 select CPU_ARM926EJS
Masahiro Yamadadd840582014-07-30 14:08:14 +0900536
Masahiro Yamada3491ba62014-08-31 07:11:01 +0900537config ARCH_DAVINCI
538 bool "TI DaVinci"
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100539 select CPU_ARM926EJS
Lukasz Majewski56c40462020-06-04 23:11:53 +0800540 select SPL_DM_SPI if SPL
Simon Glass15dc63d2017-08-04 16:34:43 -0600541 imply CMD_SAVES
Masahiro Yamada3491ba62014-08-31 07:11:01 +0900542 help
543 Support for TI's DaVinci platform.
Masahiro Yamadadd840582014-07-30 14:08:14 +0900544
Trevor Woernerbb0fb4c2020-05-06 08:02:40 -0400545config ARCH_KIRKWOOD
Masahiro Yamada47539e22014-08-31 07:10:59 +0900546 bool "Marvell Kirkwood"
Simon Glass45856012017-01-23 13:31:21 -0700547 select ARCH_MISC_INIT
Michal Simek5ed063d2018-07-23 15:55:13 +0200548 select BOARD_EARLY_INIT_F
549 select CPU_ARM926EJS
Masahiro Yamadadd840582014-07-30 14:08:14 +0900550
Stefan Roesec3d89142015-08-25 13:18:38 +0200551config ARCH_MVEBU
Stefan Roese21b29fc2016-05-25 08:13:45 +0200552 bool "Marvell MVEBU family (Armada XP/375/38x/3700/7K/8K)"
Stefan Roese9cffb232015-09-01 11:27:52 +0200553 select DM
Stefan Roesee3b9c982015-11-19 07:46:15 +0100554 select DM_ETH
Stefan Roese1d51ea12015-09-02 08:41:41 +0200555 select DM_SERIAL
Stefan Roese09a54c02015-11-20 13:51:57 +0100556 select DM_SPI
557 select DM_SPI_FLASH
Lukasz Majewski56c40462020-06-04 23:11:53 +0800558 select SPL_DM_SPI if SPL
559 select SPL_DM_SPI_FLASH if SPL
Michal Simek5ed063d2018-07-23 15:55:13 +0200560 select OF_CONTROL
561 select OF_SEPARATE
Adam Fordf1b1f772018-04-15 13:51:26 -0400562 select SPI
Michal Simek08a00cb2018-07-23 15:55:14 +0200563 imply CMD_DM
Stefan Roesea4884832014-10-22 12:13:19 +0200564
Trevor Woernerb16a3312020-05-06 08:02:38 -0400565config ARCH_ORION5X
Masahiro Yamada22f2be72014-08-31 07:11:06 +0900566 bool "Marvell Orion"
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100567 select CPU_ARM926EJS
Masahiro Yamadadd840582014-07-30 14:08:14 +0900568
Masahiro Yamadadd840582014-07-30 14:08:14 +0900569config TARGET_SPEAR300
570 bool "Support spear300"
Simon Glassa5d67542017-01-23 13:31:20 -0700571 select BOARD_EARLY_INIT_F
Michal Simek5ed063d2018-07-23 15:55:13 +0200572 select CPU_ARM926EJS
Alexander Grafd10fc502018-01-25 12:05:51 +0100573 select PL011_SERIAL
Michal Simek5ed063d2018-07-23 15:55:13 +0200574 imply CMD_SAVES
Masahiro Yamadadd840582014-07-30 14:08:14 +0900575
576config TARGET_SPEAR310
577 bool "Support spear310"
Simon Glassa5d67542017-01-23 13:31:20 -0700578 select BOARD_EARLY_INIT_F
Michal Simek5ed063d2018-07-23 15:55:13 +0200579 select CPU_ARM926EJS
Alexander Grafd10fc502018-01-25 12:05:51 +0100580 select PL011_SERIAL
Michal Simek5ed063d2018-07-23 15:55:13 +0200581 imply CMD_SAVES
Masahiro Yamadadd840582014-07-30 14:08:14 +0900582
583config TARGET_SPEAR320
584 bool "Support spear320"
Simon Glassa5d67542017-01-23 13:31:20 -0700585 select BOARD_EARLY_INIT_F
Michal Simek5ed063d2018-07-23 15:55:13 +0200586 select CPU_ARM926EJS
Alexander Grafd10fc502018-01-25 12:05:51 +0100587 select PL011_SERIAL
Michal Simek5ed063d2018-07-23 15:55:13 +0200588 imply CMD_SAVES
Masahiro Yamadadd840582014-07-30 14:08:14 +0900589
590config TARGET_SPEAR600
591 bool "Support spear600"
Simon Glassa5d67542017-01-23 13:31:20 -0700592 select BOARD_EARLY_INIT_F
Michal Simek5ed063d2018-07-23 15:55:13 +0200593 select CPU_ARM926EJS
Alexander Grafd10fc502018-01-25 12:05:51 +0100594 select PL011_SERIAL
Michal Simek5ed063d2018-07-23 15:55:13 +0200595 imply CMD_SAVES
Masahiro Yamadadd840582014-07-30 14:08:14 +0900596
Vikas Manocha9fa32b12014-11-18 10:42:22 -0800597config TARGET_STV0991
598 bool "Support stv0991"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530599 select CPU_V7A
Masahiro Yamadacac0ca72015-03-31 12:48:01 +0900600 select DM
601 select DM_SERIAL
Vikas Manochae67abca2015-07-02 18:29:41 -0700602 select DM_SPI
603 select DM_SPI_FLASH
Michal Simek5ed063d2018-07-23 15:55:13 +0200604 select PL01X_SERIAL
Adam Fordf1b1f772018-04-15 13:51:26 -0400605 select SPI
Vikas Manochae67abca2015-07-02 18:29:41 -0700606 select SPI_FLASH
Michal Simek08a00cb2018-07-23 15:55:14 +0200607 imply CMD_DM
Vikas Manocha9fa32b12014-11-18 10:42:22 -0800608
Masahiro Yamadadd840582014-07-30 14:08:14 +0900609config TARGET_X600
610 bool "Support x600"
Tom Rinie5ec4812017-01-22 19:43:11 -0500611 select BOARD_LATE_INIT
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100612 select CPU_ARM926EJS
Alexander Grafd10fc502018-01-25 12:05:51 +0100613 select PL011_SERIAL
Michal Simek5ed063d2018-07-23 15:55:13 +0200614 select SUPPORT_SPL
Masahiro Yamadadd840582014-07-30 14:08:14 +0900615
Masahiro Yamadadd840582014-07-30 14:08:14 +0900616config TARGET_FLEA3
617 bool "Support flea3"
Georges Savoundararadj2e07c242014-10-28 23:16:09 +0100618 select CPU_ARM1136
Masahiro Yamadadd840582014-07-30 14:08:14 +0900619
Masahiro Yamadaddf6bd42015-03-19 19:42:56 +0900620config ARCH_BCM283X
621 bool "Broadcom BCM283X family"
Masahiro Yamada58d423b2015-03-31 12:47:53 +0900622 select DM
Masahiro Yamada58d423b2015-03-31 12:47:53 +0900623 select DM_GPIO
Michal Simek5ed063d2018-07-23 15:55:13 +0200624 select DM_SERIAL
Fabian Vogt76709092016-09-26 14:26:51 +0200625 select OF_CONTROL
Alexander Grafcf2c7782018-01-25 12:05:52 +0100626 select PL01X_SERIAL
Alexander Grafae5326a2018-01-29 13:57:20 +0100627 select SERIAL_SEARCH_ALL
Michal Simek08a00cb2018-07-23 15:55:14 +0200628 imply CMD_DM
Tom Rini91d27a12017-06-02 11:03:50 -0400629 imply FAT_WRITE
Stephen Warren46414292015-02-16 12:16:15 -0700630
Philippe Reynesea1a7de2019-01-31 18:57:35 +0100631config ARCH_BCM63158
632 bool "Broadcom BCM63158 family"
633 select DM
634 select OF_CONTROL
635 imply CMD_DM
636
Philippe Reynes6454e952020-01-07 20:14:10 +0100637config ARCH_BCM68360
638 bool "Broadcom BCM68360 family"
639 select DM
640 select OF_CONTROL
641 imply CMD_DM
642
Philippe Reynes40b59b02018-10-11 18:31:58 +0200643config ARCH_BCM6858
644 bool "Broadcom BCM6858 family"
645 select DM
646 select OF_CONTROL
647 imply CMD_DM
648
Thomas Fitzsimmons894c3ad2018-06-08 17:59:45 -0400649config ARCH_BCMSTB
650 bool "Broadcom BCM7XXX family"
651 select CPU_V7A
652 select DM
653 select OF_CONTROL
654 select OF_PRIOR_STAGE
Michal Simek08a00cb2018-07-23 15:55:14 +0200655 imply CMD_DM
Thomas Fitzsimmons894c3ad2018-06-08 17:59:45 -0400656 help
657 This enables support for Broadcom ARM-based set-top box
658 chipsets, including the 7445 family of chips.
659
Steve Raeabb16782014-11-11 11:32:18 -0800660config TARGET_BCMCYGNUS
661 bool "Support bcmcygnus"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530662 select CPU_V7A
Michal Simek5ed063d2018-07-23 15:55:13 +0200663 imply BCM_SF2_ETH
664 imply BCM_SF2_ETH_GMAC
Simon Glass551c3932017-05-17 03:25:25 -0600665 imply CMD_HASH
Michal Simek5ed063d2018-07-23 15:55:13 +0200666 imply CRC32_VERIFY
Tom Rini91d27a12017-06-02 11:03:50 -0400667 imply FAT_WRITE
Daniel Thompson221a9492017-05-19 17:26:58 +0100668 imply HASH_VERIFY
Suji Velupillaic89782d2017-07-10 14:05:41 -0700669 imply NETDEVICES
Steve Rae9dec5272014-08-11 13:58:26 -0700670
Jon Mason274bced2017-03-17 12:12:14 -0400671config TARGET_BCMNS2
672 bool "Support Broadcom Northstar2"
673 select ARM64
674 help
675 Support for Broadcom Northstar 2 SoCs. NS2 is a quad-core 64-bit
676 ARMv8 Cortex-A57 processors targeting a broad range of networking
Robert P. J. Daye852b302019-12-25 06:34:07 -0500677 applications.
Jon Mason274bced2017-03-17 12:12:14 -0400678
Rayagonda Kokatanur291635a2020-07-15 22:48:55 +0530679config TARGET_BCMNS3
680 bool "Support Broadcom NS3"
681 select ARM64
682 select BOARD_LATE_INIT
683 help
684 Support for Broadcom Northstar 3 SoCs. NS3 is a octo-core 64-bit
685 ARMv8 Cortex-A72 processors targeting a broad range of networking
686 applications.
687
Masahiro Yamada72df68c2014-08-31 07:11:00 +0900688config ARCH_EXYNOS
689 bool "Samsung EXYNOS"
Masahiro Yamada58d423b2015-03-31 12:47:53 +0900690 select DM
Michal Simek5ed063d2018-07-23 15:55:13 +0200691 select DM_GPIO
Simon Glassfc47cf92016-11-23 06:34:40 -0700692 select DM_I2C
Michal Simek5ed063d2018-07-23 15:55:13 +0200693 select DM_KEYBOARD
Masahiro Yamada58d423b2015-03-31 12:47:53 +0900694 select DM_SERIAL
695 select DM_SPI
Michal Simek5ed063d2018-07-23 15:55:13 +0200696 select DM_SPI_FLASH
Adam Fordf1b1f772018-04-15 13:51:26 -0400697 select SPI
Guillaume GARDETc96d9032018-11-20 14:15:13 +0100698 imply SYS_THUMB_BUILD
Michal Simek08a00cb2018-07-23 15:55:14 +0200699 imply CMD_DM
Tom Rini91d27a12017-06-02 11:03:50 -0400700 imply FAT_WRITE
Masahiro Yamadadd840582014-07-30 14:08:14 +0900701
Simon Glass311757b2014-10-07 22:01:50 -0600702config ARCH_S5PC1XX
703 bool "Samsung S5PC1XX"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530704 select CPU_V7A
Masahiro Yamada58d423b2015-03-31 12:47:53 +0900705 select DM
Masahiro Yamada58d423b2015-03-31 12:47:53 +0900706 select DM_GPIO
Simon Glass08848e92016-11-23 06:34:41 -0700707 select DM_I2C
Michal Simek5ed063d2018-07-23 15:55:13 +0200708 select DM_SERIAL
Michal Simek08a00cb2018-07-23 15:55:14 +0200709 imply CMD_DM
Simon Glass311757b2014-10-07 22:01:50 -0600710
Masahiro Yamadaef2b6942014-08-31 07:11:07 +0900711config ARCH_HIGHBANK
712 bool "Calxeda Highbank"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530713 select CPU_V7A
Andre Przywara109552d2021-04-12 01:04:51 +0100714 select PL01X_SERIAL
715 select DM
716 select DM_SERIAL
717 select OF_CONTROL
718 select OF_BOARD
719 select CLK
720 select CLK_CCF
721 select AHCI
Andre Przywaradebb07b2021-04-12 01:04:52 +0100722 select DM_ETH
Andre Przywara1238d012021-04-12 01:04:54 +0100723 select PHYS_64BIT
Masahiro Yamadadd840582014-07-30 14:08:14 +0900724
Masahiro Yamada5cbbd9b2015-04-21 21:59:36 +0900725config ARCH_INTEGRATOR
726 bool "ARM Ltd. Integrator family"
Linus Walleij3f394e72015-07-27 11:22:48 +0200727 select DM
728 select DM_SERIAL
Alexander Grafcf2c7782018-01-25 12:05:52 +0100729 select PL01X_SERIAL
Michal Simek08a00cb2018-07-23 15:55:14 +0200730 imply CMD_DM
Masahiro Yamada5cbbd9b2015-04-21 21:59:36 +0900731
Robert Markoe479a7d2020-07-06 10:37:54 +0200732config ARCH_IPQ40XX
733 bool "Qualcomm IPQ40xx SoCs"
734 select CPU_V7A
735 select DM
736 select DM_GPIO
737 select DM_SERIAL
Robert Marko496a3aa2020-09-10 16:00:03 +0200738 select DM_RESET
Robert Marko6ef099b2020-09-10 16:00:01 +0200739 select MSM_SMEM
Robert Markoe479a7d2020-07-06 10:37:54 +0200740 select PINCTRL
741 select CLK
Robert Marko6ef099b2020-09-10 16:00:01 +0200742 select SMEM
Robert Markoe479a7d2020-07-06 10:37:54 +0200743 select OF_CONTROL
744 imply CMD_DM
745
Masahiro Yamadac338f092014-08-31 07:11:05 +0900746config ARCH_KEYSTONE
747 bool "TI Keystone"
Michal Simek5ed063d2018-07-23 15:55:13 +0200748 select CMD_POWEROFF
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530749 select CPU_V7A
Masahiro Yamada02627352014-10-20 17:45:56 +0900750 select SUPPORT_SPL
Andre Przywara7842b6a2018-04-12 04:24:46 +0300751 select SYS_ARCH_TIMER
Michal Simek5ed063d2018-07-23 15:55:13 +0200752 select SYS_THUMB_BUILD
Tom Rinid56b4b12017-07-22 18:36:16 -0400753 imply CMD_MTDPARTS
Simon Glass15dc63d2017-08-04 16:34:43 -0600754 imply CMD_SAVES
Michal Simek5ed063d2018-07-23 15:55:13 +0200755 imply FIT
Masahiro Yamadadd840582014-07-30 14:08:14 +0900756
Lokesh Vutla586bde92018-08-27 15:57:08 +0530757config ARCH_K3
758 bool "Texas Instruments' K3 Architecture"
759 select SPL
760 select SUPPORT_SPL
761 select FIT
762
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +0900763config ARCH_OMAP2PLUS
764 bool "TI OMAP2+"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530765 select CPU_V7A
Ley Foon Tan0680f1b2017-05-03 17:13:32 +0800766 select SPL_BOARD_INIT if SPL
Tom Riniff6c3122017-09-17 11:44:49 -0400767 select SPL_STACK_R if SPL
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +0900768 select SUPPORT_SPL
Dario Binacchi92cc4e12020-12-30 00:06:29 +0100769 imply TI_SYSC if DM && OF_CONTROL
Masahiro Yamadaa93fbf4a2017-04-25 13:10:11 +0900770 imply FIT
771
Beniamino Galvanibfcef282016-05-08 08:30:16 +0200772config ARCH_MESON
773 bool "Amlogic Meson"
Masahiro Yamada7325f6c2018-04-25 18:47:52 +0900774 imply DISTRO_DEFAULTS
Heinrich Schuchardt6da749d2020-04-05 12:20:23 +0200775 imply DM_RNG
Beniamino Galvanibfcef282016-05-08 08:30:16 +0200776 help
777 Support for the Meson SoC family developed by Amlogic Inc.,
778 targeted at media players and tablet computers. We currently
779 support the S905 (GXBaby) 64-bit SoC.
780
Ryder Leecbd2fba2018-11-15 10:07:52 +0800781config ARCH_MEDIATEK
782 bool "MediaTek SoCs"
Ryder Leecbd2fba2018-11-15 10:07:52 +0800783 select DM
784 select OF_CONTROL
785 select SPL_DM if SPL
786 select SPL_LIBCOMMON_SUPPORT if SPL
787 select SPL_LIBGENERIC_SUPPORT if SPL
788 select SPL_OF_CONTROL if SPL
789 select SUPPORT_SPL
790 help
791 Support for the MediaTek SoCs family developed by MediaTek Inc.
792 Please refer to doc/README.mediatek for more information.
793
Vladimir Zapolskiyee54dfe2018-09-17 21:43:03 +0300794config ARCH_LPC32XX
795 bool "NXP LPC32xx platform"
796 select CPU_ARM926EJS
797 select DM
798 select DM_GPIO
799 select DM_SERIAL
800 select SPL_DM if SPL
801 select SUPPORT_SPL
802 imply CMD_DM
803
Peng Fanb2b8b9b2018-10-18 14:28:08 +0200804config ARCH_IMX8
805 bool "NXP i.MX8 platform"
806 select ARM64
807 select DM
808 select OF_CONTROL
Ye Li9a273852019-07-12 09:33:52 +0000809 select ENABLE_ARM_SOC_BOOT0_HOOK
Peng Fanb2b8b9b2018-10-18 14:28:08 +0200810
Peng Fancd357ad2018-11-20 10:19:25 +0000811config ARCH_IMX8M
Peng Fan7a7391f2018-01-10 13:20:19 +0800812 bool "NXP i.MX8M platform"
813 select ARM64
Aymen Sghaier940d36d2021-03-25 17:30:25 +0800814 select SYS_FSL_HAS_SEC if IMX_HAB
815 select SYS_FSL_SEC_COMPAT_4
816 select SYS_FSL_SEC_LE
Peng Fan7a7391f2018-01-10 13:20:19 +0800817 select DM
818 select SUPPORT_SPL
Michal Simek08a00cb2018-07-23 15:55:14 +0200819 imply CMD_DM
Peng Fan7a7391f2018-01-10 13:20:19 +0800820
Giulio Benetti77eb9a92020-01-10 15:51:47 +0100821config ARCH_IMXRT
822 bool "NXP i.MXRT platform"
823 select CPU_V7M
824 select DM
825 select DM_SERIAL
826 select SUPPORT_SPL
827 imply CMD_DM
828
Stefan Agnerc5343d42018-02-06 09:44:34 +0100829config ARCH_MX23
830 bool "NXP i.MX23 family"
831 select CPU_ARM926EJS
832 select PL011_SERIAL
833 select SUPPORT_SPL
834
Fabio Estevam07df6972017-11-03 13:40:08 -0200835config ARCH_MX25
836 bool "NXP MX25"
837 select CPU_ARM926EJS
Adam Ford8bbff6a2018-02-04 09:32:43 -0600838 imply MXC_GPIO
Fabio Estevam07df6972017-11-03 13:40:08 -0200839
Stefan Agner25c5b4e2018-02-06 09:44:35 +0100840config ARCH_MX28
841 bool "NXP i.MX28 family"
842 select CPU_ARM926EJS
843 select PL011_SERIAL
844 select SUPPORT_SPL
845
Magnus Lilja3159ec62018-05-11 14:06:54 +0200846config ARCH_MX31
847 bool "NXP i.MX31 family"
848 select CPU_ARM1136
849
Peng Fane90a08d2017-02-22 16:21:39 +0800850config ARCH_MX7ULP
Michal Simek6e7bdde2018-07-23 15:55:12 +0200851 bool "NXP MX7ULP"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530852 select CPU_V7A
Franck LENORMANDb5438002021-03-25 17:30:23 +0800853 select SYS_FSL_HAS_SEC if IMX_HAB
854 select SYS_FSL_SEC_COMPAT_4
855 select SYS_FSL_SEC_LE
Peng Fane90a08d2017-02-22 16:21:39 +0800856 select ROM_UNIFIED_SECTIONS
Adam Ford8bbff6a2018-02-04 09:32:43 -0600857 imply MXC_GPIO
Tom Rini44ad4962019-12-03 09:28:03 -0500858 imply SYS_THUMB_BUILD
Peng Fane90a08d2017-02-22 16:21:39 +0800859
Adrian Alonso1a8150d2015-09-03 11:49:28 -0500860config ARCH_MX7
861 bool "Freescale MX7"
Michal Simek5ed063d2018-07-23 15:55:13 +0200862 select ARCH_MISC_INIT
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530863 select CPU_V7A
Stefano Babicd714a752019-09-20 08:47:53 +0200864 select SYS_FSL_HAS_SEC if IMX_HAB
York Sun2c2e2c92016-12-28 08:43:30 -0800865 select SYS_FSL_SEC_COMPAT_4
York Sun90b80382016-12-28 08:43:31 -0800866 select SYS_FSL_SEC_LE
Marek Vasut72041602020-05-22 01:13:00 +0200867 imply BOARD_EARLY_INIT_F
Adam Ford8bbff6a2018-02-04 09:32:43 -0600868 imply MXC_GPIO
Tom Rini44ad4962019-12-03 09:28:03 -0500869 imply SYS_THUMB_BUILD
Adrian Alonso1a8150d2015-09-03 11:49:28 -0500870
Boris BREZILLON89ebc822015-03-04 13:13:03 +0100871config ARCH_MX6
872 bool "Freescale MX6"
Lokesh Vutlaacf15002018-04-26 18:21:26 +0530873 select CPU_V7A
Heinrich Schuchardt90865612020-06-26 19:57:55 +0200874 select SYS_FSL_HAS_SEC
York Sun2c2e2c92016-12-28 08:43:30 -0800875 select SYS_FSL_SEC_COMPAT_4
York Sun90b80382016-12-28 08:43:31 -0800876 select SYS_FSL_SEC_LE
Adam Ford8bbff6a2018-02-04 09:32:43 -0600877 imply MXC_GPIO
Tom Rini44ad4962019-12-03 09:28:03 -0500878 imply SYS_THUMB_BUILD
Boris BREZILLON89ebc822015-03-04 13:13:03 +0100879
Philipp Tomsichb5299932017-08-03 23:23:55 +0200880if ARCH_MX6
881config SPL_LDSCRIPT
Michal Simek6e7bdde2018-07-23 15:55:12 +0200882 default "arch/arm/mach-omap2/u-boot-spl.lds"
Philipp Tomsichb5299932017-08-03 23:23:55 +0200883endif
884
Andrej Rosano424ee3d2015-04-08 18:56:29 +0200885config ARCH_MX5
886 bool "Freescale MX5"
Simon Glassa5d67542017-01-23 13:31:20 -0700887 select BOARD_EARLY_INIT_F
Michal Simek5ed063d2018-07-23 15:55:13 +0200888 select CPU_V7A
Adam Ford8bbff6a2018-02-04 09:32:43 -0600889 imply MXC_GPIO
Andrej Rosano424ee3d2015-04-08 18:56:29 +0200890
Stefan Bosch95e9a8e2020-07-10 19:07:26 +0200891config ARCH_NEXELL
892 bool "Nexell S5P4418/S5P6818 SoC"
893 select ENABLE_ARM_SOC_BOOT0_HOOK
894 select DM
895
Manivannan Sadhasivam97775d22018-06-14 23:38:31 +0530896config ARCH_OWL
897 bool "Actions Semi OWL SoCs"
Manivannan Sadhasivam97775d22018-06-14 23:38:31 +0530898 select DM
Amit Singh Tomarcd2baaf2020-05-09 19:55:14 +0530899 select DM_ETH
Manivannan Sadhasivam97775d22018-06-14 23:38:31 +0530900 select DM_SERIAL
Amit Singh Tomarb1a6bb32020-04-19 19:28:25 +0530901 select OWL_SERIAL
Amit Singh Tomar8b520ac2020-04-19 19:28:30 +0530902 select CLK
903 select CLK_OWL
Manivannan Sadhasivam97775d22018-06-14 23:38:31 +0530904 select OF_CONTROL
Tom Rini36c2f022020-05-01 10:52:11 -0400905 select SYS_RELOC_GD_ENV_ADDR
Michal Simek08a00cb2018-07-23 15:55:14 +0200906 imply CMD_DM
Manivannan Sadhasivam97775d22018-06-14 23:38:31 +0530907
Tuomas Tynkkynen32f11822017-09-19 23:18:07 +0300908config ARCH_QEMU
909 bool "QEMU Virtual Platform"
Tuomas Tynkkynen32f11822017-09-19 23:18:07 +0300910 select DM
911 select DM_SERIAL
912 select OF_CONTROL
Alexander Grafcf2c7782018-01-25 12:05:52 +0100913 select PL01X_SERIAL
Michal Simek08a00cb2018-07-23 15:55:14 +0200914 imply CMD_DM
Heinrich Schuchardt684710d2020-09-19 07:55:35 +0200915 imply DM_RNG
AKASHI Takahiroa47c1b52018-09-14 17:06:54 +0900916 imply DM_RTC
917 imply RTC_PL031
Tuomas Tynkkynen32f11822017-09-19 23:18:07 +0300918
Nobuhiro Iwamatsu1cc95f62015-10-10 05:58:28 +0900919config ARCH_RMOBILE
Masahiro Yamadaf40b9892014-08-31 07:10:57 +0900920 bool "Renesas ARM SoCs"
Nobuhiro Iwamatsu1cc95f62015-10-10 05:58:28 +0900921 select DM
922 select DM_SERIAL
Biju Das5157b012020-09-22 13:06:49 +0100923 imply BOARD_EARLY_INIT_F
Michal Simek08a00cb2018-07-23 15:55:14 +0200924 imply CMD_DM
Tom Rini91d27a12017-06-02 11:03:50 -0400925 imply FAT_WRITE
Tom Rini3a649402017-03-18 09:01:44 -0400926 imply SYS_THUMB_BUILD
Marek Vasut00e4b572018-12-03 13:28:25 +0100927 imply ARCH_MISC_INIT if DISPLAY_CPUINFO
Masahiro Yamadadd840582014-07-30 14:08:14 +0900928
Mateusz Kulikowski08592132016-03-31 23:12:32 +0200929config ARCH_SNAPDRAGON
930 bool "Qualcomm Snapdragon SoCs"
931 select ARM64
932 select DM
933 select DM_GPIO
934 select DM_SERIAL
Michal Simek5ed063d2018-07-23 15:55:13 +0200935 select MSM_SMEM
Mateusz Kulikowski08592132016-03-31 23:12:32 +0200936 select OF_CONTROL
937 select OF_SEPARATE
Ramon Fried654dd4a2018-07-02 02:57:56 +0300938 select SMEM
Michal Simek5ed063d2018-07-23 15:55:13 +0200939 select SPMI
Michal Simek08a00cb2018-07-23 15:55:14 +0200940 imply CMD_DM
Mateusz Kulikowski08592132016-03-31 23:12:32 +0200941
Masahiro Yamada7865f4b2015-04-21 20:38:20 +0900942config ARCH_SOCFPGA
943 bool "Altera SOCFPGA family"
Simon Glassa4211922017-01-23 13:31:19 -0700944 select ARCH_EARLY_INIT_R
Marek Vasutd6a61da2018-08-13 20:06:46 +0200945 select ARCH_MISC_INIT if !TARGET_SOCFPGA_ARRIA10
Siew Chin Lim9a5bbdf2021-03-01 20:04:10 +0800946 select ARM64 if TARGET_SOCFPGA_SOC64
Ley Foon Tana6847292018-05-24 00:17:32 +0800947 select CPU_V7A if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
Marek Vasut48befc02018-05-11 22:25:59 +0200948 select DM
Marek Vasut73172752018-05-11 22:26:35 +0200949 select DM_SERIAL
Ley Foon Tana6847292018-05-24 00:17:32 +0800950 select ENABLE_ARM_SOC_BOOT0_HOOK if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
Marek Vasut48befc02018-05-11 22:25:59 +0200951 select OF_CONTROL
Ley Foon Tan00057ee2018-07-13 13:40:23 +0800952 select SPL_DM_RESET if DM_RESET
Michal Simek5ed063d2018-07-23 15:55:13 +0200953 select SPL_DM_SERIAL
Marek Vasut48befc02018-05-11 22:25:59 +0200954 select SPL_LIBCOMMON_SUPPORT
Marek Vasut48befc02018-05-11 22:25:59 +0200955 select SPL_LIBGENERIC_SUPPORT
Marek Vasut48befc02018-05-11 22:25:59 +0200956 select SPL_NAND_SUPPORT if SPL_NAND_DENALI
957 select SPL_OF_CONTROL
Siew Chin Lim9a5bbdf2021-03-01 20:04:10 +0800958 select SPL_SEPARATE_BSS if TARGET_SOCFPGA_SOC64
Marek Vasut48befc02018-05-11 22:25:59 +0200959 select SPL_SERIAL_SUPPORT
Simon Goldschmidtef72ba02019-07-15 21:47:55 +0200960 select SPL_SYSRESET
Marek Vasut48befc02018-05-11 22:25:59 +0200961 select SPL_WATCHDOG_SUPPORT
962 select SUPPORT_SPL
Marek Vasut73172752018-05-11 22:26:35 +0200963 select SYS_NS16550
Ley Foon Tana6847292018-05-24 00:17:32 +0800964 select SYS_THUMB_BUILD if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
Simon Goldschmidtef72ba02019-07-15 21:47:55 +0200965 select SYSRESET
966 select SYSRESET_SOCFPGA if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
Siew Chin Lim9a5bbdf2021-03-01 20:04:10 +0800967 select SYSRESET_SOCFPGA_SOC64 if TARGET_SOCFPGA_SOC64
Michal Simek08a00cb2018-07-23 15:55:14 +0200968 imply CMD_DM
Tom Rinid56b4b12017-07-22 18:36:16 -0400969 imply CMD_MTDPARTS
Daniel Thompson221a9492017-05-19 17:26:58 +0100970 imply CRC32_VERIFY
Simon Goldschmidtfef4a542018-02-13 06:34:14 +0100971 imply DM_SPI
972 imply DM_SPI_FLASH
Tom Rini91d27a12017-06-02 11:03:50 -0400973 imply FAT_WRITE
Simon Goldschmidtaef44282019-04-09 21:02:05 +0200974 imply SPL
975 imply SPL_DM
Lukasz Majewski56c40462020-06-04 23:11:53 +0800976 imply SPL_DM_SPI
977 imply SPL_DM_SPI_FLASH
Simon Goldschmidta9024dc2018-11-29 21:17:08 +0100978 imply SPL_LIBDISK_SUPPORT
979 imply SPL_MMC_SUPPORT
Simon Goldschmidtfef4a542018-02-13 06:34:14 +0100980 imply SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION
Simon Goldschmidtf48db4e2018-10-30 20:21:49 +0100981 imply SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION_TYPE
Simon Goldschmidta9024dc2018-11-29 21:17:08 +0100982 imply SPL_SPI_FLASH_SUPPORT
983 imply SPL_SPI_SUPPORT
Dinh Nguyenaaa64802019-04-23 16:55:06 -0500984 imply L2X0_CACHE
Masahiro Yamadadd840582014-07-30 14:08:14 +0900985
Ian Campbell2c7e3b92014-10-24 21:20:44 +0100986config ARCH_SUNXI
987 bool "Support sunxi (Allwinner) SoCs"
Masahiro Yamadad6a0c782017-10-17 13:42:44 +0900988 select BINMAN
Hans de Goede88bb8002016-04-03 09:41:44 +0200989 select CMD_GPIO
Hans de Goede0878a8a2016-05-15 13:51:58 +0200990 select CMD_MMC if MMC
Yann E. MORIN2997ee52016-10-31 22:33:40 +0100991 select CMD_USB if DISTRO_DEFAULTS
Jagan Tekie236ff02019-01-11 16:40:20 +0530992 select CLK
Hans de Goedeb6006ba2015-04-15 20:46:48 +0200993 select DM
Tom Rini45368822015-06-30 16:51:15 -0400994 select DM_ETH
Hans de Goede211d57a2015-12-21 20:22:00 +0100995 select DM_GPIO
996 select DM_KEYBOARD
Jagan Tekibb3362b2019-04-12 16:48:25 +0530997 select DM_MMC if MMC
998 select DM_SCSI if SCSI
Tom Rini45368822015-06-30 16:51:15 -0400999 select DM_SERIAL
Yann E. MORIN2997ee52016-10-31 22:33:40 +01001000 select DM_USB if DISTRO_DEFAULTS
Hans de Goeded75111a2016-03-22 22:51:52 +01001001 select OF_BOARD_SETUP
Hans de Goedeb6006ba2015-04-15 20:46:48 +02001002 select OF_CONTROL
1003 select OF_SEPARATE
Tom Rini6f6b7cf2018-03-06 19:02:27 -05001004 select SPECIFY_CONSOLE_INDEX
Tom Riniab43de82017-06-21 07:54:46 -04001005 select SPL_STACK_R if SPL
1006 select SPL_SYS_MALLOC_SIMPLE if SPL
Tom Rini3a649402017-03-18 09:01:44 -04001007 select SPL_SYS_THUMB_BUILD if !ARM64
Andre Przywara10cfbaa2019-06-23 15:09:46 +01001008 select SUNXI_GPIO
Michal Simek5ed063d2018-07-23 15:55:13 +02001009 select SYS_NS16550
Maxime Ripardce2e44d2017-10-19 11:49:29 +02001010 select SYS_THUMB_BUILD if !ARM64
Yann E. MORIN2997ee52016-10-31 22:33:40 +01001011 select USB if DISTRO_DEFAULTS
Yann E. MORIN2997ee52016-10-31 22:33:40 +01001012 select USB_KEYBOARD if DISTRO_DEFAULTS
Michal Simek5ed063d2018-07-23 15:55:13 +02001013 select USB_STORAGE if DISTRO_DEFAULTS
Simon Glass27084c02019-09-25 08:56:27 -06001014 select SPL_USE_TINY_PRINTF
Andre Przywara48313fe2020-02-20 17:51:14 +00001015 select USE_PREBOOT
1016 select SYS_RELOC_GD_ENV_ADDR
Andy Shevchenko92600ed2020-12-08 17:45:31 +02001017 imply BOARD_LATE_INIT
Michal Simek08a00cb2018-07-23 15:55:14 +02001018 imply CMD_DM
Maxime Riparda12fb0e2017-08-24 11:54:03 +02001019 imply CMD_GPT
Miquel Raynal88718be2019-10-03 19:50:03 +02001020 imply CMD_UBI if MTD_RAW_NAND
Masahiro Yamada7325f6c2018-04-25 18:47:52 +09001021 imply DISTRO_DEFAULTS
Tom Rini91d27a12017-06-02 11:03:50 -04001022 imply FAT_WRITE
Marek Vasut2f13cf32018-10-10 18:27:35 +02001023 imply FIT
Andre Heidereff264d2018-01-16 09:44:22 +01001024 imply OF_LIBFDT_OVERLAY
Masahiro Yamadaaf83a602017-04-28 19:42:19 +09001025 imply PRE_CONSOLE_BUFFER
1026 imply SPL_GPIO_SUPPORT
1027 imply SPL_LIBCOMMON_SUPPORT
Masahiro Yamadaaf83a602017-04-28 19:42:19 +09001028 imply SPL_LIBGENERIC_SUPPORT
Masahiro Yamada4aa2ba32017-05-09 20:31:39 +09001029 imply SPL_MMC_SUPPORT if MMC
Masahiro Yamadaaf83a602017-04-28 19:42:19 +09001030 imply SPL_POWER_SUPPORT
1031 imply SPL_SERIAL_SUPPORT
Maxime Ripard654b02b2017-09-07 10:46:24 +02001032 imply USB_GADGET
Chen-Yu Tsai8ebe4f42014-10-22 16:47:44 +08001033
Stephan Gerhold689088f2020-01-04 18:45:17 +01001034config ARCH_U8500
1035 bool "ST-Ericsson U8500 Series"
1036 select CPU_V7A
1037 select DM
1038 select DM_GPIO
1039 select DM_MMC if MMC
1040 select DM_SERIAL
1041 select DM_USB if USB
1042 select OF_CONTROL
1043 select SYSRESET
1044 select TIMER
1045 imply ARM_PL180_MMCI
1046 imply DM_RTC
1047 imply NOMADIK_MTU_TIMER
1048 imply PL01X_SERIAL
1049 imply RTC_PL031
1050 imply SYSRESET_SYSCON
1051
Michal Simekec48b6c2018-08-22 14:55:27 +02001052config ARCH_VERSAL
1053 bool "Support Xilinx Versal Platform"
1054 select ARM64
1055 select CLK
1056 select DM
Michal Simekfa797152019-01-15 08:52:46 +01001057 select DM_ETH if NET
1058 select DM_MMC if MMC
Michal Simekec48b6c2018-08-22 14:55:27 +02001059 select DM_SERIAL
1060 select OF_CONTROL
Siva Durga Prasad Paladugubfd092f2019-01-31 17:28:14 +05301061 imply BOARD_LATE_INIT
Michal Simek62b96262020-07-28 12:45:47 +02001062 imply ENV_VARS_UBOOT_RUNTIME_CONFIG
Michal Simekec48b6c2018-08-22 14:55:27 +02001063
Stefan Agner7966b432017-03-13 18:41:36 -07001064config ARCH_VF610
1065 bool "Freescale Vybrid"
Lokesh Vutlaacf15002018-04-26 18:21:26 +05301066 select CPU_V7A
York Sunc01e4a12016-12-28 08:43:42 -08001067 select SYS_FSL_ERRATUM_ESDHC111
Tom Rinid56b4b12017-07-22 18:36:16 -04001068 imply CMD_MTDPARTS
Miquel Raynal88718be2019-10-03 19:50:03 +02001069 imply MTD_RAW_NAND
Masahiro Yamadadd840582014-07-30 14:08:14 +09001070
Masahiro Yamada5ca269a2015-03-16 16:43:24 +09001071config ARCH_ZYNQ
Michal Simekb8d44972017-11-23 08:25:41 +01001072 bool "Xilinx Zynq based platform"
Michal Simek5ed063d2018-07-23 15:55:13 +02001073 select CLK
1074 select CLK_ZYNQ
1075 select CPU_V7A
Masahiro Yamada8981f052015-03-31 12:47:55 +09001076 select DM
Michal Simekc4a142f2018-01-09 14:49:28 +01001077 select DM_ETH if NET
Michal Simekc4a142f2018-01-09 14:49:28 +01001078 select DM_MMC if MMC
Simon Glass42800ff2015-10-17 19:41:27 -06001079 select DM_SERIAL
Michal Simek5ed063d2018-07-23 15:55:13 +02001080 select DM_SPI
Jagan Teki9f7a4502015-06-27 00:51:32 +05301081 select DM_SPI_FLASH
Simon Glassdec49e82016-07-05 17:10:14 -06001082 select DM_USB if USB
Michal Simek5ed063d2018-07-23 15:55:13 +02001083 select OF_CONTROL
Adam Fordf1b1f772018-04-15 13:51:26 -04001084 select SPI
Michal Simek5ed063d2018-07-23 15:55:13 +02001085 select SPL_BOARD_INIT if SPL
1086 select SPL_CLK if SPL
1087 select SPL_DM if SPL
Lukasz Majewski56c40462020-06-04 23:11:53 +08001088 select SPL_DM_SPI if SPL
1089 select SPL_DM_SPI_FLASH if SPL
Michal Simek5ed063d2018-07-23 15:55:13 +02001090 select SPL_OF_CONTROL if SPL
1091 select SPL_SEPARATE_BSS if SPL
1092 select SUPPORT_SPL
Michal Simek4aba5fb2018-01-17 10:56:22 -03001093 imply ARCH_EARLY_INIT_R
Michal Simek8eb55e12018-08-20 08:24:14 +02001094 imply BOARD_LATE_INIT
Michal Simek5ed063d2018-07-23 15:55:13 +02001095 imply CMD_CLK
Michal Simek08a00cb2018-07-23 15:55:14 +02001096 imply CMD_DM
Michal Simek5ed063d2018-07-23 15:55:13 +02001097 imply CMD_SPL
Michal Simek62b96262020-07-28 12:45:47 +02001098 imply ENV_VARS_UBOOT_RUNTIME_CONFIG
Michal Simek5ed063d2018-07-23 15:55:13 +02001099 imply FAT_WRITE
Masahiro Yamadadd840582014-07-30 14:08:14 +09001100
Michal Simek1d6c54e2018-04-12 17:39:46 +02001101config ARCH_ZYNQMP_R5
1102 bool "Xilinx ZynqMP R5 based platform"
Michal Simek5ed063d2018-07-23 15:55:13 +02001103 select CLK
Michal Simek1d6c54e2018-04-12 17:39:46 +02001104 select CPU_V7R
Michal Simek1d6c54e2018-04-12 17:39:46 +02001105 select DM
Michal Simek6f96fb52019-01-15 09:06:46 +01001106 select DM_ETH if NET
1107 select DM_MMC if MMC
Michal Simek1d6c54e2018-04-12 17:39:46 +02001108 select DM_SERIAL
Michal Simek5ed063d2018-07-23 15:55:13 +02001109 select OF_CONTROL
Michal Simek08a00cb2018-07-23 15:55:14 +02001110 imply CMD_DM
Jean-Jacques Hiblot687ab542018-11-29 10:52:42 +01001111 imply DM_USB_GADGET
Michal Simek1d6c54e2018-04-12 17:39:46 +02001112
Siva Durga Prasad Paladugu0b54a9d2015-06-10 15:50:57 +05301113config ARCH_ZYNQMP
Michal Simekb8d44972017-11-23 08:25:41 +01001114 bool "Xilinx ZynqMP based platform"
Michal Simek84c72042015-01-15 10:01:51 +01001115 select ARM64
Michal Simek1f297382016-07-14 15:07:54 +02001116 select CLK
Michal Simek5ed063d2018-07-23 15:55:13 +02001117 select DM
Michal Simekfb693102019-01-15 08:52:51 +01001118 select DM_ETH if NET
Ibai Erkiaga1327d162019-09-27 12:51:41 +02001119 select DM_MAILBOX
Michal Simekfb693102019-01-15 08:52:51 +01001120 select DM_MMC if MMC
Michal Simek5ed063d2018-07-23 15:55:13 +02001121 select DM_SERIAL
Michal Simek088f83e2019-01-15 10:50:39 +01001122 select DM_SPI if SPI
1123 select DM_SPI_FLASH if DM_SPI
Michal Simek5ed063d2018-07-23 15:55:13 +02001124 select DM_USB if USB
Ibai Erkiaga325a22d2019-09-27 11:37:04 +01001125 select FIRMWARE
Michal Simek5ed063d2018-07-23 15:55:13 +02001126 select OF_CONTROL
Ley Foon Tan0680f1b2017-05-03 17:13:32 +08001127 select SPL_BOARD_INIT if SPL
Michal Simek2f039682017-12-01 15:13:36 +01001128 select SPL_CLK if SPL
Michal Simek6cb402f2020-08-19 10:30:39 +02001129 select SPL_DM if SPL
1130 select SPL_DM_SPI if SPI && SPL_DM
Lukasz Majewski56c40462020-06-04 23:11:53 +08001131 select SPL_DM_SPI_FLASH if SPL_DM_SPI
Ibai Erkiaga325a22d2019-09-27 11:37:04 +01001132 select SPL_DM_MAILBOX if SPL
1133 select SPL_FIRMWARE if SPL
Michal Simek850e7792018-11-23 09:01:44 +01001134 select SPL_SEPARATE_BSS if SPL
Michal Simek5ed063d2018-07-23 15:55:13 +02001135 select SUPPORT_SPL
Ibai Erkiaga1327d162019-09-27 12:51:41 +02001136 select ZYNQMP_IPI
Michal Simek8eb55e12018-08-20 08:24:14 +02001137 imply BOARD_LATE_INIT
Michal Simek08a00cb2018-07-23 15:55:14 +02001138 imply CMD_DM
Michal Simek62b96262020-07-28 12:45:47 +02001139 imply ENV_VARS_UBOOT_RUNTIME_CONFIG
Tom Rini91d27a12017-06-02 11:03:50 -04001140 imply FAT_WRITE
Michal Simek22270ca032018-10-04 14:26:13 +02001141 imply MP
Jean-Jacques Hiblot687ab542018-11-29 10:52:42 +01001142 imply DM_USB_GADGET
Michal Simek84c72042015-01-15 10:01:51 +01001143
Trevor Woerner18138ab2020-05-06 08:02:41 -04001144config ARCH_TEGRA
Masahiro Yamadaddd960e2014-08-31 07:10:56 +09001145 bool "NVIDIA Tegra"
Masahiro Yamada7325f6c2018-04-25 18:47:52 +09001146 imply DISTRO_DEFAULTS
Tom Rini91d27a12017-06-02 11:03:50 -04001147 imply FAT_WRITE
Masahiro Yamadadd840582014-07-30 14:08:14 +09001148
Linus Walleijf91afc42015-01-23 11:50:53 +01001149config TARGET_VEXPRESS64_AEMV8A
Masahiro Yamadadd840582014-07-30 14:08:14 +09001150 bool "Support vexpress_aemv8a"
Masahiro Yamada016a9542014-09-14 03:01:51 +09001151 select ARM64
Alexander Grafcf2c7782018-01-25 12:05:52 +01001152 select PL01X_SERIAL
Masahiro Yamadadd840582014-07-30 14:08:14 +09001153
Linus Walleijf91afc42015-01-23 11:50:53 +01001154config TARGET_VEXPRESS64_BASE_FVP
1155 bool "Support Versatile Express ARMv8a FVP BASE model"
1156 select ARM64
Alexander Grafcf2c7782018-01-25 12:05:52 +01001157 select PL01X_SERIAL
Michal Simek5ed063d2018-07-23 15:55:13 +02001158 select SEMIHOSTING
Linus Walleijf91afc42015-01-23 11:50:53 +01001159
Linus Walleijffc10372015-01-23 14:41:10 +01001160config TARGET_VEXPRESS64_JUNO
1161 bool "Support Versatile Express Juno Development Platform"
1162 select ARM64
Alexander Grafcf2c7782018-01-25 12:05:52 +01001163 select PL01X_SERIAL
Andre Przywarab3270e92020-04-27 19:18:01 +01001164 select DM
1165 select OF_CONTROL
1166 select OF_BOARD
1167 select CLK
1168 select DM_SERIAL
Andre Przywarabe0d0962020-04-27 19:18:02 +01001169 select ARM_PSCI_FW
1170 select PSCI_RESET
Andre Przywaracc696e72020-06-11 12:03:18 +01001171 select DM_ETH
Andre Przywara56e403d2020-04-27 19:18:03 +01001172 select BLK
1173 select USB
1174 select DM_USB
Linus Walleijffc10372015-01-23 14:41:10 +01001175
Usama Arif565add12020-08-12 16:12:53 +01001176config TARGET_TOTAL_COMPUTE
1177 bool "Support Total Compute Platform"
1178 select ARM64
1179 select PL01X_SERIAL
1180 select DM
1181 select DM_SERIAL
1182 select DM_MMC
1183 select DM_GPIO
1184
Prabhakar Kushwaha44937212015-11-09 16:42:07 +05301185config TARGET_LS2080A_EMU
1186 bool "Support ls2080a_emu"
York Sunfb2bf8c2016-10-04 14:31:48 -07001187 select ARCH_LS2080A
Masahiro Yamada016a9542014-09-14 03:01:51 +09001188 select ARM64
Linus Walleij23b58772015-03-09 10:53:21 +01001189 select ARMV8_MULTIENTRY
Rajesh Bhagat32413122019-02-01 05:22:01 +00001190 select FSL_DDR_SYNC_REFRESH
York Sun7288c2c2015-03-20 19:28:23 -07001191 help
Robert P. J. Daye852b302019-12-25 06:34:07 -05001192 Support for Freescale LS2080A_EMU platform.
1193 The LS2080A Development System (EMULATOR) is a pre-silicon
Prabhakar Kushwaha44937212015-11-09 16:42:07 +05301194 development platform that supports the QorIQ LS2080A
York Sun7288c2c2015-03-20 19:28:23 -07001195 Layerscape Architecture processor.
1196
Ashish Kumar77697762017-08-31 16:12:55 +05301197config TARGET_LS1088AQDS
1198 bool "Support ls1088aqds"
1199 select ARCH_LS1088A
1200 select ARM64
1201 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001202 select ARCH_SUPPORT_TFABOOT
Ashish Kumar77697762017-08-31 16:12:55 +05301203 select BOARD_LATE_INIT
Ashish Kumar91fded62017-11-06 13:18:44 +05301204 select SUPPORT_SPL
Rajesh Bhagat32413122019-02-01 05:22:01 +00001205 select FSL_DDR_INTERACTIVE if !SD_BOOT
Ashish Kumar77697762017-08-31 16:12:55 +05301206 help
Robert P. J. Daye852b302019-12-25 06:34:07 -05001207 Support for NXP LS1088AQDS platform.
Ashish Kumar77697762017-08-31 16:12:55 +05301208 The LS1088A Development System (QDS) is a high-performance
1209 development platform that supports the QorIQ LS1088A
1210 Layerscape Architecture processor.
1211
Prabhakar Kushwaha44937212015-11-09 16:42:07 +05301212config TARGET_LS2080AQDS
1213 bool "Support ls2080aqds"
York Sunfb2bf8c2016-10-04 14:31:48 -07001214 select ARCH_LS2080A
York Sune2b65ea2015-03-20 19:28:24 -07001215 select ARM64
1216 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001217 select ARCH_SUPPORT_TFABOOT
Tom Rinie5ec4812017-01-22 19:43:11 -05001218 select BOARD_LATE_INIT
Scott Wood32eda7c2015-03-24 13:25:03 -07001219 select SUPPORT_SPL
Simon Glassfedb4282017-06-14 21:28:21 -06001220 imply SCSI
Tuomas Tynkkynen9fd95ef2017-12-08 15:36:19 +02001221 imply SCSI_AHCI
Rajesh Bhagat32413122019-02-01 05:22:01 +00001222 select FSL_DDR_BIST
1223 select FSL_DDR_INTERACTIVE if !SPL
York Sune2b65ea2015-03-20 19:28:24 -07001224 help
Robert P. J. Daye852b302019-12-25 06:34:07 -05001225 Support for Freescale LS2080AQDS platform.
Prabhakar Kushwaha44937212015-11-09 16:42:07 +05301226 The LS2080A Development System (QDS) is a high-performance
1227 development platform that supports the QorIQ LS2080A
1228 Layerscape Architecture processor.
1229
1230config TARGET_LS2080ARDB
1231 bool "Support ls2080ardb"
York Sunfb2bf8c2016-10-04 14:31:48 -07001232 select ARCH_LS2080A
Prabhakar Kushwaha44937212015-11-09 16:42:07 +05301233 select ARM64
1234 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001235 select ARCH_SUPPORT_TFABOOT
Tom Rinie5ec4812017-01-22 19:43:11 -05001236 select BOARD_LATE_INIT
Prabhakar Kushwaha44937212015-11-09 16:42:07 +05301237 select SUPPORT_SPL
Rajesh Bhagat32413122019-02-01 05:22:01 +00001238 select FSL_DDR_BIST
1239 select FSL_DDR_INTERACTIVE if !SPL
Simon Glassfedb4282017-06-14 21:28:21 -06001240 imply SCSI
Tuomas Tynkkynen9fd95ef2017-12-08 15:36:19 +02001241 imply SCSI_AHCI
Prabhakar Kushwaha44937212015-11-09 16:42:07 +05301242 help
1243 Support for Freescale LS2080ARDB platform.
1244 The LS2080A Reference design board (RDB) is a high-performance
1245 development platform that supports the QorIQ LS2080A
York Sune2b65ea2015-03-20 19:28:24 -07001246 Layerscape Architecture processor.
1247
Priyanka Jain3049a582017-04-27 15:08:07 +05301248config TARGET_LS2081ARDB
1249 bool "Support ls2081ardb"
1250 select ARCH_LS2080A
1251 select ARM64
1252 select ARMV8_MULTIENTRY
1253 select BOARD_LATE_INIT
1254 select SUPPORT_SPL
Priyanka Jain3049a582017-04-27 15:08:07 +05301255 help
1256 Support for Freescale LS2081ARDB platform.
1257 The LS2081A Reference design board (RDB) is a high-performance
1258 development platform that supports the QorIQ LS2081A/LS2041A
1259 Layerscape Architecture processor.
1260
Priyanka Jain58c3e622018-11-28 13:04:27 +00001261config TARGET_LX2160ARDB
1262 bool "Support lx2160ardb"
1263 select ARCH_LX2160A
Priyanka Jain58c3e622018-11-28 13:04:27 +00001264 select ARM64
1265 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001266 select ARCH_SUPPORT_TFABOOT
Priyanka Jain58c3e622018-11-28 13:04:27 +00001267 select BOARD_LATE_INIT
1268 help
1269 Support for NXP LX2160ARDB platform.
1270 The lx2160ardb (LX2160A Reference design board (RDB)
1271 is a high-performance development platform that supports the
1272 QorIQ LX2160A/LX2120A/LX2080A Layerscape Architecture processor.
1273
Pankaj Bansal1eba7232019-02-08 10:29:58 +00001274config TARGET_LX2160AQDS
1275 bool "Support lx2160aqds"
1276 select ARCH_LX2160A
Pankaj Bansal1eba7232019-02-08 10:29:58 +00001277 select ARM64
1278 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001279 select ARCH_SUPPORT_TFABOOT
Pankaj Bansal1eba7232019-02-08 10:29:58 +00001280 select BOARD_LATE_INIT
1281 help
1282 Support for NXP LX2160AQDS platform.
1283 The lx2160aqds (LX2160A QorIQ Development System (QDS)
1284 is a high-performance development platform that supports the
1285 QorIQ LX2160A/LX2120A/LX2080A Layerscape Architecture processor.
1286
Meenakshi Aggarwal9ed303d2020-12-04 20:17:28 +05301287config TARGET_LX2162AQDS
1288 bool "Support lx2162aqds"
1289 select ARCH_LX2162A
1290 select ARCH_MISC_INIT
1291 select ARM64
1292 select ARMV8_MULTIENTRY
1293 select ARCH_SUPPORT_TFABOOT
1294 select BOARD_LATE_INIT
1295 help
1296 Support for NXP LX2162AQDS platform.
1297 The lx2162aqds support is based on LX2160A Layerscape Architecture processor.
1298
Peter Griffin11ac2362015-07-30 18:55:23 +01001299config TARGET_HIKEY
1300 bool "Support HiKey 96boards Consumer Edition Platform"
1301 select ARM64
Peter Griffinefd7b602015-09-10 21:55:16 +01001302 select DM
1303 select DM_GPIO
Peter Griffin9c71bcd2015-09-10 21:55:17 +01001304 select DM_SERIAL
Peter Griffincd593ed2016-04-20 17:13:59 +01001305 select OF_CONTROL
Alexander Grafcf2c7782018-01-25 12:05:52 +01001306 select PL01X_SERIAL
Tom Rini6f6b7cf2018-03-06 19:02:27 -05001307 select SPECIFY_CONSOLE_INDEX
Michal Simek08a00cb2018-07-23 15:55:14 +02001308 imply CMD_DM
Peter Griffin11ac2362015-07-30 18:55:23 +01001309 help
1310 Support for HiKey 96boards platform. It features a HI6220
1311 SoC, with 8xA53 CPU, mali450 gpu, and 1GB RAM.
1312
Manivannan Sadhasivamc62c7ef2019-08-02 20:40:09 +05301313config TARGET_HIKEY960
1314 bool "Support HiKey960 96boards Consumer Edition Platform"
1315 select ARM64
1316 select DM
1317 select DM_SERIAL
1318 select OF_CONTROL
1319 select PL01X_SERIAL
1320 imply CMD_DM
1321 help
1322 Support for HiKey960 96boards platform. It features a HI3660
1323 SoC, with 4xA73 CPU, 4xA53 CPU, MALI-G71 GPU, and 3GB RAM.
1324
Jorge Ramirez-Ortizd7542542017-06-26 15:52:49 +02001325config TARGET_POPLAR
1326 bool "Support Poplar 96boards Enterprise Edition Platform"
1327 select ARM64
1328 select DM
Jorge Ramirez-Ortizd7542542017-06-26 15:52:49 +02001329 select DM_SERIAL
1330 select DM_USB
Michal Simek5ed063d2018-07-23 15:55:13 +02001331 select OF_CONTROL
Alexander Grafcf2c7782018-01-25 12:05:52 +01001332 select PL01X_SERIAL
Michal Simek08a00cb2018-07-23 15:55:14 +02001333 imply CMD_DM
Jorge Ramirez-Ortizd7542542017-06-26 15:52:49 +02001334 help
1335 Support for Poplar 96boards EE platform. It features a HI3798cv200
1336 SoC, with 4xA53 CPU, 1GB RAM and the high performance Mali T720 GPU
1337 making it capable of running any commercial set-top solution based on
1338 Linux or Android.
1339
Prabhakar Kushwaha9d044fc2016-06-03 18:41:34 +05301340config TARGET_LS1012AQDS
1341 bool "Support ls1012aqds"
York Sun9533acf2016-09-26 08:09:26 -07001342 select ARCH_LS1012A
Prabhakar Kushwaha9d044fc2016-06-03 18:41:34 +05301343 select ARM64
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001344 select ARCH_SUPPORT_TFABOOT
Tom Rinie5ec4812017-01-22 19:43:11 -05001345 select BOARD_LATE_INIT
Prabhakar Kushwaha9d044fc2016-06-03 18:41:34 +05301346 help
1347 Support for Freescale LS1012AQDS platform.
1348 The LS1012A Development System (QDS) is a high-performance
1349 development platform that supports the QorIQ LS1012A
1350 Layerscape Architecture processor.
1351
Prabhakar Kushwaha3b6e3892016-06-03 18:41:35 +05301352config TARGET_LS1012ARDB
1353 bool "Support ls1012ardb"
York Sun9533acf2016-09-26 08:09:26 -07001354 select ARCH_LS1012A
Prabhakar Kushwaha3b6e3892016-06-03 18:41:35 +05301355 select ARM64
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001356 select ARCH_SUPPORT_TFABOOT
Tom Rinie5ec4812017-01-22 19:43:11 -05001357 select BOARD_LATE_INIT
Simon Glassfedb4282017-06-14 21:28:21 -06001358 imply SCSI
Tuomas Tynkkynen9fd95ef2017-12-08 15:36:19 +02001359 imply SCSI_AHCI
Prabhakar Kushwaha3b6e3892016-06-03 18:41:35 +05301360 help
1361 Support for Freescale LS1012ARDB platform.
1362 The LS1012A Reference design board (RDB) is a high-performance
1363 development platform that supports the QorIQ LS1012A
1364 Layerscape Architecture processor.
1365
Bhaskar Upadhayab0ce1872018-01-11 20:03:31 +05301366config TARGET_LS1012A2G5RDB
1367 bool "Support ls1012a2g5rdb"
1368 select ARCH_LS1012A
1369 select ARM64
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001370 select ARCH_SUPPORT_TFABOOT
Bhaskar Upadhayab0ce1872018-01-11 20:03:31 +05301371 select BOARD_LATE_INIT
1372 imply SCSI
1373 help
1374 Support for Freescale LS1012A2G5RDB platform.
1375 The LS1012A 2G5 Reference design board (RDB) is a high-performance
1376 development platform that supports the QorIQ LS1012A
1377 Layerscape Architecture processor.
1378
Bhaskar Upadhaya9629ccd2018-05-23 11:03:30 +05301379config TARGET_LS1012AFRWY
1380 bool "Support ls1012afrwy"
1381 select ARCH_LS1012A
1382 select ARM64
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001383 select ARCH_SUPPORT_TFABOOT
Michal Simek5ed063d2018-07-23 15:55:13 +02001384 select BOARD_LATE_INIT
Bhaskar Upadhaya9629ccd2018-05-23 11:03:30 +05301385 imply SCSI
1386 imply SCSI_AHCI
1387 help
1388 Support for Freescale LS1012AFRWY platform.
1389 The LS1012A FRWY board (FRWY) is a high-performance
1390 development platform that supports the QorIQ LS1012A
1391 Layerscape Architecture processor.
1392
Prabhakar Kushwahaff78aa22016-06-03 18:41:36 +05301393config TARGET_LS1012AFRDM
1394 bool "Support ls1012afrdm"
York Sun9533acf2016-09-26 08:09:26 -07001395 select ARCH_LS1012A
Prabhakar Kushwahaff78aa22016-06-03 18:41:36 +05301396 select ARM64
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001397 select ARCH_SUPPORT_TFABOOT
Prabhakar Kushwahaff78aa22016-06-03 18:41:36 +05301398 help
1399 Support for Freescale LS1012AFRDM platform.
1400 The LS1012A Freedom board (FRDM) is a high-performance
1401 development platform that supports the QorIQ LS1012A
1402 Layerscape Architecture processor.
1403
Yuantian Tangf278a212019-04-10 16:43:35 +08001404config TARGET_LS1028AQDS
1405 bool "Support ls1028aqds"
1406 select ARCH_LS1028A
1407 select ARM64
1408 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001409 select ARCH_SUPPORT_TFABOOT
Yuantian Tangacf40f52019-07-02 16:16:22 +08001410 select BOARD_LATE_INIT
Yuantian Tangf278a212019-04-10 16:43:35 +08001411 help
1412 Support for Freescale LS1028AQDS platform
1413 The LS1028A Development System (QDS) is a high-performance
1414 development platform that supports the QorIQ LS1028A
1415 Layerscape Architecture processor.
1416
Yuantian Tang353f36d2019-04-10 16:43:34 +08001417config TARGET_LS1028ARDB
1418 bool "Support ls1028ardb"
1419 select ARCH_LS1028A
1420 select ARM64
1421 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001422 select ARCH_SUPPORT_TFABOOT
Yuantian Tangc40ebf72020-03-09 14:10:07 +08001423 select BOARD_LATE_INIT
Yuantian Tang353f36d2019-04-10 16:43:34 +08001424 help
1425 Support for Freescale LS1028ARDB platform
1426 The LS1028A Development System (RDB) is a high-performance
1427 development platform that supports the QorIQ LS1028A
1428 Layerscape Architecture processor.
1429
Ashish Kumare84a3242017-08-31 16:12:54 +05301430config TARGET_LS1088ARDB
1431 bool "Support ls1088ardb"
1432 select ARCH_LS1088A
1433 select ARM64
1434 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001435 select ARCH_SUPPORT_TFABOOT
Ashish Kumare84a3242017-08-31 16:12:54 +05301436 select BOARD_LATE_INIT
Ashish Kumar099f4092017-11-06 13:18:43 +05301437 select SUPPORT_SPL
Rajesh Bhagat32413122019-02-01 05:22:01 +00001438 select FSL_DDR_INTERACTIVE if !SD_BOOT
Ashish Kumare84a3242017-08-31 16:12:54 +05301439 help
1440 Support for NXP LS1088ARDB platform.
1441 The LS1088A Reference design board (RDB) is a high-performance
1442 development platform that supports the QorIQ LS1088A
1443 Layerscape Architecture processor.
1444
Wang Huan550e3dc2014-09-05 13:52:44 +08001445config TARGET_LS1021AQDS
Alison Wang0de15702014-12-03 16:18:09 +08001446 bool "Support ls1021aqds"
Michal Simek5ed063d2018-07-23 15:55:13 +02001447 select ARCH_LS1021A
1448 select ARCH_SUPPORT_PSCI
1449 select BOARD_EARLY_INIT_F
Tom Rinie5ec4812017-01-22 19:43:11 -05001450 select BOARD_LATE_INIT
Lokesh Vutlaacf15002018-04-26 18:21:26 +05301451 select CPU_V7A
Hongbo Zhangadee1d42016-09-21 18:31:04 +08001452 select CPU_V7_HAS_NONSEC
1453 select CPU_V7_HAS_VIRT
York Sun5e8bd7e2016-09-26 08:09:29 -07001454 select LS1_DEEP_SLEEP
Michal Simek5ed063d2018-07-23 15:55:13 +02001455 select SUPPORT_SPL
York Sund26e34c2016-12-28 08:43:40 -08001456 select SYS_FSL_DDR
Rajesh Bhagat32413122019-02-01 05:22:01 +00001457 select FSL_DDR_INTERACTIVE
Lukasz Majewski28964222020-06-04 23:11:52 +08001458 select DM_SPI_FLASH if FSL_DSPI || FSL_QSPI
1459 select SPI_FLASH_DATAFLASH if FSL_DSPI || FSL_QSPI
Simon Glassfedb4282017-06-14 21:28:21 -06001460 imply SCSI
Masahiro Yamada217f92b2016-08-30 16:22:22 +09001461
Wang Huanc8a7d9d2014-09-05 13:52:45 +08001462config TARGET_LS1021ATWR
Alison Wang0de15702014-12-03 16:18:09 +08001463 bool "Support ls1021atwr"
Michal Simek5ed063d2018-07-23 15:55:13 +02001464 select ARCH_LS1021A
1465 select ARCH_SUPPORT_PSCI
1466 select BOARD_EARLY_INIT_F
Tom Rinie5ec4812017-01-22 19:43:11 -05001467 select BOARD_LATE_INIT
Lokesh Vutlaacf15002018-04-26 18:21:26 +05301468 select CPU_V7A
Hongbo Zhangadee1d42016-09-21 18:31:04 +08001469 select CPU_V7_HAS_NONSEC
1470 select CPU_V7_HAS_VIRT
York Sun5e8bd7e2016-09-26 08:09:29 -07001471 select LS1_DEEP_SLEEP
Michal Simek5ed063d2018-07-23 15:55:13 +02001472 select SUPPORT_SPL
Lukasz Majewski28964222020-06-04 23:11:52 +08001473 select DM_SPI_FLASH if FSL_DSPI || FSL_QSPI
Simon Glassfedb4282017-06-14 21:28:21 -06001474 imply SCSI
Wang Huanc8a7d9d2014-09-05 13:52:45 +08001475
Aleksandar Gerasimovski91ee5472021-02-22 18:18:11 +00001476config TARGET_PG_WCOM_SELI8
1477 bool "Support Hitachi-Powergrids SELI8 service unit card"
1478 select ARCH_LS1021A
1479 select ARCH_SUPPORT_PSCI
1480 select BOARD_EARLY_INIT_F
1481 select BOARD_LATE_INIT
1482 select CPU_V7A
1483 select CPU_V7_HAS_NONSEC
1484 select CPU_V7_HAS_VIRT
1485 select SYS_FSL_DDR
1486 select FSL_DDR_INTERACTIVE
1487 select VENDOR_KM
1488 imply SCSI
1489 help
1490 Support for Hitachi-Powergrids SELI8 service unit card.
1491 SELI8 is a QorIQ LS1021a based service unit card used
1492 in XMC20 and FOX615 product families.
1493
Jianchao Wang87821222019-07-19 00:30:01 +03001494config TARGET_LS1021ATSN
1495 bool "Support ls1021atsn"
1496 select ARCH_LS1021A
1497 select ARCH_SUPPORT_PSCI
1498 select BOARD_EARLY_INIT_F
1499 select BOARD_LATE_INIT
1500 select CPU_V7A
1501 select CPU_V7_HAS_NONSEC
1502 select CPU_V7_HAS_VIRT
1503 select LS1_DEEP_SLEEP
1504 select SUPPORT_SPL
1505 imply SCSI
1506
Feng Li20c700f2016-11-03 14:15:17 +08001507config TARGET_LS1021AIOT
1508 bool "Support ls1021aiot"
Michal Simek5ed063d2018-07-23 15:55:13 +02001509 select ARCH_LS1021A
1510 select ARCH_SUPPORT_PSCI
Tom Rinie5ec4812017-01-22 19:43:11 -05001511 select BOARD_LATE_INIT
Lokesh Vutlaacf15002018-04-26 18:21:26 +05301512 select CPU_V7A
Feng Li20c700f2016-11-03 14:15:17 +08001513 select CPU_V7_HAS_NONSEC
1514 select CPU_V7_HAS_VIRT
1515 select SUPPORT_SPL
Lukasz Majewski28964222020-06-04 23:11:52 +08001516 select DM_SPI_FLASH if FSL_DSPI || FSL_QSPI
Simon Glassfedb4282017-06-14 21:28:21 -06001517 imply SCSI
Feng Li20c700f2016-11-03 14:15:17 +08001518 help
1519 Support for Freescale LS1021AIOT platform.
1520 The LS1021A Freescale board (IOT) is a high-performance
1521 development platform that supports the QorIQ LS1021A
1522 Layerscape Architecture processor.
1523
Shaohui Xie02b5d2e2015-11-11 17:58:37 +08001524config TARGET_LS1043AQDS
1525 bool "Support ls1043aqds"
York Sun0a37cf82016-09-26 08:09:27 -07001526 select ARCH_LS1043A
Shaohui Xie02b5d2e2015-11-11 17:58:37 +08001527 select ARM64
1528 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001529 select ARCH_SUPPORT_TFABOOT
Michal Simek5ed063d2018-07-23 15:55:13 +02001530 select BOARD_EARLY_INIT_F
Tom Rinie5ec4812017-01-22 19:43:11 -05001531 select BOARD_LATE_INIT
Shaohui Xie02b5d2e2015-11-11 17:58:37 +08001532 select SUPPORT_SPL
Rajesh Bhagat32413122019-02-01 05:22:01 +00001533 select FSL_DDR_INTERACTIVE if !SPL
Lukasz Majewski044a66c2020-06-04 23:11:51 +08001534 select FSL_DSPI if !SPL_NO_DSPI
1535 select DM_SPI_FLASH if FSL_DSPI
Simon Glassfedb4282017-06-14 21:28:21 -06001536 imply SCSI
Peng Maf11e4922019-01-30 19:11:49 +08001537 imply SCSI_AHCI
Shaohui Xie02b5d2e2015-11-11 17:58:37 +08001538 help
1539 Support for Freescale LS1043AQDS platform.
1540
Mingkai Huf3a8e2b2015-10-26 19:47:52 +08001541config TARGET_LS1043ARDB
1542 bool "Support ls1043ardb"
York Sun0a37cf82016-09-26 08:09:27 -07001543 select ARCH_LS1043A
Mingkai Huf3a8e2b2015-10-26 19:47:52 +08001544 select ARM64
Hou Zhiqiang831c0682015-10-26 19:47:57 +08001545 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001546 select ARCH_SUPPORT_TFABOOT
Michal Simek5ed063d2018-07-23 15:55:13 +02001547 select BOARD_EARLY_INIT_F
Tom Rinie5ec4812017-01-22 19:43:11 -05001548 select BOARD_LATE_INIT
Gong Qianyu3ad44722015-10-26 19:47:53 +08001549 select SUPPORT_SPL
Lukasz Majewski044a66c2020-06-04 23:11:51 +08001550 select FSL_DSPI if !SPL_NO_DSPI
1551 select DM_SPI_FLASH if FSL_DSPI
Mingkai Huf3a8e2b2015-10-26 19:47:52 +08001552 help
1553 Support for Freescale LS1043ARDB platform.
1554
Shaohui Xie126fe702016-09-07 17:56:14 +08001555config TARGET_LS1046AQDS
1556 bool "Support ls1046aqds"
York Sunda28e582016-09-26 08:09:24 -07001557 select ARCH_LS1046A
Shaohui Xie126fe702016-09-07 17:56:14 +08001558 select ARM64
1559 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001560 select ARCH_SUPPORT_TFABOOT
Simon Glassa5d67542017-01-23 13:31:20 -07001561 select BOARD_EARLY_INIT_F
Michal Simek5ed063d2018-07-23 15:55:13 +02001562 select BOARD_LATE_INIT
1563 select DM_SPI_FLASH if DM_SPI
1564 select SUPPORT_SPL
Rajesh Bhagat32413122019-02-01 05:22:01 +00001565 select FSL_DDR_BIST if !SPL
1566 select FSL_DDR_INTERACTIVE if !SPL
1567 select FSL_DDR_INTERACTIVE if !SPL
Simon Glassfedb4282017-06-14 21:28:21 -06001568 imply SCSI
Shaohui Xie126fe702016-09-07 17:56:14 +08001569 help
1570 Support for Freescale LS1046AQDS platform.
1571 The LS1046A Development System (QDS) is a high-performance
1572 development platform that supports the QorIQ LS1046A
1573 Layerscape Architecture processor.
1574
Mingkai Hudd029362016-09-07 18:47:28 +08001575config TARGET_LS1046ARDB
1576 bool "Support ls1046ardb"
York Sunda28e582016-09-26 08:09:24 -07001577 select ARCH_LS1046A
Mingkai Hudd029362016-09-07 18:47:28 +08001578 select ARM64
1579 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001580 select ARCH_SUPPORT_TFABOOT
Michal Simek5ed063d2018-07-23 15:55:13 +02001581 select BOARD_EARLY_INIT_F
Tom Rinie5ec4812017-01-22 19:43:11 -05001582 select BOARD_LATE_INIT
Mingkai Hudd029362016-09-07 18:47:28 +08001583 select DM_SPI_FLASH if DM_SPI
Hou Zhiqiangdccef2e2016-12-09 16:09:01 +08001584 select POWER_MC34VR500
Michal Simek5ed063d2018-07-23 15:55:13 +02001585 select SUPPORT_SPL
Rajesh Bhagat32413122019-02-01 05:22:01 +00001586 select FSL_DDR_BIST
1587 select FSL_DDR_INTERACTIVE if !SPL
Simon Glassfedb4282017-06-14 21:28:21 -06001588 imply SCSI
Mingkai Hudd029362016-09-07 18:47:28 +08001589 help
1590 Support for Freescale LS1046ARDB platform.
1591 The LS1046A Reference Design Board (RDB) is a high-performance
1592 development platform that supports the QorIQ LS1046A
1593 Layerscape Architecture processor.
1594
Vabhav Sharmad90c7ac2019-06-06 12:35:28 +00001595config TARGET_LS1046AFRWY
1596 bool "Support ls1046afrwy"
1597 select ARCH_LS1046A
1598 select ARM64
1599 select ARMV8_MULTIENTRY
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001600 select ARCH_SUPPORT_TFABOOT
Vabhav Sharmad90c7ac2019-06-06 12:35:28 +00001601 select BOARD_EARLY_INIT_F
1602 select BOARD_LATE_INIT
1603 select DM_SPI_FLASH if DM_SPI
1604 imply SCSI
1605 help
1606 Support for Freescale LS1046AFRWY platform.
1607 The LS1046A Freeway Board (FRWY) is a high-performance
1608 development platform that supports the QorIQ LS1046A
1609 Layerscape Architecture processor.
Masahiro Yamadadd840582014-07-30 14:08:14 +09001610
Michael Walle4ceb5c62020-10-15 23:08:57 +02001611config TARGET_SL28
1612 bool "Support sl28"
1613 select ARCH_LS1028A
1614 select ARM64
1615 select ARMV8_MULTIENTRY
1616 select SUPPORT_SPL
1617 select BINMAN
Michael Walle356a3382021-03-26 19:40:57 +01001618 select DM
1619 select DM_GPIO
1620 select DM_I2C
1621 select DM_MMC
1622 select DM_SPI_FLASH
1623 select DM_ETH
1624 select DM_MDIO
1625 select DM_PCI
1626 select DM_RNG
1627 select DM_RTC
1628 select DM_SCSI
Michael Walle6d1ab4a2021-03-26 19:40:58 +01001629 select DM_SERIAL
Michael Walle356a3382021-03-26 19:40:57 +01001630 select DM_SPI
1631 select DM_USB
1632 select SPL_DM if SPL
1633 select SPL_DM_SPI if SPL
1634 select SPL_DM_SPI_FLASH if SPL
1635 select SPL_DM_I2C if SPL
1636 select SPL_DM_MMC if SPL
1637 select SPL_DM_SERIAL if SPL
Michael Walle4ceb5c62020-10-15 23:08:57 +02001638 help
1639 Support for Kontron SMARC-sAL28 board.
1640
Masahiro Yamadadd840582014-07-30 14:08:14 +09001641config TARGET_COLIBRI_PXA270
1642 bool "Support colibri_pxa270"
Georges Savoundararadj2e07c242014-10-28 23:16:09 +01001643 select CPU_PXA
Masahiro Yamadadd840582014-07-30 14:08:14 +09001644
Masahiro Yamada66cba042014-10-03 19:21:07 +09001645config ARCH_UNIPHIER
Masahiro Yamadab6ef3a32015-05-29 17:30:01 +09001646 bool "Socionext UniPhier SoCs"
Tom Rinie5ec4812017-01-22 19:43:11 -05001647 select BOARD_LATE_INIT
Masahiro Yamada4e819952015-03-31 12:47:54 +09001648 select DM
Masahiro Yamada15171262020-05-07 22:11:19 +09001649 select DM_ETH
Masahiro Yamadab800cbd2016-02-16 17:03:50 +09001650 select DM_GPIO
Masahiro Yamada4e819952015-03-31 12:47:54 +09001651 select DM_I2C
Masahiro Yamada4aceb3f2016-02-18 19:52:49 +09001652 select DM_MMC
Masahiro Yamada407b01b2020-01-30 22:07:59 +09001653 select DM_MTD
Masahiro Yamada4fb96c42016-10-08 13:25:31 +09001654 select DM_RESET
Masahiro Yamadab5550e42016-09-14 01:05:59 +09001655 select DM_SERIAL
Masahiro Yamada47a79f62016-09-14 01:06:00 +09001656 select DM_USB
Masahiro Yamada65fce762018-07-19 16:28:25 +09001657 select OF_BOARD_SETUP
Masahiro Yamadab5550e42016-09-14 01:05:59 +09001658 select OF_CONTROL
1659 select OF_LIBFDT
Masahiro Yamada27350c92016-09-17 03:33:01 +09001660 select PINCTRL
Ley Foon Tan0680f1b2017-05-03 17:13:32 +08001661 select SPL_BOARD_INIT if SPL
Masahiro Yamada561ca642017-01-21 18:05:22 +09001662 select SPL_DM if SPL
1663 select SPL_LIBCOMMON_SUPPORT if SPL
1664 select SPL_LIBGENERIC_SUPPORT if SPL
1665 select SPL_OF_CONTROL if SPL
1666 select SPL_PINCTRL if SPL
Masahiro Yamadab5550e42016-09-14 01:05:59 +09001667 select SUPPORT_SPL
Michal Simek08a00cb2018-07-23 15:55:14 +02001668 imply CMD_DM
Masahiro Yamada7ef5b1e2018-07-20 21:47:18 +09001669 imply DISTRO_DEFAULTS
Tom Rini91d27a12017-06-02 11:03:50 -04001670 imply FAT_WRITE
Masahiro Yamadab6ef3a32015-05-29 17:30:01 +09001671 help
1672 Support for UniPhier SoC family developed by Socionext Inc.
1673 (formerly, System LSI Business Division of Panasonic Corporation)
Masahiro Yamada66cba042014-10-03 19:21:07 +09001674
Trevor Woerner71f63542020-05-06 08:02:42 -04001675config ARCH_STM32
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01001676 bool "Support STMicroelectronics STM32 MCU with cortex M"
rev13@wp.pled09a552015-03-01 12:44:42 +01001677 select CPU_V7M
Kamil Lulko66562412015-12-01 09:08:19 +01001678 select DM
1679 select DM_SERIAL
Michal Simek08a00cb2018-07-23 15:55:14 +02001680 imply CMD_DM
rev13@wp.pled09a552015-03-01 12:44:42 +01001681
Patrice Chotard94e9a4e2017-02-21 13:37:04 +01001682config ARCH_STI
1683 bool "Support STMicrolectronics SoCs"
Michal Simek5ed063d2018-07-23 15:55:13 +02001684 select BLK
Lokesh Vutlaacf15002018-04-26 18:21:26 +05301685 select CPU_V7A
Patrice Chotard214a17e2017-02-21 13:37:07 +01001686 select DM
Patrice Chotardeee20f82017-02-21 13:37:09 +01001687 select DM_MMC
Patrice Chotard584861f2017-03-22 10:54:03 +01001688 select DM_RESET
Michal Simek5ed063d2018-07-23 15:55:13 +02001689 select DM_SERIAL
Michal Simek08a00cb2018-07-23 15:55:14 +02001690 imply CMD_DM
Patrice Chotard94e9a4e2017-02-21 13:37:04 +01001691 help
1692 Support for STMicroelectronics STiH407/10 SoC family.
1693 This SoC is used on Linaro 96Board STiH410-B2260
1694
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01001695config ARCH_STM32MP
1696 bool "Support STMicroelectronics STM32MP Socs with cortex A"
Patrick Delaunay08772f62018-03-20 10:54:53 +01001697 select ARCH_MISC_INIT
Patrick Delaunay654706b2020-04-01 09:07:33 +02001698 select ARCH_SUPPORT_TFABOOT
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01001699 select BOARD_LATE_INIT
1700 select CLK
1701 select DM
1702 select DM_GPIO
1703 select DM_RESET
1704 select DM_SERIAL
Michal Simek5ed063d2018-07-23 15:55:13 +02001705 select MISC
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01001706 select OF_CONTROL
1707 select OF_LIBFDT
Patrick Delaunay05d36932019-07-05 17:20:14 +02001708 select OF_SYSTEM_SETUP
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01001709 select PINCTRL
1710 select REGMAP
1711 select SUPPORT_SPL
1712 select SYSCON
Patrick Delaunay86634a92018-03-20 14:15:06 +01001713 select SYSRESET
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01001714 select SYS_THUMB_BUILD
Kever Yang09259fc2019-04-02 20:41:25 +08001715 imply SPL_SYSRESET
Michal Simek08a00cb2018-07-23 15:55:14 +02001716 imply CMD_DM
Patrick Delaunayc16cc4f2019-04-12 11:55:46 +02001717 imply CMD_POWEROFF
Patrick Delaunayf2193612019-07-30 19:16:28 +02001718 imply OF_LIBFDT_OVERLAY
Patrick Delaunayb4ae34b2019-02-27 17:01:11 +01001719 imply ENV_VARS_UBOOT_RUNTIME_CONFIG
Patrick Delaunayce3772c2019-04-18 17:32:38 +02001720 imply USE_PREBOOT
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01001721 help
1722 Support for STM32MP SoC family developed by STMicroelectronics,
1723 MPUs based on ARM cortex A core
Patrick Delaunayabf26782019-02-12 11:44:39 +01001724 U-BOOT is running in DDR, loaded by the First Stage BootLoader (FSBL).
1725 FSBL can be TF-A: Trusted Firmware for Cortex A, for trusted boot
1726 chain.
1727 SPL is the unsecure FSBL for the basic boot chain.
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01001728
Simon Glass2444dae2015-08-30 16:55:38 -06001729config ARCH_ROCKCHIP
1730 bool "Support Rockchip SoCs"
Simon Glassaa150382016-06-12 23:30:14 -06001731 select BLK
Kever Yang7a9c5742020-11-10 11:43:32 +08001732 select BINMAN if SPL_OPTEE
Simon Glass2444dae2015-08-30 16:55:38 -06001733 select DM
Simon Glassaa150382016-06-12 23:30:14 -06001734 select DM_GPIO
1735 select DM_I2C
1736 select DM_MMC
Michal Simek5ed063d2018-07-23 15:55:13 +02001737 select DM_PWM
1738 select DM_REGULATOR
Simon Glassaa150382016-06-12 23:30:14 -06001739 select DM_SERIAL
1740 select DM_SPI
1741 select DM_SPI_FLASH
MengDongyang892742d2016-08-24 12:02:18 +08001742 select DM_USB if USB
Philipp Tomsich14ad6eb2017-10-10 16:21:03 +02001743 select ENABLE_ARM_SOC_BOOT0_HOOK
Michal Simek5ed063d2018-07-23 15:55:13 +02001744 select OF_CONTROL
Adam Fordf1b1f772018-04-15 13:51:26 -04001745 select SPI
Michal Simek5ed063d2018-07-23 15:55:13 +02001746 select SPL_DM if SPL
Lukasz Majewski56c40462020-06-04 23:11:53 +08001747 select SPL_DM_SPI if SPL
1748 select SPL_DM_SPI_FLASH if SPL
Michal Simek5ed063d2018-07-23 15:55:13 +02001749 select SYS_MALLOC_F
1750 select SYS_THUMB_BUILD if !ARM64
1751 imply ADC
Michal Simek08a00cb2018-07-23 15:55:14 +02001752 imply CMD_DM
Kever Yangb0a569d2019-03-29 09:08:58 +08001753 imply DEBUG_UART_BOARD_INIT
Masahiro Yamada7325f6c2018-04-25 18:47:52 +09001754 imply DISTRO_DEFAULTS
Tom Rini91d27a12017-06-02 11:03:50 -04001755 imply FAT_WRITE
Philipp Tomsich8e8bccc2017-09-20 13:50:13 +02001756 imply SARADC_ROCKCHIP
Michal Simek5ed063d2018-07-23 15:55:13 +02001757 imply SPL_SYSRESET
Thomas Hebb64eff472019-11-15 08:48:57 -08001758 imply SPL_SYS_MALLOC_SIMPLE
Kever Yangc3c03312018-04-19 11:37:09 +08001759 imply SYS_NS16550
Michal Simek5ed063d2018-07-23 15:55:13 +02001760 imply TPL_SYSRESET
1761 imply USB_FUNCTION_FASTBOOT
Simon Glass2444dae2015-08-30 16:55:38 -06001762
Suneel Garapati03c22882019-10-19 18:37:55 -07001763config ARCH_OCTEONTX
1764 bool "Support OcteonTX SoCs"
Stefan Roese7a780742020-09-23 11:01:30 +02001765 select CLK
Suneel Garapati03c22882019-10-19 18:37:55 -07001766 select DM
1767 select ARM64
1768 select OF_CONTROL
1769 select OF_LIVE
1770 select BOARD_LATE_INIT
1771 select SYS_CACHE_SHIFT_7
Suneel Garapati0a668f62019-10-19 18:47:37 -07001772
1773config ARCH_OCTEONTX2
1774 bool "Support OcteonTX2 SoCs"
Stefan Roese7a780742020-09-23 11:01:30 +02001775 select CLK
Suneel Garapati0a668f62019-10-19 18:47:37 -07001776 select DM
1777 select ARM64
1778 select OF_CONTROL
1779 select OF_LIVE
1780 select BOARD_LATE_INIT
1781 select SYS_CACHE_SHIFT_7
1782
Sergey Temerkhanov746f9852015-10-14 09:55:50 -07001783config TARGET_THUNDERX_88XX
1784 bool "Support ThunderX 88xx"
Marek Vasutb4ba1692016-06-01 02:33:53 +02001785 select ARM64
Sergey Temerkhanov746f9852015-10-14 09:55:50 -07001786 select OF_CONTROL
Alexander Grafcf2c7782018-01-25 12:05:52 +01001787 select PL01X_SERIAL
Michal Simek5ed063d2018-07-23 15:55:13 +02001788 select SYS_CACHE_SHIFT_7
Sergey Temerkhanov746f9852015-10-14 09:55:50 -07001789
maxims@google.com4697abe2017-01-18 13:44:55 -08001790config ARCH_ASPEED
1791 bool "Support Aspeed SoCs"
maxims@google.com4697abe2017-01-18 13:44:55 -08001792 select DM
Michal Simek5ed063d2018-07-23 15:55:13 +02001793 select OF_CONTROL
Michal Simek08a00cb2018-07-23 15:55:14 +02001794 imply CMD_DM
maxims@google.com4697abe2017-01-18 13:44:55 -08001795
liu haoe3aafef2019-10-31 07:51:08 +00001796config TARGET_DURIAN
1797 bool "Support Phytium Durian Platform"
1798 select ARM64
1799 help
1800 Support for durian platform.
1801 It has 2GB Sdram, uart and pcie.
1802
Alex Nemirovsky7d706a82020-01-30 12:34:59 -08001803config TARGET_PRESIDIO_ASIC
1804 bool "Support Cortina Presidio ASIC Platform"
1805 select ARM64
1806
Andrii Anisov770a8ee2020-08-06 12:42:47 +03001807config TARGET_XENGUEST_ARM64
1808 bool "Xen guest ARM64"
1809 select ARM64
1810 select XEN
1811 select OF_CONTROL
1812 select LINUX_KERNEL_IMAGE_HEADER
Peng Fan384d5cf2020-08-06 12:42:50 +03001813 select XEN_SERIAL
Oleksandr Andrushchenko60e49ff2020-08-06 12:42:53 +03001814 select SSCANF
Masahiro Yamadadd840582014-07-30 14:08:14 +09001815endchoice
1816
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001817config ARCH_SUPPORT_TFABOOT
1818 bool
1819
1820config TFABOOT
1821 bool "Support for booting from TF-A"
1822 depends on ARCH_SUPPORT_TFABOOT
1823 default n
1824 help
Andre Przywaracee2e022020-09-30 15:45:07 +01001825 Some platforms support the setup of secure registers (for instance
1826 for CPU errata handling) or provide secure services like PSCI.
1827 Those services could also be provided by other firmware parts
1828 like TF-A (Trusted Firmware for Cortex-A), in which case U-Boot
1829 does not need to (and cannot) execute this code.
1830 Enabling this option will make a U-Boot binary that is relying
1831 on other firmware layers to provide secure functionality.
AKASHI Takahiro6324d502019-07-03 10:44:39 +09001832
Andrew F. Davis5fbed8f2018-02-14 11:53:37 -06001833config TI_SECURE_DEVICE
1834 bool "HS Device Type Support"
Andrew F. Davis3a543a82019-04-12 12:54:45 -04001835 depends on ARCH_KEYSTONE || ARCH_OMAP2PLUS || ARCH_K3
Andrew F. Davis5fbed8f2018-02-14 11:53:37 -06001836 help
1837 If a high secure (HS) device type is being used, this config
1838 must be set. This option impacts various aspects of the
1839 build system (to create signed boot images that can be
1840 authenticated) and the code. See the doc/README.ti-secure
1841 file for further details.
1842
Tom Rini9c4b0132019-03-19 07:14:37 -04001843if AM43XX || AM33XX || OMAP54XX || ARCH_KEYSTONE
1844config ISW_ENTRY_ADDR
1845 hex "Address in memory or XIP address of bootloader entry point"
1846 default 0x402F4000 if AM43XX
1847 default 0x402F0400 if AM33XX
1848 default 0x40301350 if OMAP54XX
1849 help
1850 After any reset, the boot ROM searches the boot media for a valid
1851 boot image. For non-XIP devices, the ROM then copies the image into
1852 internal memory. For all boot modes, after the ROM processes the
1853 boot image it eventually computes the entry point address depending
1854 on the device type (secure/non-secure), boot media (xip/non-xip) and
1855 image headers.
1856endif
1857
maxims@google.com4697abe2017-01-18 13:44:55 -08001858source "arch/arm/mach-aspeed/Kconfig"
1859
Masahiro Yamada4614b892015-02-20 17:04:01 +09001860source "arch/arm/mach-at91/Kconfig"
1861
Masahiro Yamadaddf6bd42015-03-19 19:42:56 +09001862source "arch/arm/mach-bcm283x/Kconfig"
Masahiro Yamada3491ba62014-08-31 07:11:01 +09001863
Thomas Fitzsimmons894c3ad2018-06-08 17:59:45 -04001864source "arch/arm/mach-bcmstb/Kconfig"
1865
Masahiro Yamadaddf6bd42015-03-19 19:42:56 +09001866source "arch/arm/mach-davinci/Kconfig"
Simon Glass34e609c2015-02-05 21:41:39 -07001867
Thomas Abraham77b55e82015-08-03 17:58:00 +05301868source "arch/arm/mach-exynos/Kconfig"
Masahiro Yamada72df68c2014-08-31 07:11:00 +09001869
Masahiro Yamada72a8ff42015-02-20 17:04:08 +09001870source "arch/arm/mach-highbank/Kconfig"
Masahiro Yamadaef2b6942014-08-31 07:11:07 +09001871
Masahiro Yamada5cbbd9b2015-04-21 21:59:36 +09001872source "arch/arm/mach-integrator/Kconfig"
1873
Robert Markoe479a7d2020-07-06 10:37:54 +02001874source "arch/arm/mach-ipq40xx/Kconfig"
1875
Lokesh Vutla586bde92018-08-27 15:57:08 +05301876source "arch/arm/mach-k3/Kconfig"
1877
Masahiro Yamada39a72342015-02-20 17:04:11 +09001878source "arch/arm/mach-keystone/Kconfig"
Masahiro Yamadac338f092014-08-31 07:11:05 +09001879
Masahiro Yamada56f86e32015-02-20 17:04:06 +09001880source "arch/arm/mach-kirkwood/Kconfig"
Masahiro Yamada47539e22014-08-31 07:10:59 +09001881
Trevor Woernerb3d9a8b2020-05-06 08:02:36 -04001882source "arch/arm/mach-lpc32xx/Kconfig"
Vladimir Zapolskiyee54dfe2018-09-17 21:43:03 +03001883
Stefan Roesec3d89142015-08-25 13:18:38 +02001884source "arch/arm/mach-mvebu/Kconfig"
1885
Suneel Garapati03c22882019-10-19 18:37:55 -07001886source "arch/arm/mach-octeontx/Kconfig"
Suneel Garapati0a668f62019-10-19 18:47:37 -07001887
1888source "arch/arm/mach-octeontx2/Kconfig"
1889
York Sun0a37cf82016-09-26 08:09:27 -07001890source "arch/arm/cpu/armv7/ls102xa/Kconfig"
1891
Fabio Estevam07df6972017-11-03 13:40:08 -02001892source "arch/arm/mach-imx/mx2/Kconfig"
1893
Magnus Lilja3159ec62018-05-11 14:06:54 +02001894source "arch/arm/mach-imx/mx3/Kconfig"
1895
Peng Fan7a7391f2018-01-10 13:20:19 +08001896source "arch/arm/mach-imx/mx5/Kconfig"
Adrian Alonso1a8150d2015-09-03 11:49:28 -05001897
Stefano Babic552a8482017-06-29 10:16:06 +02001898source "arch/arm/mach-imx/mx6/Kconfig"
Boris BREZILLON89ebc822015-03-04 13:13:03 +01001899
Peng Fan7a7391f2018-01-10 13:20:19 +08001900source "arch/arm/mach-imx/mx7/Kconfig"
1901
1902source "arch/arm/mach-imx/mx7ulp/Kconfig"
1903
Peng Fanb2b8b9b2018-10-18 14:28:08 +02001904source "arch/arm/mach-imx/imx8/Kconfig"
1905
Peng Fancd357ad2018-11-20 10:19:25 +00001906source "arch/arm/mach-imx/imx8m/Kconfig"
Andrej Rosano424ee3d2015-04-08 18:56:29 +02001907
Giulio Benetti77eb9a92020-01-10 15:51:47 +01001908source "arch/arm/mach-imx/imxrt/Kconfig"
1909
Stefan Agnerc5343d42018-02-06 09:44:34 +01001910source "arch/arm/mach-imx/mxs/Kconfig"
1911
Tom Rini983e3702016-11-07 21:34:54 -05001912source "arch/arm/mach-omap2/Kconfig"
Madan Srinivas63847262016-05-19 19:10:43 -05001913
York Sunda28e582016-09-26 08:09:24 -07001914source "arch/arm/cpu/armv8/fsl-layerscape/Kconfig"
1915
Masahiro Yamada3e93b4e2015-02-20 17:04:09 +09001916source "arch/arm/mach-orion5x/Kconfig"
Masahiro Yamada22f2be72014-08-31 07:11:06 +09001917
Manivannan Sadhasivam97775d22018-06-14 23:38:31 +05301918source "arch/arm/mach-owl/Kconfig"
1919
Nobuhiro Iwamatsubadbb632015-10-09 16:40:09 +09001920source "arch/arm/mach-rmobile/Kconfig"
Masahiro Yamadaf40b9892014-08-31 07:10:57 +09001921
Beniamino Galvanibfcef282016-05-08 08:30:16 +02001922source "arch/arm/mach-meson/Kconfig"
1923
Ryder Leecbd2fba2018-11-15 10:07:52 +08001924source "arch/arm/mach-mediatek/Kconfig"
1925
Tuomas Tynkkynen32f11822017-09-19 23:18:07 +03001926source "arch/arm/mach-qemu/Kconfig"
1927
Simon Glass2444dae2015-08-30 16:55:38 -06001928source "arch/arm/mach-rockchip/Kconfig"
1929
Minkyu Kang225f5ee2015-11-20 15:24:57 +09001930source "arch/arm/mach-s5pc1xx/Kconfig"
Simon Glass311757b2014-10-07 22:01:50 -06001931
Mateusz Kulikowski08592132016-03-31 23:12:32 +02001932source "arch/arm/mach-snapdragon/Kconfig"
1933
Masahiro Yamada7865f4b2015-04-21 20:38:20 +09001934source "arch/arm/mach-socfpga/Kconfig"
1935
Patrice Chotard94e9a4e2017-02-21 13:37:04 +01001936source "arch/arm/mach-sti/Kconfig"
1937
Vikas Manocha0a61ee82016-01-15 17:49:06 -08001938source "arch/arm/mach-stm32/Kconfig"
1939
Patrick Delaunay2514c2d2018-03-12 10:46:10 +01001940source "arch/arm/mach-stm32mp/Kconfig"
1941
Masahiro Yamada3abfd882017-04-28 19:42:18 +09001942source "arch/arm/mach-sunxi/Kconfig"
1943
Masahiro Yamada09f455d2015-02-20 17:04:04 +09001944source "arch/arm/mach-tegra/Kconfig"
Masahiro Yamadaddd960e2014-08-31 07:10:56 +09001945
Stephan Gerhold689088f2020-01-04 18:45:17 +01001946source "arch/arm/mach-u8500/Kconfig"
1947
Masahiro Yamada4c425572015-02-27 02:26:42 +09001948source "arch/arm/mach-uniphier/Kconfig"
Masahiro Yamada66cba042014-10-03 19:21:07 +09001949
Stefan Agner7966b432017-03-13 18:41:36 -07001950source "arch/arm/cpu/armv7/vf610/Kconfig"
1951
Masahiro Yamada0107f242015-03-16 16:43:22 +09001952source "arch/arm/mach-zynq/Kconfig"
Masahiro Yamadaddd960e2014-08-31 07:10:56 +09001953
Michal Simek274ccb52019-01-17 08:22:43 +01001954source "arch/arm/mach-zynqmp/Kconfig"
1955
Michal Simekec48b6c2018-08-22 14:55:27 +02001956source "arch/arm/mach-versal/Kconfig"
1957
Michal Simek1d6c54e2018-04-12 17:39:46 +02001958source "arch/arm/mach-zynqmp-r5/Kconfig"
1959
Hans de Goedeea624e12014-11-14 09:34:30 +01001960source "arch/arm/cpu/armv7/Kconfig"
1961
Linus Walleij23b58772015-03-09 10:53:21 +01001962source "arch/arm/cpu/armv8/Kconfig"
1963
Stefano Babic552a8482017-06-29 10:16:06 +02001964source "arch/arm/mach-imx/Kconfig"
Boris BREZILLONa05a6042015-03-04 13:13:04 +01001965
Stefan Bosch95e9a8e2020-07-10 19:07:26 +02001966source "arch/arm/mach-nexell/Kconfig"
1967
Usama Arif565add12020-08-12 16:12:53 +01001968source "board/armltd/total_compute/Kconfig"
1969
Heiko Schocherd8ccbe92016-06-07 08:31:25 +02001970source "board/bosch/shc/Kconfig"
Sjoerd Simons45123802019-02-25 15:33:00 +00001971source "board/bosch/guardian/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001972source "board/CarMediaLab/flea3/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001973source "board/Marvell/aspenite/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001974source "board/Marvell/gplugd/Kconfig"
Suneel Garapati03c22882019-10-19 18:37:55 -07001975source "board/Marvell/octeontx/Kconfig"
Suneel Garapati0a668f62019-10-19 18:47:37 -07001976source "board/Marvell/octeontx2/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001977source "board/armltd/vexpress64/Kconfig"
Alex Nemirovsky7d706a82020-01-30 12:34:59 -08001978source "board/cortina/presidio-asic/Kconfig"
Philippe Reynesbe2fc082019-01-31 18:57:36 +01001979source "board/broadcom/bcm963158/Kconfig"
Philippe Reynes645b7ec2020-01-07 20:14:17 +01001980source "board/broadcom/bcm968360bg/Kconfig"
Philippe Reynes40b59b02018-10-11 18:31:58 +02001981source "board/broadcom/bcm968580xref/Kconfig"
Rayagonda Kokatanur291635a2020-07-15 22:48:55 +05301982source "board/broadcom/bcmns3/Kconfig"
Sergey Temerkhanov746f9852015-10-14 09:55:50 -07001983source "board/cavium/thunderx/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09001984source "board/cirrus/edb93xx/Kconfig"
Felix Brack85ab0452018-01-23 18:27:22 +01001985source "board/eets/pdu001/Kconfig"
Bin Meng6f332762018-10-15 02:21:18 -07001986source "board/emulation/qemu-arm/Kconfig"
Prabhakar Kushwaha44937212015-11-09 16:42:07 +05301987source "board/freescale/ls2080aqds/Kconfig"
1988source "board/freescale/ls2080ardb/Kconfig"
Ashish Kumare84a3242017-08-31 16:12:54 +05301989source "board/freescale/ls1088a/Kconfig"
Yuantian Tang353f36d2019-04-10 16:43:34 +08001990source "board/freescale/ls1028a/Kconfig"
Wang Huan550e3dc2014-09-05 13:52:44 +08001991source "board/freescale/ls1021aqds/Kconfig"
Shaohui Xie02b5d2e2015-11-11 17:58:37 +08001992source "board/freescale/ls1043aqds/Kconfig"
Wang Huanc8a7d9d2014-09-05 13:52:45 +08001993source "board/freescale/ls1021atwr/Kconfig"
Jianchao Wang87821222019-07-19 00:30:01 +03001994source "board/freescale/ls1021atsn/Kconfig"
Feng Li20c700f2016-11-03 14:15:17 +08001995source "board/freescale/ls1021aiot/Kconfig"
Shaohui Xie126fe702016-09-07 17:56:14 +08001996source "board/freescale/ls1046aqds/Kconfig"
Mingkai Huf3a8e2b2015-10-26 19:47:52 +08001997source "board/freescale/ls1043ardb/Kconfig"
Mingkai Hudd029362016-09-07 18:47:28 +08001998source "board/freescale/ls1046ardb/Kconfig"
Vabhav Sharmad90c7ac2019-06-06 12:35:28 +00001999source "board/freescale/ls1046afrwy/Kconfig"
Prabhakar Kushwaha9d044fc2016-06-03 18:41:34 +05302000source "board/freescale/ls1012aqds/Kconfig"
Prabhakar Kushwaha3b6e3892016-06-03 18:41:35 +05302001source "board/freescale/ls1012ardb/Kconfig"
Prabhakar Kushwahaff78aa22016-06-03 18:41:36 +05302002source "board/freescale/ls1012afrdm/Kconfig"
Priyanka Jain58c3e622018-11-28 13:04:27 +00002003source "board/freescale/lx2160a/Kconfig"
Marcin Niestrojab38bf62017-01-25 09:53:08 +01002004source "board/grinn/chiliboard/Kconfig"
Tom Rini345243e2015-09-02 15:32:20 -04002005source "board/hisilicon/hikey/Kconfig"
Manivannan Sadhasivamc62c7ef2019-08-02 20:40:09 +05302006source "board/hisilicon/hikey960/Kconfig"
Jorge Ramirez-Ortizd7542542017-06-26 15:52:49 +02002007source "board/hisilicon/poplar/Kconfig"
Ladislav Michla96c08f2017-04-01 17:17:16 +02002008source "board/isee/igep003x/Kconfig"
Michael Walle4ceb5c62020-10-15 23:08:57 +02002009source "board/kontron/sl28/Kconfig"
Parthiban Nallathambi10e959a2020-07-27 16:48:41 +02002010source "board/myir/mys_6ulx/Kconfig"
Masahiro Yamadadd840582014-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 Manocha9fa32b12014-11-18 10:42:22 -08002016source "board/st/stv0991/Kconfig"
Enric Balletbò i Serra9d1b2982015-09-07 07:43:20 +02002017source "board/tcl/sl50/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09002018source "board/toradex/colibri_pxa270/Kconfig"
Parthiban Nallathambid8d33b62019-04-18 00:04:09 +02002019source "board/variscite/dart_6ul/Kconfig"
Yegor Yefremov6ce89322015-05-29 19:27:29 +02002020source "board/vscom/baltos/Kconfig"
liu haoe3aafef2019-10-31 07:51:08 +00002021source "board/phytium/durian/Kconfig"
Andrii Anisov770a8ee2020-08-06 12:42:47 +03002022source "board/xen/xenguest_arm64/Kconfig"
Aleksandar Gerasimovski91ee5472021-02-22 18:18:11 +00002023source "board/keymile/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +09002024
Masahiro Yamada51b17d42014-09-01 11:06:34 +09002025source "arch/arm/Kconfig.debug"
2026
Masahiro Yamadadd840582014-07-30 14:08:14 +09002027endmenu
Philipp Tomsichb5299932017-08-03 23:23:55 +02002028
2029config SPL_LDSCRIPT
Michal Simek6e7bdde2018-07-23 15:55:12 +02002030 default "arch/arm/cpu/arm926ejs/mxs/u-boot-spl.lds" if (ARCH_MX23 || ARCH_MX28) && !SPL_FRAMEWORK
2031 default "arch/arm/cpu/arm1136/u-boot-spl.lds" if CPU_ARM1136
Philipp Tomsichb5299932017-08-03 23:23:55 +02002032 default "arch/arm/cpu/armv8/u-boot-spl.lds" if ARM64