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