Merge tag 'xilinx-for-v2021.01' of https://gitlab.denx.de/u-boot/custodians/u-boot...
[platform/kernel/u-boot.git] / arch / arm / Kconfig
1 menu "ARM architecture"
2         depends on ARM
3
4 config SYS_ARCH
5         default "arm"
6
7 config ARM64
8         bool
9         select PHYS_64BIT
10         select SYS_CACHE_SHIFT_6
11
12 if ARM64
13 config POSITION_INDEPENDENT
14         bool "Generate position-independent pre-relocation code"
15         select INIT_SP_RELATIVE
16         help
17           U-Boot expects to be linked to a specific hard-coded address, and to
18           be loaded to and run from that address. This option lifts that
19           restriction, thus allowing the code to be loaded to and executed from
20           almost any 4K aligned address. This logic relies on the relocation
21           information that is embedded in the binary to support U-Boot
22           relocating itself to the top-of-RAM later during execution.
23
24 config INIT_SP_RELATIVE
25         bool "Specify the early stack pointer relative to the .bss section"
26         help
27           U-Boot typically uses a hard-coded value for the stack pointer
28           before relocation. Enable this option to instead calculate the
29           initial SP at run-time. This is useful to avoid hard-coding addresses
30           into U-Boot, so that it can be loaded and executed at arbitrary
31           addresses and thus avoid using arbitrary addresses at runtime.
32
33           If this option is enabled, the early stack pointer is set to
34           &_bss_start with a offset value added. The offset is specified by
35           SYS_INIT_SP_BSS_OFFSET.
36
37 config SYS_INIT_SP_BSS_OFFSET
38         int "Early stack offset from the .bss base address"
39         depends on INIT_SP_RELATIVE
40         default 524288
41         help
42           This option's value is the offset added to &_bss_start in order to
43           calculate the stack pointer. This offset should be large enough so
44           that the early malloc region, global data (gd), and early stack usage
45           do not overlap any appended DTB.
46
47 config LINUX_KERNEL_IMAGE_HEADER
48         bool
49         help
50           Place a Linux kernel image header at the start of the U-Boot binary.
51           The format of the header is described in the Linux kernel source at
52           Documentation/arm64/booting.txt. This feature is useful since the
53           image header reports the amount of memory (BSS and similar) that
54           U-Boot needs to use, but which isn't part of the binary.
55
56 if LINUX_KERNEL_IMAGE_HEADER
57 config LNX_KRNL_IMG_TEXT_OFFSET_BASE
58         hex
59         help
60           The value subtracted from CONFIG_SYS_TEXT_BASE to calculate the
61           TEXT_OFFSET value written to the Linux kernel image header.
62 endif
63 endif
64
65 config GIC_V3_ITS
66         bool "ARM GICV3 ITS"
67         select REGMAP
68         select SYSCON
69         help
70           ARM GICV3 Interrupt translation service (ITS).
71           Basic support for programming locality specific peripheral
72           interrupts (LPI) configuration tables and enable LPI tables.
73           LPI configuration table can be used by u-boot or Linux.
74           ARM GICV3 has limitation, once the LPI table is enabled, LPI
75           configuration table can not be re-programmed, unless GICV3 reset.
76
77 config STATIC_RELA
78         bool
79         default y if ARM64 && !POSITION_INDEPENDENT
80
81 config DMA_ADDR_T_64BIT
82         bool
83         default y if ARM64
84
85 config HAS_VBAR
86         bool
87
88 config HAS_THUMB2
89         bool
90
91 # Used for compatibility with asm files copied from the kernel
92 config ARM_ASM_UNIFIED
93         bool
94         default y
95
96 # Used for compatibility with asm files copied from the kernel
97 config THUMB2_KERNEL
98         bool
99
100 config SYS_ICACHE_OFF
101         bool "Do not enable icache"
102         default n
103         help
104           Do not enable instruction cache in U-Boot.
105
106 config SPL_SYS_ICACHE_OFF
107         bool "Do not enable icache in SPL"
108         depends on SPL
109         default SYS_ICACHE_OFF
110         help
111           Do not enable instruction cache in SPL.
112
113 config SYS_DCACHE_OFF
114         bool "Do not enable dcache"
115         default n
116         help
117           Do not enable data cache in U-Boot.
118
119 config SPL_SYS_DCACHE_OFF
120         bool "Do not enable dcache in SPL"
121         depends on SPL
122         default SYS_DCACHE_OFF
123         help
124           Do not enable data cache in SPL.
125
126 config SYS_ARM_CACHE_CP15
127         bool "CP15 based cache enabling support"
128         help
129           Select this if your processor suports enabling caches by using
130           CP15 registers.
131
132 config SYS_ARM_MMU
133         bool "MMU-based Paged Memory Management Support"
134         select SYS_ARM_CACHE_CP15
135         help
136           Select if you want MMU-based virtualised addressing space
137           support via paged memory management.
138
139 config SYS_ARM_MPU
140         bool 'Use the ARM v7 PMSA Compliant MPU'
141         help
142           Some ARM systems without an MMU have instead a Memory Protection
143           Unit (MPU) that defines the type and permissions for regions of
144           memory.
145           If your CPU has an MPU then you should choose 'y' here unless you
146           know that you do not want to use the MPU.
147
148 # If set, the workarounds for these ARM errata are applied early during U-Boot
149 # startup. Note that in general these options force the workarounds to be
150 # applied; no CPU-type/version detection exists, unlike the similar options in
151 # the Linux kernel. Do not set these options unless they apply!  Also note that
152 # the following can be machine-specific errata. These do have ability to
153 # provide rudimentary version and machine-specific checks, but expect no
154 # product checks:
155 # CONFIG_ARM_ERRATA_430973
156 # CONFIG_ARM_ERRATA_454179
157 # CONFIG_ARM_ERRATA_621766
158 # CONFIG_ARM_ERRATA_798870
159 # CONFIG_ARM_ERRATA_801819
160 # CONFIG_ARM_CORTEX_A8_CVE_2017_5715
161 # CONFIG_ARM_CORTEX_A15_CVE_2017_5715
162
163 config ARM_ERRATA_430973
164         bool
165
166 config ARM_ERRATA_454179
167         bool
168
169 config ARM_ERRATA_621766
170         bool
171
172 config ARM_ERRATA_716044
173         bool
174
175 config ARM_ERRATA_725233
176         bool
177
178 config ARM_ERRATA_742230
179         bool
180
181 config ARM_ERRATA_743622
182         bool
183
184 config ARM_ERRATA_751472
185         bool
186
187 config ARM_ERRATA_761320
188         bool
189
190 config ARM_ERRATA_773022
191         bool
192
193 config ARM_ERRATA_774769
194         bool
195
196 config ARM_ERRATA_794072
197         bool
198
199 config ARM_ERRATA_798870
200         bool
201
202 config ARM_ERRATA_801819
203         bool
204
205 config ARM_ERRATA_826974
206         bool
207
208 config ARM_ERRATA_828024
209         bool
210
211 config ARM_ERRATA_829520
212         bool
213
214 config ARM_ERRATA_833069
215         bool
216
217 config ARM_ERRATA_833471
218         bool
219
220 config ARM_ERRATA_845369
221         bool
222
223 config ARM_ERRATA_852421
224         bool
225
226 config ARM_ERRATA_852423
227         bool
228
229 config ARM_ERRATA_855873
230         bool
231
232 config ARM_CORTEX_A8_CVE_2017_5715
233         bool
234
235 config ARM_CORTEX_A15_CVE_2017_5715
236         bool
237
238 config CPU_ARM720T
239         bool
240         select SYS_CACHE_SHIFT_5
241         imply SYS_ARM_MMU
242
243 config CPU_ARM920T
244         bool
245         select SYS_CACHE_SHIFT_5
246         imply SYS_ARM_MMU
247
248 config CPU_ARM926EJS
249         bool
250         select SYS_CACHE_SHIFT_5
251         imply SYS_ARM_MMU
252
253 config CPU_ARM946ES
254         bool
255         select SYS_CACHE_SHIFT_5
256         imply SYS_ARM_MMU
257
258 config CPU_ARM1136
259         bool
260         select SYS_CACHE_SHIFT_5
261         imply SYS_ARM_MMU
262
263 config CPU_ARM1176
264         bool
265         select HAS_VBAR
266         select SYS_CACHE_SHIFT_5
267         imply SYS_ARM_MMU
268
269 config CPU_V7A
270         bool
271         select HAS_THUMB2
272         select HAS_VBAR
273         select SYS_CACHE_SHIFT_6
274         imply SYS_ARM_MMU
275
276 config CPU_V7M
277         bool
278         select HAS_THUMB2
279         select SYS_ARM_MPU
280         select SYS_CACHE_SHIFT_5
281         select SYS_THUMB_BUILD
282         select THUMB2_KERNEL
283
284 config CPU_V7R
285         bool
286         select HAS_THUMB2
287         select SYS_ARM_CACHE_CP15
288         select SYS_ARM_MPU
289         select SYS_CACHE_SHIFT_6
290
291 config CPU_PXA
292         bool
293         select SYS_CACHE_SHIFT_5
294         imply SYS_ARM_MMU
295
296 config CPU_SA1100
297         bool
298         select SYS_CACHE_SHIFT_5
299         imply SYS_ARM_MMU
300
301 config SYS_CPU
302         default "arm720t" if CPU_ARM720T
303         default "arm920t" if CPU_ARM920T
304         default "arm926ejs" if CPU_ARM926EJS
305         default "arm946es" if CPU_ARM946ES
306         default "arm1136" if CPU_ARM1136
307         default "arm1176" if CPU_ARM1176
308         default "armv7" if CPU_V7A
309         default "armv7" if CPU_V7R
310         default "armv7m" if CPU_V7M
311         default "pxa" if CPU_PXA
312         default "sa1100" if CPU_SA1100
313         default "armv8" if ARM64
314
315 config SYS_ARM_ARCH
316         int
317         default 4 if CPU_ARM720T
318         default 4 if CPU_ARM920T
319         default 5 if CPU_ARM926EJS
320         default 5 if CPU_ARM946ES
321         default 6 if CPU_ARM1136
322         default 6 if CPU_ARM1176
323         default 7 if CPU_V7A
324         default 7 if CPU_V7M
325         default 7 if CPU_V7R
326         default 5 if CPU_PXA
327         default 4 if CPU_SA1100
328         default 8 if ARM64
329
330 config SYS_CACHE_SHIFT_5
331         bool
332
333 config SYS_CACHE_SHIFT_6
334         bool
335
336 config SYS_CACHE_SHIFT_7
337         bool
338
339 config SYS_CACHELINE_SIZE
340         int
341         default 128 if SYS_CACHE_SHIFT_7
342         default 64 if SYS_CACHE_SHIFT_6
343         default 32 if SYS_CACHE_SHIFT_5
344
345 choice
346         prompt "Select the ARM data write cache policy"
347         default SYS_ARM_CACHE_WRITETHROUGH if TARGET_BCMCYGNUS || \
348                                               TARGET_BCMNSP || CPU_PXA || RZA1
349         default SYS_ARM_CACHE_WRITEBACK
350
351 config SYS_ARM_CACHE_WRITEBACK
352         bool "Write-back (WB)"
353         help
354           A write updates the cache only and marks the cache line as dirty.
355           External memory is updated only when the line is evicted or explicitly
356           cleaned.
357
358 config SYS_ARM_CACHE_WRITETHROUGH
359         bool "Write-through (WT)"
360         help
361           A write updates both the cache and the external memory system.
362           This does not mark the cache line as dirty.
363
364 config SYS_ARM_CACHE_WRITEALLOC
365         bool "Write allocation (WA)"
366         help
367           A cache line is allocated on a write miss. This means that executing a
368           store instruction on the processor might cause a burst read to occur.
369           There is a linefill to obtain the data for the cache line, before the
370           write is performed.
371 endchoice
372
373 config ARCH_CPU_INIT
374         bool "Enable ARCH_CPU_INIT"
375         help
376           Some architectures require a call to arch_cpu_init().
377           Say Y here to enable it
378
379 config SYS_ARCH_TIMER
380         bool "ARM Generic Timer support"
381         depends on CPU_V7A || ARM64
382         default y if ARM64
383         help
384           The ARM Generic Timer (aka arch-timer) provides an architected
385           interface to a timer source on an SoC.
386           It is mandatory for ARMv8 implementation and widely available
387           on ARMv7 systems.
388
389 config ARM_SMCCC
390         bool "Support for ARM SMC Calling Convention (SMCCC)"
391         depends on CPU_V7A || ARM64
392         select ARM_PSCI_FW
393         help
394           Say Y here if you want to enable ARM SMC Calling Convention.
395           This should be enabled if U-Boot needs to communicate with system
396           firmware (for example, PSCI) according to SMCCC.
397
398 config SEMIHOSTING
399         bool "support boot from semihosting"
400         help
401           In emulated environments, semihosting is a way for
402           the hosted environment to call out to the emulator to
403           retrieve files from the host machine.
404
405 config SYS_THUMB_BUILD
406         bool "Build U-Boot using the Thumb instruction set"
407         depends on !ARM64
408         help
409            Use this flag to build U-Boot using the Thumb instruction set for
410            ARM architectures. Thumb instruction set provides better code
411            density. For ARM architectures that support Thumb2 this flag will
412            result in Thumb2 code generated by GCC.
413
414 config SPL_SYS_THUMB_BUILD
415         bool "Build SPL using the Thumb instruction set"
416         default y if SYS_THUMB_BUILD
417         depends on !ARM64 && SPL
418         help
419            Use this flag to build SPL using the Thumb instruction set for
420            ARM architectures. Thumb instruction set provides better code
421            density. For ARM architectures that support Thumb2 this flag will
422            result in Thumb2 code generated by GCC.
423
424 config TPL_SYS_THUMB_BUILD
425         bool "Build TPL using the Thumb instruction set"
426         default y if SYS_THUMB_BUILD
427         depends on TPL && !ARM64
428         help
429            Use this flag to build TPL using the Thumb instruction set for
430            ARM architectures. Thumb instruction set provides better code
431            density. For ARM architectures that support Thumb2 this flag will
432            result in Thumb2 code generated by GCC.
433
434
435 config SYS_L2CACHE_OFF
436         bool "L2cache off"
437         help
438           If SoC does not support L2CACHE or one does not want to enable
439           L2CACHE, choose this option.
440
441 config ENABLE_ARM_SOC_BOOT0_HOOK
442         bool "prepare BOOT0 header"
443         help
444           If the SoC's BOOT0 requires a header area filled with (magic)
445           values, then choose this option, and create a file included as
446           <asm/arch/boot0.h> which contains the required assembler code.
447
448 config ARM_CORTEX_CPU_IS_UP
449         bool
450         default n
451
452 config USE_ARCH_MEMCPY
453         bool "Use an assembly optimized implementation of memcpy"
454         default y
455         depends on !ARM64
456         help
457           Enable the generation of an optimized version of memcpy.
458           Such an implementation may be faster under some conditions
459           but may increase the binary size.
460
461 config SPL_USE_ARCH_MEMCPY
462         bool "Use an assembly optimized implementation of memcpy for SPL"
463         default y if USE_ARCH_MEMCPY
464         depends on !ARM64 && SPL
465         help
466           Enable the generation of an optimized version of memcpy.
467           Such an implementation may be faster under some conditions
468           but may increase the binary size.
469
470 config TPL_USE_ARCH_MEMCPY
471         bool "Use an assembly optimized implementation of memcpy for TPL"
472         default y if USE_ARCH_MEMCPY
473         depends on !ARM64 && TPL
474         help
475           Enable the generation of an optimized version of memcpy.
476           Such an implementation may be faster under some conditions
477           but may increase the binary size.
478
479 config USE_ARCH_MEMSET
480         bool "Use an assembly optimized implementation of memset"
481         default y
482         depends on !ARM64
483         help
484           Enable the generation of an optimized version of memset.
485           Such an implementation may be faster under some conditions
486           but may increase the binary size.
487
488 config SPL_USE_ARCH_MEMSET
489         bool "Use an assembly optimized implementation of memset for SPL"
490         default y if USE_ARCH_MEMSET
491         depends on !ARM64 && SPL
492         help
493           Enable the generation of an optimized version of memset.
494           Such an implementation may be faster under some conditions
495           but may increase the binary size.
496
497 config TPL_USE_ARCH_MEMSET
498         bool "Use an assembly optimized implementation of memset for TPL"
499         default y if USE_ARCH_MEMSET
500         depends on !ARM64 && TPL
501         help
502           Enable the generation of an optimized version of memset.
503           Such an implementation may be faster under some conditions
504           but may increase the binary size.
505
506 config ARM64_SUPPORT_AARCH32
507         bool "ARM64 system support AArch32 execution state"
508         depends on ARM64
509         default y if !TARGET_THUNDERX_88XX
510         help
511           This ARM64 system supports AArch32 execution state.
512
513 choice
514         prompt "Target select"
515         default TARGET_HIKEY
516
517 config ARCH_AT91
518         bool "Atmel AT91"
519         select SPL_BOARD_INIT if SPL && !TARGET_SMARTWEB
520         select SPL_SEPARATE_BSS if SPL
521
522 config TARGET_EDB93XX
523         bool "Support edb93xx"
524         select CPU_ARM920T
525         select PL010_SERIAL
526
527 config TARGET_ASPENITE
528         bool "Support aspenite"
529         select CPU_ARM926EJS
530
531 config TARGET_GPLUGD
532         bool "Support gplugd"
533         select CPU_ARM926EJS
534
535 config ARCH_DAVINCI
536         bool "TI DaVinci"
537         select CPU_ARM926EJS
538         select SPL_DM_SPI if SPL
539         imply CMD_SAVES
540         help
541           Support for TI's DaVinci platform.
542
543 config ARCH_KIRKWOOD
544         bool "Marvell Kirkwood"
545         select ARCH_MISC_INIT
546         select BOARD_EARLY_INIT_F
547         select CPU_ARM926EJS
548
549 config ARCH_MVEBU
550         bool "Marvell MVEBU family (Armada XP/375/38x/3700/7K/8K)"
551         select DM
552         select DM_ETH
553         select DM_SERIAL
554         select DM_SPI
555         select DM_SPI_FLASH
556         select SPL_DM_SPI if SPL
557         select SPL_DM_SPI_FLASH if SPL
558         select OF_CONTROL
559         select OF_SEPARATE
560         select SPI
561         imply CMD_DM
562
563 config TARGET_APF27
564         bool "Support apf27"
565         select CPU_ARM926EJS
566         select SUPPORT_SPL
567
568 config ARCH_ORION5X
569         bool "Marvell Orion"
570         select CPU_ARM926EJS
571
572 config TARGET_SPEAR300
573         bool "Support spear300"
574         select BOARD_EARLY_INIT_F
575         select CPU_ARM926EJS
576         select PL011_SERIAL
577         imply CMD_SAVES
578
579 config TARGET_SPEAR310
580         bool "Support spear310"
581         select BOARD_EARLY_INIT_F
582         select CPU_ARM926EJS
583         select PL011_SERIAL
584         imply CMD_SAVES
585
586 config TARGET_SPEAR320
587         bool "Support spear320"
588         select BOARD_EARLY_INIT_F
589         select CPU_ARM926EJS
590         select PL011_SERIAL
591         imply CMD_SAVES
592
593 config TARGET_SPEAR600
594         bool "Support spear600"
595         select BOARD_EARLY_INIT_F
596         select CPU_ARM926EJS
597         select PL011_SERIAL
598         imply CMD_SAVES
599
600 config TARGET_STV0991
601         bool "Support stv0991"
602         select CPU_V7A
603         select DM
604         select DM_SERIAL
605         select DM_SPI
606         select DM_SPI_FLASH
607         select PL01X_SERIAL
608         select SPI
609         select SPI_FLASH
610         imply CMD_DM
611
612 config TARGET_X600
613         bool "Support x600"
614         select BOARD_LATE_INIT
615         select CPU_ARM926EJS
616         select PL011_SERIAL
617         select SUPPORT_SPL
618
619 config TARGET_FLEA3
620         bool "Support flea3"
621         select CPU_ARM1136
622
623 config TARGET_MX35PDK
624         bool "Support mx35pdk"
625         select BOARD_LATE_INIT
626         select CPU_ARM1136
627
628 config ARCH_BCM283X
629         bool "Broadcom BCM283X family"
630         select DM
631         select DM_GPIO
632         select DM_SERIAL
633         select OF_CONTROL
634         select PL01X_SERIAL
635         select SERIAL_SEARCH_ALL
636         imply CMD_DM
637         imply FAT_WRITE
638
639 config ARCH_BCM63158
640         bool "Broadcom BCM63158 family"
641         select DM
642         select OF_CONTROL
643         imply CMD_DM
644
645 config ARCH_BCM68360
646         bool "Broadcom BCM68360 family"
647         select DM
648         select OF_CONTROL
649         imply CMD_DM
650
651 config ARCH_BCM6858
652         bool "Broadcom BCM6858 family"
653         select DM
654         select OF_CONTROL
655         imply CMD_DM
656
657 config TARGET_VEXPRESS_CA15_TC2
658         bool "Support vexpress_ca15_tc2"
659         select CPU_V7A
660         select CPU_V7_HAS_NONSEC
661         select CPU_V7_HAS_VIRT
662         select PL011_SERIAL
663
664 config ARCH_BCMSTB
665         bool "Broadcom BCM7XXX family"
666         select CPU_V7A
667         select DM
668         select OF_CONTROL
669         select OF_PRIOR_STAGE
670         imply CMD_DM
671         help
672           This enables support for Broadcom ARM-based set-top box
673           chipsets, including the 7445 family of chips.
674
675 config TARGET_VEXPRESS_CA5X2
676         bool "Support vexpress_ca5x2"
677         select CPU_V7A
678         select PL011_SERIAL
679
680 config TARGET_VEXPRESS_CA9X4
681         bool "Support vexpress_ca9x4"
682         select CPU_V7A
683         select PL011_SERIAL
684
685 config TARGET_BCM23550_W1D
686         bool "Support bcm23550_w1d"
687         select CPU_V7A
688         imply CRC32_VERIFY
689         imply FAT_WRITE
690
691 config TARGET_BCM28155_AP
692         bool "Support bcm28155_ap"
693         select CPU_V7A
694         imply CRC32_VERIFY
695         imply FAT_WRITE
696
697 config TARGET_BCMCYGNUS
698         bool "Support bcmcygnus"
699         select CPU_V7A
700         imply BCM_SF2_ETH
701         imply BCM_SF2_ETH_GMAC
702         imply CMD_HASH
703         imply CRC32_VERIFY
704         imply FAT_WRITE
705         imply HASH_VERIFY
706         imply NETDEVICES
707
708 config TARGET_BCMNSP
709         bool "Support bcmnsp"
710         select CPU_V7A
711
712 config TARGET_BCMNS2
713         bool "Support Broadcom Northstar2"
714         select ARM64
715         help
716           Support for Broadcom Northstar 2 SoCs.  NS2 is a quad-core 64-bit
717           ARMv8 Cortex-A57 processors targeting a broad range of networking
718           applications.
719
720 config TARGET_BCMNS3
721         bool "Support Broadcom NS3"
722         select ARM64
723         select BOARD_LATE_INIT
724         help
725           Support for Broadcom Northstar 3 SoCs. NS3 is a octo-core 64-bit
726           ARMv8 Cortex-A72 processors targeting a broad range of networking
727           applications.
728
729 config ARCH_EXYNOS
730         bool "Samsung EXYNOS"
731         select DM
732         select DM_GPIO
733         select DM_I2C
734         select DM_KEYBOARD
735         select DM_SERIAL
736         select DM_SPI
737         select DM_SPI_FLASH
738         select SPI
739         imply SYS_THUMB_BUILD
740         imply CMD_DM
741         imply FAT_WRITE
742
743 config ARCH_S5PC1XX
744         bool "Samsung S5PC1XX"
745         select CPU_V7A
746         select DM
747         select DM_GPIO
748         select DM_I2C
749         select DM_SERIAL
750         imply CMD_DM
751
752 config ARCH_HIGHBANK
753         bool "Calxeda Highbank"
754         select CPU_V7A
755         select PL011_SERIAL
756
757 config ARCH_INTEGRATOR
758         bool "ARM Ltd. Integrator family"
759         select DM
760         select DM_SERIAL
761         select PL01X_SERIAL
762         imply CMD_DM
763
764 config ARCH_IPQ40XX
765         bool "Qualcomm IPQ40xx SoCs"
766         select CPU_V7A
767         select DM
768         select DM_GPIO
769         select DM_SERIAL
770         select DM_RESET
771         select MSM_SMEM
772         select PINCTRL
773         select CLK
774         select SMEM
775         select OF_CONTROL
776         imply CMD_DM
777
778 config ARCH_KEYSTONE
779         bool "TI Keystone"
780         select CMD_POWEROFF
781         select CPU_V7A
782         select SUPPORT_SPL
783         select SYS_ARCH_TIMER
784         select SYS_THUMB_BUILD
785         imply CMD_MTDPARTS
786         imply CMD_SAVES
787         imply FIT
788
789 config ARCH_K3
790         bool "Texas Instruments' K3 Architecture"
791         select SPL
792         select SUPPORT_SPL
793         select FIT
794
795 config ARCH_OMAP2PLUS
796         bool "TI OMAP2+"
797         select CPU_V7A
798         select SPL_BOARD_INIT if SPL
799         select SPL_STACK_R if SPL
800         select SUPPORT_SPL
801         imply FIT
802
803 config ARCH_MESON
804         bool "Amlogic Meson"
805         imply DISTRO_DEFAULTS
806         imply DM_RNG
807         help
808           Support for the Meson SoC family developed by Amlogic Inc.,
809           targeted at media players and tablet computers. We currently
810           support the S905 (GXBaby) 64-bit SoC.
811
812 config ARCH_MEDIATEK
813         bool "MediaTek SoCs"
814         select DM
815         select OF_CONTROL
816         select SPL_DM if SPL
817         select SPL_LIBCOMMON_SUPPORT if SPL
818         select SPL_LIBGENERIC_SUPPORT if SPL
819         select SPL_OF_CONTROL if SPL
820         select SUPPORT_SPL
821         help
822           Support for the MediaTek SoCs family developed by MediaTek Inc.
823           Please refer to doc/README.mediatek for more information.
824
825 config ARCH_LPC32XX
826         bool "NXP LPC32xx platform"
827         select CPU_ARM926EJS
828         select DM
829         select DM_GPIO
830         select DM_SERIAL
831         select SPL_DM if SPL
832         select SUPPORT_SPL
833         imply CMD_DM
834
835 config ARCH_IMX8
836         bool "NXP i.MX8 platform"
837         select ARM64
838         select DM
839         select OF_CONTROL
840         select ENABLE_ARM_SOC_BOOT0_HOOK
841
842 config ARCH_IMX8M
843         bool "NXP i.MX8M platform"
844         select ARM64
845         select DM
846         select SUPPORT_SPL
847         imply CMD_DM
848
849 config ARCH_IMXRT
850         bool "NXP i.MXRT platform"
851         select CPU_V7M
852         select DM
853         select DM_SERIAL
854         select SUPPORT_SPL
855         imply CMD_DM
856
857 config ARCH_MX23
858         bool "NXP i.MX23 family"
859         select CPU_ARM926EJS
860         select PL011_SERIAL
861         select SUPPORT_SPL
862
863 config ARCH_MX25
864         bool "NXP MX25"
865         select CPU_ARM926EJS
866         imply MXC_GPIO
867
868 config ARCH_MX28
869         bool "NXP i.MX28 family"
870         select CPU_ARM926EJS
871         select PL011_SERIAL
872         select SUPPORT_SPL
873
874 config ARCH_MX31
875         bool "NXP i.MX31 family"
876         select CPU_ARM1136
877
878 config ARCH_MX7ULP
879         bool "NXP MX7ULP"
880         select CPU_V7A
881         select ROM_UNIFIED_SECTIONS
882         imply MXC_GPIO
883         imply SYS_THUMB_BUILD
884
885 config ARCH_MX7
886         bool "Freescale MX7"
887         select ARCH_MISC_INIT
888         select CPU_V7A
889         select SYS_FSL_HAS_SEC if IMX_HAB
890         select SYS_FSL_SEC_COMPAT_4
891         select SYS_FSL_SEC_LE
892         imply BOARD_EARLY_INIT_F
893         imply MXC_GPIO
894         imply SYS_THUMB_BUILD
895
896 config ARCH_MX6
897         bool "Freescale MX6"
898         select CPU_V7A
899         select SYS_FSL_HAS_SEC
900         select SYS_FSL_SEC_COMPAT_4
901         select SYS_FSL_SEC_LE
902         imply MXC_GPIO
903         imply SYS_THUMB_BUILD
904
905 if ARCH_MX6
906 config SPL_LDSCRIPT
907         default "arch/arm/mach-omap2/u-boot-spl.lds"
908 endif
909
910 config ARCH_MX5
911         bool "Freescale MX5"
912         select BOARD_EARLY_INIT_F
913         select CPU_V7A
914         imply MXC_GPIO
915
916 config ARCH_NEXELL
917         bool "Nexell S5P4418/S5P6818 SoC"
918         select ENABLE_ARM_SOC_BOOT0_HOOK
919         select DM
920
921 config ARCH_OWL
922         bool "Actions Semi OWL SoCs"
923         select DM
924         select DM_ETH
925         select DM_SERIAL
926         select OWL_SERIAL
927         select CLK
928         select CLK_OWL
929         select OF_CONTROL
930         select SYS_RELOC_GD_ENV_ADDR
931         imply CMD_DM
932
933 config ARCH_QEMU
934         bool "QEMU Virtual Platform"
935         select ARCH_SUPPORT_TFABOOT
936         select DM
937         select DM_SERIAL
938         select OF_CONTROL
939         select PL01X_SERIAL
940         imply CMD_DM
941         imply DM_RTC
942         imply RTC_PL031
943
944 config ARCH_RMOBILE
945         bool "Renesas ARM SoCs"
946         select BOARD_EARLY_INIT_F if !RZA1
947         select DM
948         select DM_SERIAL
949         imply CMD_DM
950         imply FAT_WRITE
951         imply SYS_THUMB_BUILD
952         imply ARCH_MISC_INIT if DISPLAY_CPUINFO
953
954 config TARGET_S32V234EVB
955         bool "Support s32v234evb"
956         select ARM64
957         select SYS_FSL_ERRATUM_ESDHC111
958
959 config ARCH_SNAPDRAGON
960         bool "Qualcomm Snapdragon SoCs"
961         select ARM64
962         select DM
963         select DM_GPIO
964         select DM_SERIAL
965         select MSM_SMEM
966         select OF_CONTROL
967         select OF_SEPARATE
968         select SMEM
969         select SPMI
970         imply CMD_DM
971
972 config ARCH_SOCFPGA
973         bool "Altera SOCFPGA family"
974         select ARCH_EARLY_INIT_R
975         select ARCH_MISC_INIT if !TARGET_SOCFPGA_ARRIA10
976         select ARM64 if TARGET_SOCFPGA_STRATIX10 || TARGET_SOCFPGA_AGILEX
977         select CPU_V7A if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
978         select DM
979         select DM_SERIAL
980         select ENABLE_ARM_SOC_BOOT0_HOOK if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
981         select OF_CONTROL
982         select SPL_DM_RESET if DM_RESET
983         select SPL_DM_SERIAL
984         select SPL_LIBCOMMON_SUPPORT
985         select SPL_LIBGENERIC_SUPPORT
986         select SPL_NAND_SUPPORT if SPL_NAND_DENALI
987         select SPL_OF_CONTROL
988         select SPL_SEPARATE_BSS if TARGET_SOCFPGA_STRATIX10 || TARGET_SOCFPGA_AGILEX
989         select SPL_SERIAL_SUPPORT
990         select SPL_SYSRESET
991         select SPL_WATCHDOG_SUPPORT
992         select SUPPORT_SPL
993         select SYS_NS16550
994         select SYS_THUMB_BUILD if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
995         select SYSRESET
996         select SYSRESET_SOCFPGA if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
997         select SYSRESET_SOCFPGA_S10 if TARGET_SOCFPGA_STRATIX10
998         imply CMD_DM
999         imply CMD_MTDPARTS
1000         imply CRC32_VERIFY
1001         imply DM_SPI
1002         imply DM_SPI_FLASH
1003         imply FAT_WRITE
1004         imply SPL
1005         imply SPL_DM
1006         imply SPL_DM_SPI
1007         imply SPL_DM_SPI_FLASH
1008         imply SPL_LIBDISK_SUPPORT
1009         imply SPL_MMC_SUPPORT
1010         imply SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION
1011         imply SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION_TYPE
1012         imply SPL_SPI_FLASH_SUPPORT
1013         imply SPL_SPI_SUPPORT
1014         imply L2X0_CACHE
1015
1016 config ARCH_SUNXI
1017         bool "Support sunxi (Allwinner) SoCs"
1018         select BINMAN
1019         select CMD_GPIO
1020         select CMD_MMC if MMC
1021         select CMD_USB if DISTRO_DEFAULTS
1022         select CLK
1023         select DM
1024         select DM_ETH
1025         select DM_GPIO
1026         select DM_KEYBOARD
1027         select DM_MMC if MMC
1028         select DM_SCSI if SCSI
1029         select DM_SERIAL
1030         select DM_USB if DISTRO_DEFAULTS
1031         select OF_BOARD_SETUP
1032         select OF_CONTROL
1033         select OF_SEPARATE
1034         select SPECIFY_CONSOLE_INDEX
1035         select SPL_STACK_R if SPL
1036         select SPL_SYS_MALLOC_SIMPLE if SPL
1037         select SPL_SYS_THUMB_BUILD if !ARM64
1038         select SUNXI_GPIO
1039         select SYS_NS16550
1040         select SYS_THUMB_BUILD if !ARM64
1041         select USB if DISTRO_DEFAULTS
1042         select USB_KEYBOARD if DISTRO_DEFAULTS
1043         select USB_STORAGE if DISTRO_DEFAULTS
1044         select SPL_USE_TINY_PRINTF
1045         select USE_PREBOOT
1046         select SYS_RELOC_GD_ENV_ADDR
1047         imply CMD_DM
1048         imply CMD_GPT
1049         imply CMD_UBI if MTD_RAW_NAND
1050         imply DISTRO_DEFAULTS
1051         imply FAT_WRITE
1052         imply FIT
1053         imply OF_LIBFDT_OVERLAY
1054         imply PRE_CONSOLE_BUFFER
1055         imply SPL_GPIO_SUPPORT
1056         imply SPL_LIBCOMMON_SUPPORT
1057         imply SPL_LIBGENERIC_SUPPORT
1058         imply SPL_MMC_SUPPORT if MMC
1059         imply SPL_POWER_SUPPORT
1060         imply SPL_SERIAL_SUPPORT
1061         imply USB_GADGET
1062
1063 config ARCH_U8500
1064         bool "ST-Ericsson U8500 Series"
1065         select CPU_V7A
1066         select DM
1067         select DM_GPIO
1068         select DM_MMC if MMC
1069         select DM_SERIAL
1070         select DM_USB if USB
1071         select OF_CONTROL
1072         select SYSRESET
1073         select TIMER
1074         imply ARM_PL180_MMCI
1075         imply DM_RTC
1076         imply NOMADIK_MTU_TIMER
1077         imply PL01X_SERIAL
1078         imply RTC_PL031
1079         imply SYSRESET_SYSCON
1080
1081 config ARCH_VERSAL
1082         bool "Support Xilinx Versal Platform"
1083         select ARM64
1084         select CLK
1085         select DM
1086         select DM_ETH if NET
1087         select DM_MMC if MMC
1088         select DM_SERIAL
1089         select OF_CONTROL
1090         imply BOARD_LATE_INIT
1091         imply ENV_VARS_UBOOT_RUNTIME_CONFIG
1092
1093 config ARCH_VF610
1094         bool "Freescale Vybrid"
1095         select CPU_V7A
1096         select SYS_FSL_ERRATUM_ESDHC111
1097         imply CMD_MTDPARTS
1098         imply MTD_RAW_NAND
1099
1100 config ARCH_ZYNQ
1101         bool "Xilinx Zynq based platform"
1102         select CLK
1103         select CLK_ZYNQ
1104         select CPU_V7A
1105         select DM
1106         select DM_ETH if NET
1107         select DM_MMC if MMC
1108         select DM_SERIAL
1109         select DM_SPI
1110         select DM_SPI_FLASH
1111         select DM_USB if USB
1112         select OF_CONTROL
1113         select SPI
1114         select SPL_BOARD_INIT if SPL
1115         select SPL_CLK if SPL
1116         select SPL_DM if SPL
1117         select SPL_DM_SPI if SPL
1118         select SPL_DM_SPI_FLASH if SPL
1119         select SPL_OF_CONTROL if SPL
1120         select SPL_SEPARATE_BSS if SPL
1121         select SUPPORT_SPL
1122         imply ARCH_EARLY_INIT_R
1123         imply BOARD_LATE_INIT
1124         imply CMD_CLK
1125         imply CMD_DM
1126         imply CMD_SPL
1127         imply ENV_VARS_UBOOT_RUNTIME_CONFIG
1128         imply FAT_WRITE
1129
1130 config ARCH_ZYNQMP_R5
1131         bool "Xilinx ZynqMP R5 based platform"
1132         select CLK
1133         select CPU_V7R
1134         select DM
1135         select DM_ETH if NET
1136         select DM_MMC if MMC
1137         select DM_SERIAL
1138         select OF_CONTROL
1139         imply CMD_DM
1140         imply DM_USB_GADGET
1141
1142 config ARCH_ZYNQMP
1143         bool "Xilinx ZynqMP based platform"
1144         select ARM64
1145         select CLK
1146         select DM
1147         select DM_ETH if NET
1148         select DM_MAILBOX
1149         select DM_MMC if MMC
1150         select DM_SERIAL
1151         select DM_SPI if SPI
1152         select DM_SPI_FLASH if DM_SPI
1153         select DM_USB if USB
1154         select FIRMWARE
1155         select OF_CONTROL
1156         select SPL_BOARD_INIT if SPL
1157         select SPL_CLK if SPL
1158         select SPL_DM if SPL
1159         select SPL_DM_SPI if SPI && SPL_DM
1160         select SPL_DM_SPI_FLASH if SPL_DM_SPI
1161         select SPL_DM_MAILBOX if SPL
1162         select SPL_FIRMWARE if SPL
1163         select SPL_SEPARATE_BSS if SPL
1164         select SUPPORT_SPL
1165         select ZYNQMP_IPI
1166         imply BOARD_LATE_INIT
1167         imply CMD_DM
1168         imply ENV_VARS_UBOOT_RUNTIME_CONFIG
1169         imply FAT_WRITE
1170         imply MP
1171         imply DM_USB_GADGET
1172
1173 config ARCH_TEGRA
1174         bool "NVIDIA Tegra"
1175         imply DISTRO_DEFAULTS
1176         imply FAT_WRITE
1177
1178 config TARGET_VEXPRESS64_AEMV8A
1179         bool "Support vexpress_aemv8a"
1180         select ARM64
1181         select PL01X_SERIAL
1182
1183 config TARGET_VEXPRESS64_BASE_FVP
1184         bool "Support Versatile Express ARMv8a FVP BASE model"
1185         select ARM64
1186         select PL01X_SERIAL
1187         select SEMIHOSTING
1188
1189 config TARGET_VEXPRESS64_JUNO
1190         bool "Support Versatile Express Juno Development Platform"
1191         select ARM64
1192         select PL01X_SERIAL
1193         select DM
1194         select OF_CONTROL
1195         select OF_BOARD
1196         select CLK
1197         select DM_SERIAL
1198         select ARM_PSCI_FW
1199         select PSCI_RESET
1200         select DM_ETH
1201         select BLK
1202         select USB
1203         select DM_USB
1204
1205 config TARGET_TOTAL_COMPUTE
1206         bool "Support Total Compute Platform"
1207         select ARM64
1208         select PL01X_SERIAL
1209         select DM
1210         select DM_SERIAL
1211         select DM_MMC
1212         select DM_GPIO
1213
1214 config TARGET_LS2080A_EMU
1215         bool "Support ls2080a_emu"
1216         select ARCH_LS2080A
1217         select ARM64
1218         select ARMV8_MULTIENTRY
1219         select FSL_DDR_SYNC_REFRESH
1220         help
1221           Support for Freescale LS2080A_EMU platform.
1222           The LS2080A Development System (EMULATOR) is a pre-silicon
1223           development platform that supports the QorIQ LS2080A
1224           Layerscape Architecture processor.
1225
1226 config TARGET_LS2080A_SIMU
1227         bool "Support ls2080a_simu"
1228         select ARCH_LS2080A
1229         select ARM64
1230         select ARMV8_MULTIENTRY
1231         select BOARD_LATE_INIT
1232         help
1233           Support for Freescale LS2080A_SIMU platform.
1234           The LS2080A Development System (QDS) is a pre silicon
1235           development platform that supports the QorIQ LS2080A
1236           Layerscape Architecture processor.
1237
1238 config TARGET_LS1088AQDS
1239         bool "Support ls1088aqds"
1240         select ARCH_LS1088A
1241         select ARM64
1242         select ARMV8_MULTIENTRY
1243         select ARCH_SUPPORT_TFABOOT
1244         select BOARD_LATE_INIT
1245         select SUPPORT_SPL
1246         select FSL_DDR_INTERACTIVE if !SD_BOOT
1247         help
1248           Support for NXP LS1088AQDS platform.
1249           The LS1088A Development System (QDS) is a high-performance
1250           development platform that supports the QorIQ LS1088A
1251           Layerscape Architecture processor.
1252
1253 config TARGET_LS2080AQDS
1254         bool "Support ls2080aqds"
1255         select ARCH_LS2080A
1256         select ARM64
1257         select ARMV8_MULTIENTRY
1258         select ARCH_SUPPORT_TFABOOT
1259         select BOARD_LATE_INIT
1260         select SUPPORT_SPL
1261         imply SCSI
1262         imply SCSI_AHCI
1263         select FSL_DDR_BIST
1264         select FSL_DDR_INTERACTIVE if !SPL
1265         help
1266           Support for Freescale LS2080AQDS platform.
1267           The LS2080A Development System (QDS) is a high-performance
1268           development platform that supports the QorIQ LS2080A
1269           Layerscape Architecture processor.
1270
1271 config TARGET_LS2080ARDB
1272         bool "Support ls2080ardb"
1273         select ARCH_LS2080A
1274         select ARM64
1275         select ARMV8_MULTIENTRY
1276         select ARCH_SUPPORT_TFABOOT
1277         select BOARD_LATE_INIT
1278         select SUPPORT_SPL
1279         select FSL_DDR_BIST
1280         select FSL_DDR_INTERACTIVE if !SPL
1281         imply SCSI
1282         imply SCSI_AHCI
1283         help
1284           Support for Freescale LS2080ARDB platform.
1285           The LS2080A Reference design board (RDB) is a high-performance
1286           development platform that supports the QorIQ LS2080A
1287           Layerscape Architecture processor.
1288
1289 config TARGET_LS2081ARDB
1290         bool "Support ls2081ardb"
1291         select ARCH_LS2080A
1292         select ARM64
1293         select ARMV8_MULTIENTRY
1294         select BOARD_LATE_INIT
1295         select SUPPORT_SPL
1296         help
1297           Support for Freescale LS2081ARDB platform.
1298           The LS2081A Reference design board (RDB) is a high-performance
1299           development platform that supports the QorIQ LS2081A/LS2041A
1300           Layerscape Architecture processor.
1301
1302 config TARGET_LX2160ARDB
1303         bool "Support lx2160ardb"
1304         select ARCH_LX2160A
1305         select ARM64
1306         select ARMV8_MULTIENTRY
1307         select ARCH_SUPPORT_TFABOOT
1308         select BOARD_LATE_INIT
1309         help
1310           Support for NXP LX2160ARDB platform.
1311           The lx2160ardb (LX2160A Reference design board (RDB)
1312           is a high-performance development platform that supports the
1313           QorIQ LX2160A/LX2120A/LX2080A Layerscape Architecture processor.
1314
1315 config TARGET_LX2160AQDS
1316         bool "Support lx2160aqds"
1317         select ARCH_LX2160A
1318         select ARM64
1319         select ARMV8_MULTIENTRY
1320         select ARCH_SUPPORT_TFABOOT
1321         select BOARD_LATE_INIT
1322         help
1323           Support for NXP LX2160AQDS platform.
1324           The lx2160aqds (LX2160A QorIQ Development System (QDS)
1325           is a high-performance development platform that supports the
1326           QorIQ LX2160A/LX2120A/LX2080A Layerscape Architecture processor.
1327
1328 config TARGET_HIKEY
1329         bool "Support HiKey 96boards Consumer Edition Platform"
1330         select ARM64
1331         select DM
1332         select DM_GPIO
1333         select DM_SERIAL
1334         select OF_CONTROL
1335         select PL01X_SERIAL
1336         select SPECIFY_CONSOLE_INDEX
1337         imply CMD_DM
1338           help
1339           Support for HiKey 96boards platform. It features a HI6220
1340           SoC, with 8xA53 CPU, mali450 gpu, and 1GB RAM.
1341
1342 config TARGET_HIKEY960
1343         bool "Support HiKey960 96boards Consumer Edition Platform"
1344         select ARM64
1345         select DM
1346         select DM_SERIAL
1347         select OF_CONTROL
1348         select PL01X_SERIAL
1349         imply CMD_DM
1350           help
1351           Support for HiKey960 96boards platform. It features a HI3660
1352           SoC, with 4xA73 CPU, 4xA53 CPU, MALI-G71 GPU, and 3GB RAM.
1353
1354 config TARGET_POPLAR
1355         bool "Support Poplar 96boards Enterprise Edition Platform"
1356         select ARM64
1357         select DM
1358         select DM_SERIAL
1359         select DM_USB
1360         select OF_CONTROL
1361         select PL01X_SERIAL
1362         imply CMD_DM
1363           help
1364           Support for Poplar 96boards EE platform. It features a HI3798cv200
1365           SoC, with 4xA53 CPU, 1GB RAM and the high performance Mali T720 GPU
1366           making it capable of running any commercial set-top solution based on
1367           Linux or Android.
1368
1369 config TARGET_LS1012AQDS
1370         bool "Support ls1012aqds"
1371         select ARCH_LS1012A
1372         select ARM64
1373         select ARCH_SUPPORT_TFABOOT
1374         select BOARD_LATE_INIT
1375         help
1376           Support for Freescale LS1012AQDS platform.
1377           The LS1012A Development System (QDS) is a high-performance
1378           development platform that supports the QorIQ LS1012A
1379           Layerscape Architecture processor.
1380
1381 config TARGET_LS1012ARDB
1382         bool "Support ls1012ardb"
1383         select ARCH_LS1012A
1384         select ARM64
1385         select ARCH_SUPPORT_TFABOOT
1386         select BOARD_LATE_INIT
1387         imply SCSI
1388         imply SCSI_AHCI
1389         help
1390           Support for Freescale LS1012ARDB platform.
1391           The LS1012A Reference design board (RDB) is a high-performance
1392           development platform that supports the QorIQ LS1012A
1393           Layerscape Architecture processor.
1394
1395 config TARGET_LS1012A2G5RDB
1396         bool "Support ls1012a2g5rdb"
1397         select ARCH_LS1012A
1398         select ARM64
1399         select ARCH_SUPPORT_TFABOOT
1400         select BOARD_LATE_INIT
1401         imply SCSI
1402         help
1403           Support for Freescale LS1012A2G5RDB platform.
1404           The LS1012A 2G5 Reference design board (RDB) is a high-performance
1405           development platform that supports the QorIQ LS1012A
1406           Layerscape Architecture processor.
1407
1408 config TARGET_LS1012AFRWY
1409         bool "Support ls1012afrwy"
1410         select ARCH_LS1012A
1411         select ARM64
1412         select ARCH_SUPPORT_TFABOOT
1413         select BOARD_LATE_INIT
1414         imply SCSI
1415         imply SCSI_AHCI
1416         help
1417          Support for Freescale LS1012AFRWY platform.
1418          The LS1012A FRWY board (FRWY) is a high-performance
1419          development platform that supports the QorIQ LS1012A
1420          Layerscape Architecture processor.
1421
1422 config TARGET_LS1012AFRDM
1423         bool "Support ls1012afrdm"
1424         select ARCH_LS1012A
1425         select ARM64
1426         select ARCH_SUPPORT_TFABOOT
1427         help
1428           Support for Freescale LS1012AFRDM platform.
1429           The LS1012A Freedom  board (FRDM) is a high-performance
1430           development platform that supports the QorIQ LS1012A
1431           Layerscape Architecture processor.
1432
1433 config TARGET_LS1028AQDS
1434         bool "Support ls1028aqds"
1435         select ARCH_LS1028A
1436         select ARM64
1437         select ARMV8_MULTIENTRY
1438         select ARCH_SUPPORT_TFABOOT
1439         select BOARD_LATE_INIT
1440         help
1441           Support for Freescale LS1028AQDS platform
1442           The LS1028A Development System (QDS) is a high-performance
1443           development platform that supports the QorIQ LS1028A
1444           Layerscape Architecture processor.
1445
1446 config TARGET_LS1028ARDB
1447         bool "Support ls1028ardb"
1448         select ARCH_LS1028A
1449         select ARM64
1450         select ARMV8_MULTIENTRY
1451         select ARCH_SUPPORT_TFABOOT
1452         select BOARD_LATE_INIT
1453         help
1454           Support for Freescale LS1028ARDB platform
1455           The LS1028A Development System (RDB) is a high-performance
1456           development platform that supports the QorIQ LS1028A
1457           Layerscape Architecture processor.
1458
1459 config TARGET_LS1088ARDB
1460         bool "Support ls1088ardb"
1461         select ARCH_LS1088A
1462         select ARM64
1463         select ARMV8_MULTIENTRY
1464         select ARCH_SUPPORT_TFABOOT
1465         select BOARD_LATE_INIT
1466         select SUPPORT_SPL
1467         select FSL_DDR_INTERACTIVE if !SD_BOOT
1468         help
1469           Support for NXP LS1088ARDB platform.
1470           The LS1088A Reference design board (RDB) is a high-performance
1471           development platform that supports the QorIQ LS1088A
1472           Layerscape Architecture processor.
1473
1474 config TARGET_LS1021AQDS
1475         bool "Support ls1021aqds"
1476         select ARCH_LS1021A
1477         select ARCH_SUPPORT_PSCI
1478         select BOARD_EARLY_INIT_F
1479         select BOARD_LATE_INIT
1480         select CPU_V7A
1481         select CPU_V7_HAS_NONSEC
1482         select CPU_V7_HAS_VIRT
1483         select LS1_DEEP_SLEEP
1484         select SUPPORT_SPL
1485         select SYS_FSL_DDR
1486         select FSL_DDR_INTERACTIVE
1487         select DM_SPI_FLASH if FSL_DSPI || FSL_QSPI
1488         select SPI_FLASH_DATAFLASH if FSL_DSPI || FSL_QSPI
1489         imply SCSI
1490
1491 config TARGET_LS1021ATWR
1492         bool "Support ls1021atwr"
1493         select ARCH_LS1021A
1494         select ARCH_SUPPORT_PSCI
1495         select BOARD_EARLY_INIT_F
1496         select BOARD_LATE_INIT
1497         select CPU_V7A
1498         select CPU_V7_HAS_NONSEC
1499         select CPU_V7_HAS_VIRT
1500         select LS1_DEEP_SLEEP
1501         select SUPPORT_SPL
1502         select DM_SPI_FLASH if FSL_DSPI || FSL_QSPI
1503         imply SCSI
1504
1505 config TARGET_LS1021ATSN
1506         bool "Support ls1021atsn"
1507         select ARCH_LS1021A
1508         select ARCH_SUPPORT_PSCI
1509         select BOARD_EARLY_INIT_F
1510         select BOARD_LATE_INIT
1511         select CPU_V7A
1512         select CPU_V7_HAS_NONSEC
1513         select CPU_V7_HAS_VIRT
1514         select LS1_DEEP_SLEEP
1515         select SUPPORT_SPL
1516         imply SCSI
1517
1518 config TARGET_LS1021AIOT
1519         bool "Support ls1021aiot"
1520         select ARCH_LS1021A
1521         select ARCH_SUPPORT_PSCI
1522         select BOARD_LATE_INIT
1523         select CPU_V7A
1524         select CPU_V7_HAS_NONSEC
1525         select CPU_V7_HAS_VIRT
1526         select SUPPORT_SPL
1527         select DM_SPI_FLASH if FSL_DSPI || FSL_QSPI
1528         imply SCSI
1529         help
1530           Support for Freescale LS1021AIOT platform.
1531           The LS1021A Freescale board (IOT) is a high-performance
1532           development platform that supports the QorIQ LS1021A
1533           Layerscape Architecture processor.
1534
1535 config TARGET_LS1043AQDS
1536         bool "Support ls1043aqds"
1537         select ARCH_LS1043A
1538         select ARM64
1539         select ARMV8_MULTIENTRY
1540         select ARCH_SUPPORT_TFABOOT
1541         select BOARD_EARLY_INIT_F
1542         select BOARD_LATE_INIT
1543         select SUPPORT_SPL
1544         select FSL_DDR_INTERACTIVE if !SPL
1545         select FSL_DSPI if !SPL_NO_DSPI
1546         select DM_SPI_FLASH if FSL_DSPI
1547         imply SCSI
1548         imply SCSI_AHCI
1549         help
1550           Support for Freescale LS1043AQDS platform.
1551
1552 config TARGET_LS1043ARDB
1553         bool "Support ls1043ardb"
1554         select ARCH_LS1043A
1555         select ARM64
1556         select ARMV8_MULTIENTRY
1557         select ARCH_SUPPORT_TFABOOT
1558         select BOARD_EARLY_INIT_F
1559         select BOARD_LATE_INIT
1560         select SUPPORT_SPL
1561         select FSL_DSPI if !SPL_NO_DSPI
1562         select DM_SPI_FLASH if FSL_DSPI
1563         help
1564           Support for Freescale LS1043ARDB platform.
1565
1566 config TARGET_LS1046AQDS
1567         bool "Support ls1046aqds"
1568         select ARCH_LS1046A
1569         select ARM64
1570         select ARMV8_MULTIENTRY
1571         select ARCH_SUPPORT_TFABOOT
1572         select BOARD_EARLY_INIT_F
1573         select BOARD_LATE_INIT
1574         select DM_SPI_FLASH if DM_SPI
1575         select SUPPORT_SPL
1576         select FSL_DDR_BIST if !SPL
1577         select FSL_DDR_INTERACTIVE  if !SPL
1578         select FSL_DDR_INTERACTIVE if !SPL
1579         imply SCSI
1580         help
1581           Support for Freescale LS1046AQDS platform.
1582           The LS1046A Development System (QDS) is a high-performance
1583           development platform that supports the QorIQ LS1046A
1584           Layerscape Architecture processor.
1585
1586 config TARGET_LS1046ARDB
1587         bool "Support ls1046ardb"
1588         select ARCH_LS1046A
1589         select ARM64
1590         select ARMV8_MULTIENTRY
1591         select ARCH_SUPPORT_TFABOOT
1592         select BOARD_EARLY_INIT_F
1593         select BOARD_LATE_INIT
1594         select DM_SPI_FLASH if DM_SPI
1595         select POWER_MC34VR500
1596         select SUPPORT_SPL
1597         select FSL_DDR_BIST
1598         select FSL_DDR_INTERACTIVE if !SPL
1599         imply SCSI
1600         help
1601           Support for Freescale LS1046ARDB platform.
1602           The LS1046A Reference Design Board (RDB) is a high-performance
1603           development platform that supports the QorIQ LS1046A
1604           Layerscape Architecture processor.
1605
1606 config TARGET_LS1046AFRWY
1607         bool "Support ls1046afrwy"
1608         select ARCH_LS1046A
1609         select ARM64
1610         select ARMV8_MULTIENTRY
1611         select ARCH_SUPPORT_TFABOOT
1612         select BOARD_EARLY_INIT_F
1613         select BOARD_LATE_INIT
1614         select DM_SPI_FLASH if DM_SPI
1615         imply SCSI
1616         help
1617           Support for Freescale LS1046AFRWY platform.
1618           The LS1046A Freeway Board (FRWY) is a high-performance
1619           development platform that supports the QorIQ LS1046A
1620           Layerscape Architecture processor.
1621
1622 config TARGET_COLIBRI_PXA270
1623         bool "Support colibri_pxa270"
1624         select CPU_PXA
1625
1626 config ARCH_UNIPHIER
1627         bool "Socionext UniPhier SoCs"
1628         select BOARD_LATE_INIT
1629         select DM
1630         select DM_ETH
1631         select DM_GPIO
1632         select DM_I2C
1633         select DM_MMC
1634         select DM_MTD
1635         select DM_RESET
1636         select DM_SERIAL
1637         select DM_USB
1638         select OF_BOARD_SETUP
1639         select OF_CONTROL
1640         select OF_LIBFDT
1641         select PINCTRL
1642         select SPL_BOARD_INIT if SPL
1643         select SPL_DM if SPL
1644         select SPL_LIBCOMMON_SUPPORT if SPL
1645         select SPL_LIBGENERIC_SUPPORT if SPL
1646         select SPL_OF_CONTROL if SPL
1647         select SPL_PINCTRL if SPL
1648         select SUPPORT_SPL
1649         imply CMD_DM
1650         imply DISTRO_DEFAULTS
1651         imply FAT_WRITE
1652         help
1653           Support for UniPhier SoC family developed by Socionext Inc.
1654           (formerly, System LSI Business Division of Panasonic Corporation)
1655
1656 config ARCH_STM32
1657         bool "Support STMicroelectronics STM32 MCU with cortex M"
1658         select CPU_V7M
1659         select DM
1660         select DM_SERIAL
1661         imply CMD_DM
1662
1663 config ARCH_STI
1664         bool "Support STMicrolectronics SoCs"
1665         select BLK
1666         select CPU_V7A
1667         select DM
1668         select DM_MMC
1669         select DM_RESET
1670         select DM_SERIAL
1671         imply CMD_DM
1672         help
1673           Support for STMicroelectronics STiH407/10 SoC family.
1674           This SoC is used on Linaro 96Board STiH410-B2260
1675
1676 config ARCH_STM32MP
1677         bool "Support STMicroelectronics STM32MP Socs with cortex A"
1678         select ARCH_MISC_INIT
1679         select ARCH_SUPPORT_TFABOOT
1680         select BOARD_LATE_INIT
1681         select CLK
1682         select DM
1683         select DM_GPIO
1684         select DM_RESET
1685         select DM_SERIAL
1686         select MISC
1687         select OF_CONTROL
1688         select OF_LIBFDT
1689         select OF_SYSTEM_SETUP
1690         select PINCTRL
1691         select REGMAP
1692         select SUPPORT_SPL
1693         select SYSCON
1694         select SYSRESET
1695         select SYS_THUMB_BUILD
1696         imply SPL_SYSRESET
1697         imply CMD_DM
1698         imply CMD_POWEROFF
1699         imply OF_LIBFDT_OVERLAY
1700         imply ENV_VARS_UBOOT_RUNTIME_CONFIG
1701         imply USE_PREBOOT
1702         help
1703           Support for STM32MP SoC family developed by STMicroelectronics,
1704           MPUs based on ARM cortex A core
1705           U-BOOT is running in DDR, loaded by the First Stage BootLoader (FSBL).
1706           FSBL can be TF-A: Trusted Firmware for Cortex A, for trusted boot
1707           chain.
1708           SPL is the unsecure FSBL for the basic boot chain.
1709
1710 config ARCH_ROCKCHIP
1711         bool "Support Rockchip SoCs"
1712         select BLK
1713         select BINMAN if !ARM64
1714         select DM
1715         select DM_GPIO
1716         select DM_I2C
1717         select DM_MMC
1718         select DM_PWM
1719         select DM_REGULATOR
1720         select DM_SERIAL
1721         select DM_SPI
1722         select DM_SPI_FLASH
1723         select DM_USB if USB
1724         select ENABLE_ARM_SOC_BOOT0_HOOK
1725         select OF_CONTROL
1726         select SPI
1727         select SPL_DM if SPL
1728         select SPL_DM_SPI if SPL
1729         select SPL_DM_SPI_FLASH if SPL
1730         select SYS_MALLOC_F
1731         select SYS_THUMB_BUILD if !ARM64
1732         imply ADC
1733         imply CMD_DM
1734         imply DEBUG_UART_BOARD_INIT
1735         imply DISTRO_DEFAULTS
1736         imply FAT_WRITE
1737         imply SARADC_ROCKCHIP
1738         imply SPL_SYSRESET
1739         imply SPL_SYS_MALLOC_SIMPLE
1740         imply SYS_NS16550
1741         imply TPL_SYSRESET
1742         imply USB_FUNCTION_FASTBOOT
1743
1744 config ARCH_OCTEONTX
1745         bool "Support OcteonTX SoCs"
1746         select DM
1747         select ARM64
1748         select OF_CONTROL
1749         select OF_LIVE
1750         select BOARD_LATE_INIT
1751         select SYS_CACHE_SHIFT_7
1752
1753 config ARCH_OCTEONTX2
1754         bool "Support OcteonTX2 SoCs"
1755         select DM
1756         select ARM64
1757         select OF_CONTROL
1758         select OF_LIVE
1759         select BOARD_LATE_INIT
1760         select SYS_CACHE_SHIFT_7
1761
1762 config TARGET_THUNDERX_88XX
1763         bool "Support ThunderX 88xx"
1764         select ARM64
1765         select OF_CONTROL
1766         select PL01X_SERIAL
1767         select SYS_CACHE_SHIFT_7
1768
1769 config ARCH_ASPEED
1770         bool "Support Aspeed SoCs"
1771         select DM
1772         select OF_CONTROL
1773         imply CMD_DM
1774
1775 config TARGET_DURIAN
1776         bool "Support Phytium Durian Platform"
1777         select ARM64
1778         help
1779           Support for durian platform.
1780           It has 2GB Sdram, uart and pcie.
1781
1782 config TARGET_PRESIDIO_ASIC
1783         bool "Support Cortina Presidio ASIC Platform"
1784         select ARM64
1785
1786 config TARGET_XENGUEST_ARM64
1787         bool "Xen guest ARM64"
1788         select ARM64
1789         select XEN
1790         select OF_CONTROL
1791         select LINUX_KERNEL_IMAGE_HEADER
1792         select XEN_SERIAL
1793         select SSCANF
1794 endchoice
1795
1796 config ARCH_SUPPORT_TFABOOT
1797         bool
1798
1799 config TFABOOT
1800         bool "Support for booting from TF-A"
1801         depends on ARCH_SUPPORT_TFABOOT
1802         default n
1803         help
1804           Enabling this will make a U-Boot binary that is capable of being
1805           booted via TF-A (Trusted Firmware for Cortex-A).
1806
1807 config TI_SECURE_DEVICE
1808         bool "HS Device Type Support"
1809         depends on ARCH_KEYSTONE || ARCH_OMAP2PLUS || ARCH_K3
1810         help
1811           If a high secure (HS) device type is being used, this config
1812           must be set. This option impacts various aspects of the
1813           build system (to create signed boot images that can be
1814           authenticated) and the code. See the doc/README.ti-secure
1815           file for further details.
1816
1817 if AM43XX || AM33XX || OMAP54XX || ARCH_KEYSTONE
1818 config ISW_ENTRY_ADDR
1819         hex "Address in memory or XIP address of bootloader entry point"
1820         default 0x402F4000 if AM43XX
1821         default 0x402F0400 if AM33XX
1822         default 0x40301350 if OMAP54XX
1823         help
1824           After any reset, the boot ROM searches the boot media for a valid
1825           boot image. For non-XIP devices, the ROM then copies the image into
1826           internal memory. For all boot modes, after the ROM processes the
1827           boot image it eventually computes the entry point address depending
1828           on the device type (secure/non-secure), boot media (xip/non-xip) and
1829           image headers.
1830 endif
1831
1832 source "arch/arm/mach-aspeed/Kconfig"
1833
1834 source "arch/arm/mach-at91/Kconfig"
1835
1836 source "arch/arm/mach-bcm283x/Kconfig"
1837
1838 source "arch/arm/mach-bcmstb/Kconfig"
1839
1840 source "arch/arm/mach-davinci/Kconfig"
1841
1842 source "arch/arm/mach-exynos/Kconfig"
1843
1844 source "arch/arm/mach-highbank/Kconfig"
1845
1846 source "arch/arm/mach-integrator/Kconfig"
1847
1848 source "arch/arm/mach-ipq40xx/Kconfig"
1849
1850 source "arch/arm/mach-k3/Kconfig"
1851
1852 source "arch/arm/mach-keystone/Kconfig"
1853
1854 source "arch/arm/mach-kirkwood/Kconfig"
1855
1856 source "arch/arm/mach-lpc32xx/Kconfig"
1857
1858 source "arch/arm/mach-mvebu/Kconfig"
1859
1860 source "arch/arm/mach-octeontx/Kconfig"
1861
1862 source "arch/arm/mach-octeontx2/Kconfig"
1863
1864 source "arch/arm/cpu/armv7/ls102xa/Kconfig"
1865
1866 source "arch/arm/mach-imx/mx2/Kconfig"
1867
1868 source "arch/arm/mach-imx/mx3/Kconfig"
1869
1870 source "arch/arm/mach-imx/mx5/Kconfig"
1871
1872 source "arch/arm/mach-imx/mx6/Kconfig"
1873
1874 source "arch/arm/mach-imx/mx7/Kconfig"
1875
1876 source "arch/arm/mach-imx/mx7ulp/Kconfig"
1877
1878 source "arch/arm/mach-imx/imx8/Kconfig"
1879
1880 source "arch/arm/mach-imx/imx8m/Kconfig"
1881
1882 source "arch/arm/mach-imx/imxrt/Kconfig"
1883
1884 source "arch/arm/mach-imx/mxs/Kconfig"
1885
1886 source "arch/arm/mach-omap2/Kconfig"
1887
1888 source "arch/arm/cpu/armv8/fsl-layerscape/Kconfig"
1889
1890 source "arch/arm/mach-orion5x/Kconfig"
1891
1892 source "arch/arm/mach-owl/Kconfig"
1893
1894 source "arch/arm/mach-rmobile/Kconfig"
1895
1896 source "arch/arm/mach-meson/Kconfig"
1897
1898 source "arch/arm/mach-mediatek/Kconfig"
1899
1900 source "arch/arm/mach-qemu/Kconfig"
1901
1902 source "arch/arm/mach-rockchip/Kconfig"
1903
1904 source "arch/arm/mach-s5pc1xx/Kconfig"
1905
1906 source "arch/arm/mach-snapdragon/Kconfig"
1907
1908 source "arch/arm/mach-socfpga/Kconfig"
1909
1910 source "arch/arm/mach-sti/Kconfig"
1911
1912 source "arch/arm/mach-stm32/Kconfig"
1913
1914 source "arch/arm/mach-stm32mp/Kconfig"
1915
1916 source "arch/arm/mach-sunxi/Kconfig"
1917
1918 source "arch/arm/mach-tegra/Kconfig"
1919
1920 source "arch/arm/mach-u8500/Kconfig"
1921
1922 source "arch/arm/mach-uniphier/Kconfig"
1923
1924 source "arch/arm/cpu/armv7/vf610/Kconfig"
1925
1926 source "arch/arm/mach-zynq/Kconfig"
1927
1928 source "arch/arm/mach-zynqmp/Kconfig"
1929
1930 source "arch/arm/mach-versal/Kconfig"
1931
1932 source "arch/arm/mach-zynqmp-r5/Kconfig"
1933
1934 source "arch/arm/cpu/armv7/Kconfig"
1935
1936 source "arch/arm/cpu/armv8/Kconfig"
1937
1938 source "arch/arm/mach-imx/Kconfig"
1939
1940 source "arch/arm/mach-nexell/Kconfig"
1941
1942 source "board/armltd/total_compute/Kconfig"
1943
1944 source "board/bosch/shc/Kconfig"
1945 source "board/bosch/guardian/Kconfig"
1946 source "board/CarMediaLab/flea3/Kconfig"
1947 source "board/Marvell/aspenite/Kconfig"
1948 source "board/Marvell/gplugd/Kconfig"
1949 source "board/Marvell/octeontx/Kconfig"
1950 source "board/Marvell/octeontx2/Kconfig"
1951 source "board/armadeus/apf27/Kconfig"
1952 source "board/armltd/vexpress/Kconfig"
1953 source "board/armltd/vexpress64/Kconfig"
1954 source "board/cortina/presidio-asic/Kconfig"
1955 source "board/broadcom/bcm23550_w1d/Kconfig"
1956 source "board/broadcom/bcm28155_ap/Kconfig"
1957 source "board/broadcom/bcm963158/Kconfig"
1958 source "board/broadcom/bcm968360bg/Kconfig"
1959 source "board/broadcom/bcm968580xref/Kconfig"
1960 source "board/broadcom/bcmcygnus/Kconfig"
1961 source "board/broadcom/bcmnsp/Kconfig"
1962 source "board/broadcom/bcmns2/Kconfig"
1963 source "board/broadcom/bcmns3/Kconfig"
1964 source "board/cavium/thunderx/Kconfig"
1965 source "board/cirrus/edb93xx/Kconfig"
1966 source "board/eets/pdu001/Kconfig"
1967 source "board/emulation/qemu-arm/Kconfig"
1968 source "board/freescale/ls2080a/Kconfig"
1969 source "board/freescale/ls2080aqds/Kconfig"
1970 source "board/freescale/ls2080ardb/Kconfig"
1971 source "board/freescale/ls1088a/Kconfig"
1972 source "board/freescale/ls1028a/Kconfig"
1973 source "board/freescale/ls1021aqds/Kconfig"
1974 source "board/freescale/ls1043aqds/Kconfig"
1975 source "board/freescale/ls1021atwr/Kconfig"
1976 source "board/freescale/ls1021atsn/Kconfig"
1977 source "board/freescale/ls1021aiot/Kconfig"
1978 source "board/freescale/ls1046aqds/Kconfig"
1979 source "board/freescale/ls1043ardb/Kconfig"
1980 source "board/freescale/ls1046ardb/Kconfig"
1981 source "board/freescale/ls1046afrwy/Kconfig"
1982 source "board/freescale/ls1012aqds/Kconfig"
1983 source "board/freescale/ls1012ardb/Kconfig"
1984 source "board/freescale/ls1012afrdm/Kconfig"
1985 source "board/freescale/lx2160a/Kconfig"
1986 source "board/freescale/mx35pdk/Kconfig"
1987 source "board/freescale/s32v234evb/Kconfig"
1988 source "board/grinn/chiliboard/Kconfig"
1989 source "board/hisilicon/hikey/Kconfig"
1990 source "board/hisilicon/hikey960/Kconfig"
1991 source "board/hisilicon/poplar/Kconfig"
1992 source "board/isee/igep003x/Kconfig"
1993 source "board/myir/mys_6ulx/Kconfig"
1994 source "board/spear/spear300/Kconfig"
1995 source "board/spear/spear310/Kconfig"
1996 source "board/spear/spear320/Kconfig"
1997 source "board/spear/spear600/Kconfig"
1998 source "board/spear/x600/Kconfig"
1999 source "board/st/stv0991/Kconfig"
2000 source "board/tcl/sl50/Kconfig"
2001 source "board/toradex/colibri_pxa270/Kconfig"
2002 source "board/variscite/dart_6ul/Kconfig"
2003 source "board/vscom/baltos/Kconfig"
2004 source "board/phytium/durian/Kconfig"
2005 source "board/xen/xenguest_arm64/Kconfig"
2006
2007 source "arch/arm/Kconfig.debug"
2008
2009 endmenu
2010
2011 config SPL_LDSCRIPT
2012         default "arch/arm/cpu/arm926ejs/mxs/u-boot-spl.lds" if (ARCH_MX23 || ARCH_MX28) && !SPL_FRAMEWORK
2013         default "arch/arm/cpu/arm1136/u-boot-spl.lds" if CPU_ARM1136
2014         default "arch/arm/cpu/armv8/u-boot-spl.lds" if ARM64