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