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