7866e8f3c4d90e551126d807c39328584b048c90
[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 SEMIHOSTING
417         bool "Support ARM semihosting"
418         help
419           Semihosting is a method for a target to communicate with a host
420           debugger. It uses special instructions which the debugger will trap
421           on and interpret. This allows U-Boot to read/write files, print to
422           the console, and execute arbitrary commands on the host system.
423
424           Enabling this option will add support for reading and writing files
425           on the host system. If you don't have a debugger attached then trying
426           to do this will likely cause U-Boot to hang. Say 'n' if you are unsure.
427
428 config SEMIHOSTING_FALLBACK
429         bool "Recover gracefully when semihosting fails"
430         depends on SEMIHOSTING && ARM64
431         default y
432         help
433           Normally, if U-Boot makes a semihosting call and no debugger is
434           attached, then it will panic due to a synchronous abort
435           exception. This config adds an exception handler which will allow
436           U-Boot to recover. Say 'y' if unsure.
437
438 config SPL_SEMIHOSTING
439         bool "Support ARM semihosting in SPL"
440         depends on SPL
441         help
442           Semihosting is a method for a target to communicate with a host
443           debugger. It uses special instructions which the debugger will trap
444           on and interpret. This allows U-Boot to read/write files, print to
445           the console, and execute arbitrary commands on the host system.
446
447           Enabling this option will add support for reading and writing files
448           on the host system. If you don't have a debugger attached then trying
449           to do this will likely cause U-Boot to hang. Say 'n' if you are unsure.
450
451 config SPL_SEMIHOSTING_FALLBACK
452         bool "Recover gracefully when semihosting fails in SPL"
453         depends on SPL_SEMIHOSTING && ARM64
454         select ARMV8_SPL_EXCEPTION_VECTORS
455         default y
456         help
457           Normally, if U-Boot makes a semihosting call and no debugger is
458           attached, then it will panic due to a synchronous abort
459           exception. This config adds an exception handler which will allow
460           U-Boot to recover. Say 'y' if unsure.
461
462 config SYS_THUMB_BUILD
463         bool "Build U-Boot using the Thumb instruction set"
464         depends on !ARM64
465         help
466            Use this flag to build U-Boot using the Thumb instruction set for
467            ARM architectures. Thumb instruction set provides better code
468            density. For ARM architectures that support Thumb2 this flag will
469            result in Thumb2 code generated by GCC.
470
471 config SPL_SYS_THUMB_BUILD
472         bool "Build SPL using the Thumb instruction set"
473         default y if SYS_THUMB_BUILD
474         depends on !ARM64 && SPL
475         help
476            Use this flag to build SPL using the Thumb instruction set for
477            ARM architectures. Thumb instruction set provides better code
478            density. For ARM architectures that support Thumb2 this flag will
479            result in Thumb2 code generated by GCC.
480
481 config TPL_SYS_THUMB_BUILD
482         bool "Build TPL using the Thumb instruction set"
483         default y if SYS_THUMB_BUILD
484         depends on TPL && !ARM64
485         help
486            Use this flag to build TPL using the Thumb instruction set for
487            ARM architectures. Thumb instruction set provides better code
488            density. For ARM architectures that support Thumb2 this flag will
489            result in Thumb2 code generated by GCC.
490
491 config SYS_L2_PL310
492         bool "ARM PL310 L2 cache controller"
493         help
494           Enable support for ARM PL310 L2 cache controller in U-Boot
495
496 config SPL_SYS_L2_PL310
497         bool "ARM PL310 L2 cache controller in SPL"
498         help
499           Enable support for ARM PL310 L2 cache controller in SPL
500
501 config SYS_L2CACHE_OFF
502         bool "L2cache off"
503         help
504           If SoC does not support L2CACHE or one does not want to enable
505           L2CACHE, choose this option.
506
507 config ENABLE_ARM_SOC_BOOT0_HOOK
508         bool "prepare BOOT0 header"
509         help
510           If the SoC's BOOT0 requires a header area filled with (magic)
511           values, then choose this option, and create a file included as
512           <asm/arch/boot0.h> which contains the required assembler code.
513
514 config USE_ARCH_MEMCPY
515         bool "Use an assembly optimized implementation of memcpy"
516         default y if !ARM64
517         depends on !ARM64 || (ARM64 && (GCC_VERSION >= 90400))
518         help
519           Enable the generation of an optimized version of memcpy.
520           Such an implementation may be faster under some conditions
521           but may increase the binary size.
522
523 config SPL_USE_ARCH_MEMCPY
524         bool "Use an assembly optimized implementation of memcpy for SPL"
525         default y if USE_ARCH_MEMCPY
526         depends on SPL
527         help
528           Enable the generation of an optimized version of memcpy.
529           Such an implementation may be faster under some conditions
530           but may increase the binary size.
531
532 config TPL_USE_ARCH_MEMCPY
533         bool "Use an assembly optimized implementation of memcpy for TPL"
534         default y if USE_ARCH_MEMCPY
535         depends on TPL
536         help
537           Enable the generation of an optimized version of memcpy.
538           Such an implementation may be faster under some conditions
539           but may increase the binary size.
540
541 config USE_ARCH_MEMMOVE
542         bool "Use an assembly optimized implementation of memmove" if !ARM64
543         default USE_ARCH_MEMCPY if ARM64
544         depends on ARM64
545         help
546           Enable the generation of an optimized version of memmove.
547           Such an implementation may be faster under some conditions
548           but may increase the binary size.
549
550 config SPL_USE_ARCH_MEMMOVE
551         bool "Use an assembly optimized implementation of memmove for SPL" if !ARM64
552         default SPL_USE_ARCH_MEMCPY if ARM64
553         depends on SPL && ARM64
554         help
555           Enable the generation of an optimized version of memmove.
556           Such an implementation may be faster under some conditions
557           but may increase the binary size.
558
559 config TPL_USE_ARCH_MEMMOVE
560         bool "Use an assembly optimized implementation of memmove for TPL" if !ARM64
561         default TPL_USE_ARCH_MEMCPY if ARM64
562         depends on TPL && ARM64
563         help
564           Enable the generation of an optimized version of memmove.
565           Such an implementation may be faster under some conditions
566           but may increase the binary size.
567
568 config USE_ARCH_MEMSET
569         bool "Use an assembly optimized implementation of memset"
570         default y if !ARM64
571         depends on !ARM64 || (ARM64 && (GCC_VERSION >= 90400))
572         help
573           Enable the generation of an optimized version of memset.
574           Such an implementation may be faster under some conditions
575           but may increase the binary size.
576
577 config SPL_USE_ARCH_MEMSET
578         bool "Use an assembly optimized implementation of memset for SPL"
579         default y if USE_ARCH_MEMSET
580         depends on SPL
581         help
582           Enable the generation of an optimized version of memset.
583           Such an implementation may be faster under some conditions
584           but may increase the binary size.
585
586 config TPL_USE_ARCH_MEMSET
587         bool "Use an assembly optimized implementation of memset for TPL"
588         default y if USE_ARCH_MEMSET
589         depends on TPL
590         help
591           Enable the generation of an optimized version of memset.
592           Such an implementation may be faster under some conditions
593           but may increase the binary size.
594
595 config ARM64_SUPPORT_AARCH32
596         bool "ARM64 system support AArch32 execution state"
597         depends on ARM64
598         default y if !TARGET_THUNDERX_88XX
599         help
600           This ARM64 system supports AArch32 execution state.
601
602 config S5P
603         def_bool y if ARCH_EXYNOS || ARCH_S5PC1XX
604
605 choice
606         prompt "Target select"
607         default TARGET_HIKEY
608
609 config ARCH_AT91
610         bool "Atmel AT91"
611         select GPIO_EXTRA_HEADER
612         select SPL_BOARD_INIT if SPL && !TARGET_SMARTWEB
613         select SPL_SEPARATE_BSS if SPL
614
615 config ARCH_DAVINCI
616         bool "TI DaVinci"
617         select CPU_ARM926EJS
618         select GPIO_EXTRA_HEADER
619         select SPL_DM_SPI if SPL
620         imply CMD_SAVES
621         help
622           Support for TI's DaVinci platform.
623
624 config ARCH_KIRKWOOD
625         bool "Marvell Kirkwood"
626         select ARCH_MISC_INIT
627         select BOARD_EARLY_INIT_F
628         select CPU_ARM926EJS
629         select GPIO_EXTRA_HEADER
630         select TIMER
631
632 config ARCH_MVEBU
633         bool "Marvell MVEBU family (Armada XP/375/38x/3700/7K/8K)"
634         select DM
635         select DM_ETH
636         select DM_SERIAL
637         select DM_SPI
638         select DM_SPI_FLASH
639         select GPIO_EXTRA_HEADER
640         select SPL_DM_SPI if SPL
641         select SPL_DM_SPI_FLASH if SPL
642         select SPL_TIMER if SPL
643         select TIMER if !ARM64
644         select OF_CONTROL
645         select OF_SEPARATE
646         select SPI
647         imply CMD_DM
648
649 config ARCH_ORION5X
650         bool "Marvell Orion"
651         select CPU_ARM926EJS
652         select GPIO_EXTRA_HEADER
653         select SPL_SEPARATE_BSS if SPL
654         select TIMER
655
656 config TARGET_STV0991
657         bool "Support stv0991"
658         select CPU_V7A
659         select DM
660         select DM_SERIAL
661         select DM_SPI
662         select DM_SPI_FLASH
663         select GPIO_EXTRA_HEADER
664         select PL01X_SERIAL
665         select SPI
666         select SPI_FLASH
667         imply CMD_DM
668
669 config ARCH_BCM283X
670         bool "Broadcom BCM283X family"
671         select DM
672         select DM_GPIO
673         select DM_SERIAL
674         select GPIO_EXTRA_HEADER
675         select OF_CONTROL
676         select PL01X_SERIAL
677         select SERIAL_SEARCH_ALL
678         imply CMD_DM
679         imply FAT_WRITE
680
681 config ARCH_BCMSTB
682         bool "Broadcom BCM7XXX family"
683         select CPU_V7A
684         select DM
685         select GPIO_EXTRA_HEADER
686         select OF_CONTROL
687         imply CMD_DM
688         imply OF_HAS_PRIOR_STAGE
689         help
690           This enables support for Broadcom ARM-based set-top box
691           chipsets, including the 7445 family of chips.
692
693 config ARCH_BCMBCA
694         bool "Broadcom broadband chip family"
695         select DM
696         select OF_CONTROL
697         imply CMD_DM
698
699 config TARGET_VEXPRESS_CA9X4
700         bool "Support vexpress_ca9x4"
701         select CPU_V7A
702         select PL011_SERIAL
703
704 config TARGET_BCMCYGNUS
705         bool "Support bcmcygnus"
706         select CPU_V7A
707         select GPIO_EXTRA_HEADER
708         imply BCM_SF2_ETH
709         imply BCM_SF2_ETH_GMAC
710         imply CMD_HASH
711         imply CRC32_VERIFY
712         imply FAT_WRITE
713         imply HASH_VERIFY
714         imply NETDEVICES
715
716 config TARGET_BCMNS2
717         bool "Support Broadcom Northstar2"
718         select ARM64
719         select GPIO_EXTRA_HEADER
720         help
721           Support for Broadcom Northstar 2 SoCs.  NS2 is a quad-core 64-bit
722           ARMv8 Cortex-A57 processors targeting a broad range of networking
723           applications.
724
725 config TARGET_BCMNS3
726         bool "Support Broadcom NS3"
727         select ARM64
728         select BOARD_LATE_INIT
729         help
730           Support for Broadcom Northstar 3 SoCs. NS3 is a octo-core 64-bit
731           ARMv8 Cortex-A72 processors targeting a broad range of networking
732           applications.
733
734 config ARCH_EXYNOS
735         bool "Samsung EXYNOS"
736         select DM
737         select DM_GPIO
738         select DM_I2C
739         select DM_ETH
740         select DM_KEYBOARD
741         select DM_SERIAL
742         select DM_SPI
743         select DM_SPI_FLASH
744         select SPI
745         select GPIO_EXTRA_HEADER
746         imply SYS_THUMB_BUILD
747         imply CMD_DM
748         imply FAT_WRITE
749
750 config ARCH_S5PC1XX
751         bool "Samsung S5PC1XX"
752         select CPU_V7A
753         select DM
754         select DM_GPIO
755         select DM_I2C
756         select DM_SERIAL
757         select GPIO_EXTRA_HEADER
758         imply CMD_DM
759
760 config ARCH_HIGHBANK
761         bool "Calxeda Highbank"
762         select CPU_V7A
763         select PL01X_SERIAL
764         select DM
765         select DM_SERIAL
766         select OF_CONTROL
767         select CLK
768         select CLK_CCF
769         select AHCI
770         select DM_ETH
771         select PHYS_64BIT
772         select TIMER
773         select SP804_TIMER
774         imply OF_HAS_PRIOR_STAGE
775
776 config ARCH_INTEGRATOR
777         bool "ARM Ltd. Integrator family"
778         select DM
779         select DM_SERIAL
780         select GPIO_EXTRA_HEADER
781         select PL01X_SERIAL
782         imply CMD_DM
783
784 config ARCH_IPQ40XX
785         bool "Qualcomm IPQ40xx SoCs"
786         select CPU_V7A
787         select DM
788         select DM_GPIO
789         select DM_SERIAL
790         select DM_RESET
791         select GPIO_EXTRA_HEADER
792         select MSM_SMEM
793         select PINCTRL
794         select CLK
795         select SMEM
796         select OF_CONTROL
797         imply CMD_DM
798
799 config ARCH_KEYSTONE
800         bool "TI Keystone"
801         select CMD_POWEROFF
802         select CPU_V7A
803         select DDR_SPD
804         select SUPPORT_SPL
805         select SYS_ARCH_TIMER
806         select SYS_THUMB_BUILD
807         imply CMD_MTDPARTS
808         imply CMD_SAVES
809         imply FIT
810
811 config ARCH_K3
812         bool "Texas Instruments' K3 Architecture"
813         select SPL
814         select SUPPORT_SPL
815         select FIT
816
817 config ARCH_OMAP2PLUS
818         bool "TI OMAP2+"
819         select CPU_V7A
820         select GPIO_EXTRA_HEADER
821         select SPL_BOARD_INIT if SPL
822         select SPL_STACK_R if SPL
823         select SUPPORT_SPL
824         imply TI_SYSC if DM && OF_CONTROL
825         imply FIT
826         imply DM_EVENT
827         imply SPL_SEPARATE_BSS
828
829 config ARCH_MESON
830         bool "Amlogic Meson"
831         select GPIO_EXTRA_HEADER
832         imply DISTRO_DEFAULTS
833         imply DM_RNG
834         help
835           Support for the Meson SoC family developed by Amlogic Inc.,
836           targeted at media players and tablet computers. We currently
837           support the S905 (GXBaby) 64-bit SoC.
838
839 config ARCH_MEDIATEK
840         bool "MediaTek SoCs"
841         select DM
842         select GPIO_EXTRA_HEADER
843         select OF_CONTROL
844         select SPL_DM if SPL
845         select SPL_LIBCOMMON_SUPPORT if SPL
846         select SPL_LIBGENERIC_SUPPORT if SPL
847         select SPL_OF_CONTROL if SPL
848         select SUPPORT_SPL
849         help
850           Support for the MediaTek SoCs family developed by MediaTek Inc.
851           Please refer to doc/README.mediatek for more information.
852
853 config ARCH_LPC32XX
854         bool "NXP LPC32xx platform"
855         select CPU_ARM926EJS
856         select DM
857         select DM_GPIO
858         select DM_SERIAL
859         select GPIO_EXTRA_HEADER
860         select SPL_DM if SPL
861         select SUPPORT_SPL
862         imply CMD_DM
863
864 config ARCH_IMX8
865         bool "NXP i.MX8 platform"
866         select ARM64
867         select SYS_FSL_HAS_SEC
868         select SYS_FSL_SEC_COMPAT_4
869         select SYS_FSL_SEC_LE
870         select DM
871         select GPIO_EXTRA_HEADER
872         select MACH_IMX
873         select OF_CONTROL
874         select ENABLE_ARM_SOC_BOOT0_HOOK
875         imply DM_EVENT
876
877 config ARCH_IMX8M
878         bool "NXP i.MX8M platform"
879         select ARM64
880         select GPIO_EXTRA_HEADER
881         select MACH_IMX
882         select SYS_FSL_HAS_SEC
883         select SYS_FSL_SEC_COMPAT_4
884         select SYS_FSL_SEC_LE
885         select SYS_I2C_MXC
886         select DM
887         select SUPPORT_SPL
888         imply CMD_DM
889         imply DM_EVENT
890
891 config ARCH_IMX8ULP
892         bool "NXP i.MX8ULP platform"
893         select ARM64
894         select DM
895         select MACH_IMX
896         select OF_CONTROL
897         select SUPPORT_SPL
898         select GPIO_EXTRA_HEADER
899         select MISC
900         select IMX_SENTINEL
901         imply CMD_DM
902         imply DM_EVENT
903
904 config ARCH_IMX9
905         bool "NXP i.MX9 platform"
906         select ARM64
907         select DM
908         select MACH_IMX
909         select SUPPORT_SPL
910         select GPIO_EXTRA_HEADER
911         select MISC
912         select IMX_SENTINEL
913         imply CMD_DM
914         imply DM_EVENT
915
916 config ARCH_IMXRT
917         bool "NXP i.MXRT platform"
918         select CPU_V7M
919         select DM
920         select DM_SERIAL
921         select GPIO_EXTRA_HEADER
922         select MACH_IMX
923         select SUPPORT_SPL
924         imply CMD_DM
925
926 config ARCH_MX23
927         bool "NXP i.MX23 family"
928         select CPU_ARM926EJS
929         select GPIO_EXTRA_HEADER
930         select MACH_IMX
931         select PL011_SERIAL
932         select SUPPORT_SPL
933
934 config ARCH_MX28
935         bool "NXP i.MX28 family"
936         select CPU_ARM926EJS
937         select GPIO_EXTRA_HEADER
938         select PL011_SERIAL
939         select MACH_IMX
940         select SUPPORT_SPL
941
942 config ARCH_MX31
943         bool "NXP i.MX31 family"
944         select CPU_ARM1136
945         select GPIO_EXTRA_HEADER
946         select MACH_IMX
947
948 config ARCH_MX7ULP
949         bool "NXP MX7ULP"
950         select BOARD_POSTCLK_INIT
951         select CPU_V7A
952         select GPIO_EXTRA_HEADER
953         select MACH_IMX
954         select SYS_FSL_HAS_SEC
955         select SYS_FSL_SEC_COMPAT_4
956         select SYS_FSL_SEC_LE
957         select ROM_UNIFIED_SECTIONS
958         imply MXC_GPIO
959         imply SYS_THUMB_BUILD
960
961 config ARCH_MX7
962         bool "Freescale MX7"
963         select ARCH_MISC_INIT
964         select CPU_V7A
965         select GPIO_EXTRA_HEADER
966         select MACH_IMX
967         select SYS_FSL_HAS_SEC
968         select SYS_FSL_SEC_COMPAT_4
969         select SYS_FSL_SEC_LE
970         imply BOARD_EARLY_INIT_F
971         imply MXC_GPIO
972         imply SYS_THUMB_BUILD
973
974 config ARCH_MX6
975         bool "Freescale MX6"
976         select BOARD_POSTCLK_INIT
977         select CPU_V7A
978         select GPIO_EXTRA_HEADER
979         select MACH_IMX
980         select SYS_FSL_HAS_SEC
981         select SYS_FSL_SEC_COMPAT_4
982         select SYS_FSL_SEC_LE
983         select SYS_L2_PL310 if !SYS_L2CACHE_OFF
984         imply MXC_GPIO
985         imply SYS_THUMB_BUILD
986         imply SPL_SEPARATE_BSS
987
988 config ARCH_MX5
989         bool "Freescale MX5"
990         select BOARD_EARLY_INIT_F
991         select CPU_V7A
992         select GPIO_EXTRA_HEADER
993         select MACH_IMX
994         imply MXC_GPIO
995
996 config ARCH_NEXELL
997         bool "Nexell S5P4418/S5P6818 SoC"
998         select ENABLE_ARM_SOC_BOOT0_HOOK
999         select DM
1000         select GPIO_EXTRA_HEADER
1001
1002 config ARCH_NPCM
1003         bool "Support Nuvoton SoCs"
1004         select DM
1005         select OF_CONTROL
1006         imply CMD_DM
1007
1008 config ARCH_APPLE
1009         bool "Apple SoCs"
1010         select ARM64
1011         select CLK
1012         select CMD_USB
1013         select DM
1014         select DM_GPIO
1015         select DM_KEYBOARD
1016         select DM_MAILBOX
1017         select DM_RESET
1018         select DM_SERIAL
1019         select DM_SPI
1020         select DM_USB
1021         select VIDEO
1022         select IOMMU
1023         select LINUX_KERNEL_IMAGE_HEADER
1024         select OF_BOARD_SETUP
1025         select OF_CONTROL
1026         select PINCTRL
1027         select POSITION_INDEPENDENT
1028         select POWER_DOMAIN
1029         select REGMAP
1030         select SPI
1031         select SYSCON
1032         select SYSRESET
1033         select SYSRESET_WATCHDOG
1034         select SYSRESET_WATCHDOG_AUTO
1035         select USB
1036         imply CMD_DM
1037         imply CMD_GPT
1038         imply DISTRO_DEFAULTS
1039         imply OF_HAS_PRIOR_STAGE
1040
1041 config ARCH_OWL
1042         bool "Actions Semi OWL SoCs"
1043         select DM
1044         select DM_ETH
1045         select DM_SERIAL
1046         select GPIO_EXTRA_HEADER
1047         select OWL_SERIAL
1048         select CLK
1049         select CLK_OWL
1050         select OF_CONTROL
1051         select SYS_RELOC_GD_ENV_ADDR
1052         imply CMD_DM
1053
1054 config ARCH_QEMU
1055         bool "QEMU Virtual Platform"
1056         select DM
1057         select DM_SERIAL
1058         select OF_CONTROL
1059         select PL01X_SERIAL
1060         imply CMD_DM
1061         imply DM_RNG
1062         imply DM_RTC
1063         imply RTC_PL031
1064         imply OF_HAS_PRIOR_STAGE
1065
1066 config ARCH_RMOBILE
1067         bool "Renesas ARM SoCs"
1068         select DM
1069         select DM_SERIAL
1070         select GPIO_EXTRA_HEADER
1071         imply BOARD_EARLY_INIT_F
1072         imply CMD_DM
1073         imply FAT_WRITE
1074         imply SYS_THUMB_BUILD
1075         imply ARCH_MISC_INIT if DISPLAY_CPUINFO
1076
1077 config ARCH_SNAPDRAGON
1078         bool "Qualcomm Snapdragon SoCs"
1079         select ARM64
1080         select DM
1081         select DM_GPIO
1082         select DM_SERIAL
1083         select GPIO_EXTRA_HEADER
1084         select MSM_SMEM
1085         select OF_CONTROL
1086         select OF_SEPARATE
1087         select SMEM
1088         select SPMI
1089         imply CMD_DM
1090
1091 config ARCH_SOCFPGA
1092         bool "Altera SOCFPGA family"
1093         select ARCH_EARLY_INIT_R
1094         select ARCH_MISC_INIT if !TARGET_SOCFPGA_ARRIA10
1095         select ARM64 if TARGET_SOCFPGA_SOC64
1096         select CPU_V7A if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
1097         select DM
1098         select DM_SERIAL
1099         select GICV2
1100         select GPIO_EXTRA_HEADER
1101         select ENABLE_ARM_SOC_BOOT0_HOOK if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
1102         select OF_CONTROL
1103         select SPL_DM_RESET if DM_RESET
1104         select SPL_DM_SERIAL
1105         select SPL_LIBCOMMON_SUPPORT
1106         select SPL_LIBGENERIC_SUPPORT
1107         select SPL_OF_CONTROL
1108         select SPL_SEPARATE_BSS if TARGET_SOCFPGA_SOC64
1109         select SPL_SERIAL
1110         select SPL_SYSRESET
1111         select SPL_WATCHDOG
1112         select SUPPORT_SPL
1113         select SYS_NS16550
1114         select SYS_THUMB_BUILD if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
1115         select SYSRESET
1116         select SYSRESET_SOCFPGA if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
1117         select SYSRESET_SOCFPGA_SOC64 if TARGET_SOCFPGA_SOC64
1118         imply CMD_DM
1119         imply CMD_MTDPARTS
1120         imply CRC32_VERIFY
1121         imply DM_SPI
1122         imply DM_SPI_FLASH
1123         imply FAT_WRITE
1124         imply SPL
1125         imply SPL_DM
1126         imply SPL_DM_SPI
1127         imply SPL_DM_SPI_FLASH
1128         imply SPL_LIBDISK_SUPPORT
1129         imply SPL_MMC
1130         imply SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION
1131         imply SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION_TYPE
1132         imply SPL_SPI_FLASH_SUPPORT
1133         imply SPL_SPI
1134         imply L2X0_CACHE
1135
1136 config ARCH_SUNXI
1137         bool "Support sunxi (Allwinner) SoCs"
1138         select BINMAN
1139         select CMD_GPIO
1140         select CMD_MMC if MMC
1141         select CMD_USB if DISTRO_DEFAULTS && USB_HOST
1142         select CLK
1143         select DM
1144         select DM_ETH
1145         select DM_GPIO
1146         select DM_I2C if I2C
1147         select DM_SPI if SPI
1148         select DM_SPI_FLASH if SPI
1149         select DM_KEYBOARD
1150         select DM_MMC if MMC
1151         select DM_SCSI if SCSI
1152         select DM_SERIAL
1153         select GPIO_EXTRA_HEADER
1154         select OF_BOARD_SETUP
1155         select OF_CONTROL
1156         select OF_SEPARATE
1157         select PINCTRL
1158         select SPECIFY_CONSOLE_INDEX
1159         select SPL_SEPARATE_BSS if SPL
1160         select SPL_STACK_R if SPL
1161         select SPL_SYS_MALLOC_SIMPLE if SPL
1162         select SPL_SYS_THUMB_BUILD if !ARM64
1163         select SUNXI_GPIO
1164         select SYS_NS16550
1165         select SYS_THUMB_BUILD if !ARM64
1166         select USB if DISTRO_DEFAULTS
1167         select USB_KEYBOARD if DISTRO_DEFAULTS && USB_HOST
1168         select USB_STORAGE if DISTRO_DEFAULTS && USB_HOST
1169         select SPL_USE_TINY_PRINTF
1170         select USE_PREBOOT
1171         select SYS_RELOC_GD_ENV_ADDR
1172         imply BOARD_LATE_INIT
1173         imply CMD_DM
1174         imply CMD_GPT
1175         imply CMD_UBI if MTD_RAW_NAND
1176         imply DISTRO_DEFAULTS
1177         imply FAT_WRITE
1178         imply FIT
1179         imply OF_LIBFDT_OVERLAY
1180         imply PRE_CONSOLE_BUFFER
1181         imply SPL_GPIO
1182         imply SPL_LIBCOMMON_SUPPORT
1183         imply SPL_LIBGENERIC_SUPPORT
1184         imply SPL_MMC if MMC
1185         imply SPL_POWER
1186         imply SPL_SERIAL
1187         imply SYSRESET
1188         imply SYSRESET_WATCHDOG
1189         imply SYSRESET_WATCHDOG_AUTO
1190         imply USB_GADGET
1191         imply WDT
1192
1193 config ARCH_U8500
1194         bool "ST-Ericsson U8500 Series"
1195         select CPU_V7A
1196         select DM
1197         select DM_GPIO
1198         select DM_MMC if MMC
1199         select DM_SERIAL
1200         select DM_USB_GADGET if DM_USB
1201         select OF_CONTROL
1202         select SYSRESET
1203         select TIMER
1204         imply AB8500_USB_PHY
1205         imply ARM_PL180_MMCI
1206         imply CLK
1207         imply DM_PMIC
1208         imply DM_RTC
1209         imply NOMADIK_GPIO
1210         imply NOMADIK_MTU_TIMER
1211         imply PHY
1212         imply PL01X_SERIAL
1213         imply PMIC_AB8500
1214         imply RTC_PL031
1215         imply SYS_THUMB_BUILD
1216         imply SYSRESET_SYSCON
1217
1218 config ARCH_VERSAL
1219         bool "Support Xilinx Versal Platform"
1220         select ARM64
1221         select CLK
1222         select DM
1223         select DM_ETH if NET
1224         select DM_MMC if MMC
1225         select DM_SERIAL
1226         select GICV3
1227         select OF_CONTROL
1228         select SOC_DEVICE
1229         imply BOARD_LATE_INIT
1230         imply ENV_VARS_UBOOT_RUNTIME_CONFIG
1231
1232 config ARCH_VERSAL_NET
1233         bool "Support Xilinx Keystone Platform"
1234         select ARM64
1235         select CLK
1236         select DM
1237         select DM_ETH if NET
1238         select DM_MMC if MMC
1239         select DM_SERIAL
1240         select OF_CONTROL
1241         imply BOARD_LATE_INIT
1242         imply ENV_VARS_UBOOT_RUNTIME_CONFIG
1243
1244 config ARCH_VF610
1245         bool "Freescale Vybrid"
1246         select CPU_V7A
1247         select GPIO_EXTRA_HEADER
1248         select MACH_IMX
1249         select SYS_FSL_ERRATUM_ESDHC111
1250         imply CMD_MTDPARTS
1251         imply MTD_RAW_NAND
1252
1253 config ARCH_ZYNQ
1254         bool "Xilinx Zynq based platform"
1255         select ARM_TWD_TIMER
1256         select CLK
1257         select CLK_ZYNQ
1258         select CPU_V7A
1259         select DEBUG_UART_BOARD_INIT if SPL && DEBUG_UART
1260         select DM
1261         select DM_ETH if NET
1262         select DM_MMC if MMC
1263         select DM_SERIAL
1264         select DM_SPI
1265         select DM_SPI_FLASH
1266         select OF_CONTROL
1267         select SPI
1268         select SPL_BOARD_INIT if SPL
1269         select SPL_CLK if SPL
1270         select SPL_DM if SPL
1271         select SPL_DM_SPI if SPL
1272         select SPL_DM_SPI_FLASH if SPL
1273         select SPL_OF_CONTROL if SPL
1274         select SPL_SEPARATE_BSS if SPL
1275         select SPL_TIMER if SPL
1276         select SUPPORT_SPL
1277         select TIMER
1278         imply ARCH_EARLY_INIT_R
1279         imply BOARD_LATE_INIT
1280         imply CMD_CLK
1281         imply CMD_DM
1282         imply CMD_SPL
1283         imply ENV_VARS_UBOOT_RUNTIME_CONFIG
1284         imply FAT_WRITE
1285
1286 config ARCH_ZYNQMP_R5
1287         bool "Xilinx ZynqMP R5 based platform"
1288         select CLK
1289         select CPU_V7R
1290         select DM
1291         select DM_ETH if NET
1292         select DM_MMC if MMC
1293         select DM_SERIAL
1294         select OF_CONTROL
1295         imply CMD_DM
1296         imply DM_USB_GADGET
1297
1298 config ARCH_ZYNQMP
1299         bool "Xilinx ZynqMP based platform"
1300         select ARM64
1301         select CLK
1302         select DM
1303         select DEBUG_UART_BOARD_INIT if SPL && DEBUG_UART
1304         select DM_ETH if NET
1305         select DM_MAILBOX
1306         select DM_MMC if MMC
1307         select DM_SERIAL
1308         select DM_SPI if SPI
1309         select DM_SPI_FLASH if DM_SPI
1310         imply FIRMWARE
1311         select GICV2
1312         select OF_CONTROL
1313         select SPL_BOARD_INIT if SPL
1314         select SPL_CLK if SPL
1315         select SPL_DM if SPL
1316         select SPL_DM_SPI if SPI && SPL_DM
1317         select SPL_DM_SPI_FLASH if SPL_DM_SPI
1318         select SPL_DM_MAILBOX if SPL
1319         imply SPL_FIRMWARE if SPL
1320         select SPL_SEPARATE_BSS if SPL
1321         select SUPPORT_SPL
1322         select ZYNQMP_IPI
1323         select SOC_DEVICE
1324         imply BOARD_LATE_INIT
1325         imply CMD_DM
1326         imply ENV_VARS_UBOOT_RUNTIME_CONFIG
1327         imply FAT_WRITE
1328         imply MP
1329         imply DM_USB_GADGET
1330         imply ZYNQMP_GPIO_MODEPIN if DM_GPIO && USB
1331
1332 config ARCH_TEGRA
1333         bool "NVIDIA Tegra"
1334         select GPIO_EXTRA_HEADER
1335         imply DISTRO_DEFAULTS
1336         imply FAT_WRITE
1337
1338 config ARCH_VEXPRESS64
1339         bool "Support ARMv8 Arm Ltd. VExpress based boards and models"
1340         select ARM64
1341         select DM
1342         select DM_SERIAL
1343         select PL01X_SERIAL
1344         select OF_CONTROL
1345         select CLK
1346         select BLK
1347         select MTD_NOR_FLASH if MTD
1348         select FLASH_CFI_DRIVER if MTD
1349         select ENV_IS_IN_FLASH if MTD
1350         imply DISTRO_DEFAULTS
1351
1352 config TARGET_CORSTONE1000
1353         bool "Support Corstone1000 Platform"
1354         select ARM64
1355         select PL01X_SERIAL
1356         select DM
1357
1358 config TARGET_TOTAL_COMPUTE
1359         bool "Support Total Compute Platform"
1360         select ARM64
1361         select PL01X_SERIAL
1362         select DM
1363         select DM_SERIAL
1364         select DM_MMC
1365         select DM_GPIO
1366
1367 config TARGET_LS2080A_EMU
1368         bool "Support ls2080a_emu"
1369         select ARCH_LS2080A
1370         select ARM64
1371         select ARMV8_MULTIENTRY
1372         select FSL_DDR_SYNC_REFRESH
1373         select GPIO_EXTRA_HEADER
1374         help
1375           Support for Freescale LS2080A_EMU platform.
1376           The LS2080A Development System (EMULATOR) is a pre-silicon
1377           development platform that supports the QorIQ LS2080A
1378           Layerscape Architecture processor.
1379
1380 config TARGET_LS1088AQDS
1381         bool "Support ls1088aqds"
1382         select ARCH_LS1088A
1383         select ARM64
1384         select ARMV8_MULTIENTRY
1385         select ARCH_SUPPORT_TFABOOT
1386         select BOARD_LATE_INIT
1387         select GPIO_EXTRA_HEADER
1388         select SUPPORT_SPL
1389         select FSL_DDR_INTERACTIVE if !SD_BOOT
1390         help
1391           Support for NXP LS1088AQDS platform.
1392           The LS1088A Development System (QDS) is a high-performance
1393           development platform that supports the QorIQ LS1088A
1394           Layerscape Architecture processor.
1395
1396 config TARGET_LS2080AQDS
1397         bool "Support ls2080aqds"
1398         select ARCH_LS2080A
1399         select ARM64
1400         select ARMV8_MULTIENTRY
1401         select ARCH_SUPPORT_TFABOOT
1402         select BOARD_LATE_INIT
1403         select GPIO_EXTRA_HEADER
1404         select SUPPORT_SPL
1405         imply SCSI
1406         imply SCSI_AHCI
1407         select FSL_DDR_BIST
1408         select FSL_DDR_INTERACTIVE if !SPL
1409         help
1410           Support for Freescale LS2080AQDS platform.
1411           The LS2080A Development System (QDS) is a high-performance
1412           development platform that supports the QorIQ LS2080A
1413           Layerscape Architecture processor.
1414
1415 config TARGET_LS2080ARDB
1416         bool "Support ls2080ardb"
1417         select ARCH_LS2080A
1418         select ARM64
1419         select ARMV8_MULTIENTRY
1420         select ARCH_SUPPORT_TFABOOT
1421         select BOARD_LATE_INIT
1422         select SUPPORT_SPL
1423         select FSL_DDR_BIST
1424         select FSL_DDR_INTERACTIVE if !SPL
1425         select GPIO_EXTRA_HEADER
1426         imply SCSI
1427         imply SCSI_AHCI
1428         help
1429           Support for Freescale LS2080ARDB platform.
1430           The LS2080A Reference design board (RDB) is a high-performance
1431           development platform that supports the QorIQ LS2080A
1432           Layerscape Architecture processor.
1433
1434 config TARGET_LS2081ARDB
1435         bool "Support ls2081ardb"
1436         select ARCH_LS2080A
1437         select ARM64
1438         select ARMV8_MULTIENTRY
1439         select BOARD_LATE_INIT
1440         select GPIO_EXTRA_HEADER
1441         select SUPPORT_SPL
1442         help
1443           Support for Freescale LS2081ARDB platform.
1444           The LS2081A Reference design board (RDB) is a high-performance
1445           development platform that supports the QorIQ LS2081A/LS2041A
1446           Layerscape Architecture processor.
1447
1448 config TARGET_LX2160ARDB
1449         bool "Support lx2160ardb"
1450         select ARCH_LX2160A
1451         select ARM64
1452         select ARMV8_MULTIENTRY
1453         select ARCH_SUPPORT_TFABOOT
1454         select BOARD_LATE_INIT
1455         select GPIO_EXTRA_HEADER
1456         help
1457           Support for NXP LX2160ARDB platform.
1458           The lx2160ardb (LX2160A Reference design board (RDB)
1459           is a high-performance development platform that supports the
1460           QorIQ LX2160A/LX2120A/LX2080A Layerscape Architecture processor.
1461
1462 config TARGET_LX2160AQDS
1463         bool "Support lx2160aqds"
1464         select ARCH_LX2160A
1465         select ARM64
1466         select ARMV8_MULTIENTRY
1467         select ARCH_SUPPORT_TFABOOT
1468         select BOARD_LATE_INIT
1469         select GPIO_EXTRA_HEADER
1470         help
1471           Support for NXP LX2160AQDS platform.
1472           The lx2160aqds (LX2160A QorIQ Development System (QDS)
1473           is a high-performance development platform that supports the
1474           QorIQ LX2160A/LX2120A/LX2080A Layerscape Architecture processor.
1475
1476 config TARGET_LX2162AQDS
1477         bool "Support lx2162aqds"
1478         select ARCH_LX2162A
1479         select ARCH_MISC_INIT
1480         select ARM64
1481         select ARMV8_MULTIENTRY
1482         select ARCH_SUPPORT_TFABOOT
1483         select BOARD_LATE_INIT
1484         select GPIO_EXTRA_HEADER
1485         help
1486           Support for NXP LX2162AQDS platform.
1487           The lx2162aqds support is based on LX2160A Layerscape Architecture processor.
1488
1489 config TARGET_HIKEY
1490         bool "Support HiKey 96boards Consumer Edition Platform"
1491         select ARM64
1492         select DM
1493         select DM_GPIO
1494         select DM_SERIAL
1495         select GPIO_EXTRA_HEADER
1496         select OF_CONTROL
1497         select PL01X_SERIAL
1498         select SPECIFY_CONSOLE_INDEX
1499         imply CMD_DM
1500           help
1501           Support for HiKey 96boards platform. It features a HI6220
1502           SoC, with 8xA53 CPU, mali450 gpu, and 1GB RAM.
1503
1504 config TARGET_HIKEY960
1505         bool "Support HiKey960 96boards Consumer Edition Platform"
1506         select ARM64
1507         select DM
1508         select DM_SERIAL
1509         select GPIO_EXTRA_HEADER
1510         select OF_CONTROL
1511         select PL01X_SERIAL
1512         imply CMD_DM
1513           help
1514           Support for HiKey960 96boards platform. It features a HI3660
1515           SoC, with 4xA73 CPU, 4xA53 CPU, MALI-G71 GPU, and 3GB RAM.
1516
1517 config TARGET_POPLAR
1518         bool "Support Poplar 96boards Enterprise Edition Platform"
1519         select ARM64
1520         select DM
1521         select DM_SERIAL
1522         select GPIO_EXTRA_HEADER
1523         select OF_CONTROL
1524         select PL01X_SERIAL
1525         imply CMD_DM
1526           help
1527           Support for Poplar 96boards EE platform. It features a HI3798cv200
1528           SoC, with 4xA53 CPU, 1GB RAM and the high performance Mali T720 GPU
1529           making it capable of running any commercial set-top solution based on
1530           Linux or Android.
1531
1532 config TARGET_LS1012AQDS
1533         bool "Support ls1012aqds"
1534         select ARCH_LS1012A
1535         select ARM64
1536         select ARCH_SUPPORT_TFABOOT
1537         select BOARD_LATE_INIT
1538         select GPIO_EXTRA_HEADER
1539         help
1540           Support for Freescale LS1012AQDS platform.
1541           The LS1012A Development System (QDS) is a high-performance
1542           development platform that supports the QorIQ LS1012A
1543           Layerscape Architecture processor.
1544
1545 config TARGET_LS1012ARDB
1546         bool "Support ls1012ardb"
1547         select ARCH_LS1012A
1548         select ARM64
1549         select ARCH_SUPPORT_TFABOOT
1550         select BOARD_LATE_INIT
1551         select GPIO_EXTRA_HEADER
1552         imply SCSI
1553         imply SCSI_AHCI
1554         help
1555           Support for Freescale LS1012ARDB platform.
1556           The LS1012A Reference design board (RDB) is a high-performance
1557           development platform that supports the QorIQ LS1012A
1558           Layerscape Architecture processor.
1559
1560 config TARGET_LS1012A2G5RDB
1561         bool "Support ls1012a2g5rdb"
1562         select ARCH_LS1012A
1563         select ARM64
1564         select ARCH_SUPPORT_TFABOOT
1565         select BOARD_LATE_INIT
1566         select GPIO_EXTRA_HEADER
1567         imply SCSI
1568         help
1569           Support for Freescale LS1012A2G5RDB platform.
1570           The LS1012A 2G5 Reference design board (RDB) is a high-performance
1571           development platform that supports the QorIQ LS1012A
1572           Layerscape Architecture processor.
1573
1574 config TARGET_LS1012AFRWY
1575         bool "Support ls1012afrwy"
1576         select ARCH_LS1012A
1577         select ARM64
1578         select ARCH_SUPPORT_TFABOOT
1579         select BOARD_LATE_INIT
1580         select GPIO_EXTRA_HEADER
1581         imply SCSI
1582         imply SCSI_AHCI
1583         help
1584          Support for Freescale LS1012AFRWY platform.
1585          The LS1012A FRWY board (FRWY) is a high-performance
1586          development platform that supports the QorIQ LS1012A
1587          Layerscape Architecture processor.
1588
1589 config TARGET_LS1012AFRDM
1590         bool "Support ls1012afrdm"
1591         select ARCH_LS1012A
1592         select ARM64
1593         select ARCH_SUPPORT_TFABOOT
1594         select GPIO_EXTRA_HEADER
1595         help
1596           Support for Freescale LS1012AFRDM platform.
1597           The LS1012A Freedom  board (FRDM) is a high-performance
1598           development platform that supports the QorIQ LS1012A
1599           Layerscape Architecture processor.
1600
1601 config TARGET_LS1028AQDS
1602         bool "Support ls1028aqds"
1603         select ARCH_LS1028A
1604         select ARM64
1605         select ARMV8_MULTIENTRY
1606         select ARCH_SUPPORT_TFABOOT
1607         select BOARD_LATE_INIT
1608         select GPIO_EXTRA_HEADER
1609         help
1610           Support for Freescale LS1028AQDS platform
1611           The LS1028A Development System (QDS) is a high-performance
1612           development platform that supports the QorIQ LS1028A
1613           Layerscape Architecture processor.
1614
1615 config TARGET_LS1028ARDB
1616         bool "Support ls1028ardb"
1617         select ARCH_LS1028A
1618         select ARM64
1619         select ARMV8_MULTIENTRY
1620         select ARCH_SUPPORT_TFABOOT
1621         select BOARD_LATE_INIT
1622         select GPIO_EXTRA_HEADER
1623         help
1624           Support for Freescale LS1028ARDB platform
1625           The LS1028A Development System (RDB) is a high-performance
1626           development platform that supports the QorIQ LS1028A
1627           Layerscape Architecture processor.
1628
1629 config TARGET_LS1088ARDB
1630         bool "Support ls1088ardb"
1631         select ARCH_LS1088A
1632         select ARM64
1633         select ARMV8_MULTIENTRY
1634         select ARCH_SUPPORT_TFABOOT
1635         select BOARD_LATE_INIT
1636         select SUPPORT_SPL
1637         select FSL_DDR_INTERACTIVE if !SD_BOOT
1638         select GPIO_EXTRA_HEADER
1639         help
1640           Support for NXP LS1088ARDB platform.
1641           The LS1088A Reference design board (RDB) is a high-performance
1642           development platform that supports the QorIQ LS1088A
1643           Layerscape Architecture processor.
1644
1645 config TARGET_LS1021AQDS
1646         bool "Support ls1021aqds"
1647         select ARCH_LS1021A
1648         select ARCH_SUPPORT_PSCI
1649         select BOARD_EARLY_INIT_F
1650         select BOARD_LATE_INIT
1651         select CPU_V7A
1652         select CPU_V7_HAS_NONSEC
1653         select CPU_V7_HAS_VIRT
1654         select LS1_DEEP_SLEEP
1655         select SUPPORT_SPL
1656         select SYS_FSL_DDR
1657         select FSL_DDR_INTERACTIVE
1658         select DM_SPI_FLASH if FSL_DSPI || FSL_QSPI
1659         select GPIO_EXTRA_HEADER
1660         select SPI_FLASH_DATAFLASH if FSL_DSPI || FSL_QSPI
1661         imply SCSI
1662
1663 config TARGET_LS1021ATWR
1664         bool "Support ls1021atwr"
1665         select ARCH_LS1021A
1666         select ARCH_SUPPORT_PSCI
1667         select BOARD_EARLY_INIT_F
1668         select BOARD_LATE_INIT
1669         select CPU_V7A
1670         select CPU_V7_HAS_NONSEC
1671         select CPU_V7_HAS_VIRT
1672         select LS1_DEEP_SLEEP
1673         select SUPPORT_SPL
1674         select DM_SPI_FLASH if FSL_DSPI || FSL_QSPI
1675         select GPIO_EXTRA_HEADER
1676         imply SCSI
1677
1678 config TARGET_PG_WCOM_SELI8
1679         bool "Support Hitachi-Powergrids SELI8 service unit card"
1680         select ARCH_LS1021A
1681         select ARCH_SUPPORT_PSCI
1682         select BOARD_EARLY_INIT_F
1683         select BOARD_LATE_INIT
1684         select CPU_V7A
1685         select CPU_V7_HAS_NONSEC
1686         select CPU_V7_HAS_VIRT
1687         select SYS_FSL_DDR
1688         select FSL_DDR_INTERACTIVE
1689         select GPIO_EXTRA_HEADER
1690         select VENDOR_KM
1691         imply SCSI
1692         help
1693          Support for Hitachi-Powergrids SELI8 service unit card.
1694          SELI8 is a QorIQ LS1021a based service unit card used
1695          in XMC20 and FOX615 product families.
1696
1697 config TARGET_PG_WCOM_EXPU1
1698         bool "Support Hitachi-Powergrids EXPU1 service unit card"
1699         select ARCH_LS1021A
1700         select ARCH_SUPPORT_PSCI
1701         select BOARD_EARLY_INIT_F
1702         select BOARD_LATE_INIT
1703         select CPU_V7A
1704         select CPU_V7_HAS_NONSEC
1705         select CPU_V7_HAS_VIRT
1706         select SYS_FSL_DDR
1707         select FSL_DDR_INTERACTIVE
1708         select VENDOR_KM
1709         imply SCSI
1710         help
1711          Support for Hitachi-Powergrids EXPU1 service unit card.
1712          EXPU1 is a QorIQ LS1021a based service unit card used
1713          in XMC20 and FOX615 product families.
1714
1715 config TARGET_LS1021ATSN
1716         bool "Support ls1021atsn"
1717         select ARCH_LS1021A
1718         select ARCH_SUPPORT_PSCI
1719         select BOARD_EARLY_INIT_F
1720         select BOARD_LATE_INIT
1721         select CPU_V7A
1722         select CPU_V7_HAS_NONSEC
1723         select CPU_V7_HAS_VIRT
1724         select LS1_DEEP_SLEEP
1725         select SUPPORT_SPL
1726         select GPIO_EXTRA_HEADER
1727         imply SCSI
1728
1729 config TARGET_LS1021AIOT
1730         bool "Support ls1021aiot"
1731         select ARCH_LS1021A
1732         select ARCH_SUPPORT_PSCI
1733         select BOARD_LATE_INIT
1734         select CPU_V7A
1735         select CPU_V7_HAS_NONSEC
1736         select CPU_V7_HAS_VIRT
1737         select SUPPORT_SPL
1738         select DM_SPI_FLASH if FSL_DSPI || FSL_QSPI
1739         select GPIO_EXTRA_HEADER
1740         imply SCSI
1741         help
1742           Support for Freescale LS1021AIOT platform.
1743           The LS1021A Freescale board (IOT) is a high-performance
1744           development platform that supports the QorIQ LS1021A
1745           Layerscape Architecture processor.
1746
1747 config TARGET_LS1043AQDS
1748         bool "Support ls1043aqds"
1749         select ARCH_LS1043A
1750         select ARM64
1751         select ARMV8_MULTIENTRY
1752         select ARCH_SUPPORT_TFABOOT
1753         select BOARD_EARLY_INIT_F
1754         select BOARD_LATE_INIT
1755         select SUPPORT_SPL
1756         select FSL_DDR_INTERACTIVE if !SPL
1757         select FSL_DSPI if !SPL_NO_DSPI
1758         select DM_SPI_FLASH if FSL_DSPI
1759         select GPIO_EXTRA_HEADER
1760         imply SCSI
1761         imply SCSI_AHCI
1762         help
1763           Support for Freescale LS1043AQDS platform.
1764
1765 config TARGET_LS1043ARDB
1766         bool "Support ls1043ardb"
1767         select ARCH_LS1043A
1768         select ARM64
1769         select ARMV8_MULTIENTRY
1770         select ARCH_SUPPORT_TFABOOT
1771         select BOARD_EARLY_INIT_F
1772         select BOARD_LATE_INIT
1773         select SUPPORT_SPL
1774         select FSL_DSPI if !SPL_NO_DSPI
1775         select DM_SPI_FLASH if FSL_DSPI
1776         select GPIO_EXTRA_HEADER
1777         help
1778           Support for Freescale LS1043ARDB platform.
1779
1780 config TARGET_LS1046AQDS
1781         bool "Support ls1046aqds"
1782         select ARCH_LS1046A
1783         select ARM64
1784         select ARMV8_MULTIENTRY
1785         select ARCH_SUPPORT_TFABOOT
1786         select BOARD_EARLY_INIT_F
1787         select BOARD_LATE_INIT
1788         select DM_SPI_FLASH if DM_SPI
1789         select SUPPORT_SPL
1790         select FSL_DDR_BIST if !SPL
1791         select FSL_DDR_INTERACTIVE  if !SPL
1792         select FSL_DDR_INTERACTIVE if !SPL
1793         select GPIO_EXTRA_HEADER
1794         imply SCSI
1795         help
1796           Support for Freescale LS1046AQDS platform.
1797           The LS1046A Development System (QDS) is a high-performance
1798           development platform that supports the QorIQ LS1046A
1799           Layerscape Architecture processor.
1800
1801 config TARGET_LS1046ARDB
1802         bool "Support ls1046ardb"
1803         select ARCH_LS1046A
1804         select ARM64
1805         select ARMV8_MULTIENTRY
1806         select ARCH_SUPPORT_TFABOOT
1807         select BOARD_EARLY_INIT_F
1808         select BOARD_LATE_INIT
1809         select DM_SPI_FLASH if DM_SPI
1810         select POWER_MC34VR500
1811         select SUPPORT_SPL
1812         select FSL_DDR_BIST
1813         select FSL_DDR_INTERACTIVE if !SPL
1814         select GPIO_EXTRA_HEADER
1815         imply SCSI
1816         help
1817           Support for Freescale LS1046ARDB platform.
1818           The LS1046A Reference Design Board (RDB) is a high-performance
1819           development platform that supports the QorIQ LS1046A
1820           Layerscape Architecture processor.
1821
1822 config TARGET_LS1046AFRWY
1823         bool "Support ls1046afrwy"
1824         select ARCH_LS1046A
1825         select ARM64
1826         select ARMV8_MULTIENTRY
1827         select ARCH_SUPPORT_TFABOOT
1828         select BOARD_EARLY_INIT_F
1829         select BOARD_LATE_INIT
1830         select DM_SPI_FLASH if DM_SPI
1831         select GPIO_EXTRA_HEADER
1832         imply SCSI
1833         help
1834           Support for Freescale LS1046AFRWY platform.
1835           The LS1046A Freeway Board (FRWY) is a high-performance
1836           development platform that supports the QorIQ LS1046A
1837           Layerscape Architecture processor.
1838
1839 config TARGET_SL28
1840         bool "Support sl28"
1841         select ARCH_LS1028A
1842         select ARM64
1843         select ARMV8_MULTIENTRY
1844         select SUPPORT_SPL
1845         select BINMAN
1846         select DM
1847         select DM_GPIO
1848         select DM_I2C
1849         select DM_MMC
1850         select DM_SPI_FLASH
1851         select DM_ETH
1852         select DM_MDIO
1853         select PCI
1854         select DM_RNG
1855         select DM_RTC
1856         select DM_SCSI
1857         select DM_SERIAL
1858         select DM_SPI
1859         select GPIO_EXTRA_HEADER
1860         select SPL_DM if SPL
1861         select SPL_DM_SPI if SPL
1862         select SPL_DM_SPI_FLASH if SPL
1863         select SPL_DM_I2C if SPL
1864         select SPL_DM_MMC if SPL
1865         select SPL_DM_SERIAL if SPL
1866         help
1867           Support for Kontron SMARC-sAL28 board.
1868
1869 config TARGET_TEN64
1870         bool "Support ten64"
1871         select ARCH_LS1088A
1872         select ARCH_MISC_INIT
1873         select ARM64
1874         select ARMV8_MULTIENTRY
1875         select ARCH_SUPPORT_TFABOOT
1876         select BOARD_LATE_INIT
1877         select SUPPORT_SPL
1878         select FSL_DDR_INTERACTIVE if !SD_BOOT
1879         select GPIO_EXTRA_HEADER
1880         help
1881           Support for Traverse Technologies Ten64 board, based
1882           on NXP LS1088A.
1883
1884 config ARCH_UNIPHIER
1885         bool "Socionext UniPhier SoCs"
1886         select BOARD_LATE_INIT
1887         select DM
1888         select DM_ETH
1889         select DM_GPIO
1890         select DM_I2C
1891         select DM_MMC
1892         select DM_MTD
1893         select DM_RESET
1894         select DM_SERIAL
1895         select OF_BOARD_SETUP
1896         select OF_CONTROL
1897         select OF_LIBFDT
1898         select PINCTRL
1899         select SPL_BOARD_INIT if SPL
1900         select SPL_DM if SPL
1901         select SPL_LIBCOMMON_SUPPORT if SPL
1902         select SPL_LIBGENERIC_SUPPORT if SPL
1903         select SPL_OF_CONTROL if SPL
1904         select SPL_PINCTRL if SPL
1905         select SUPPORT_SPL
1906         imply CMD_DM
1907         imply DISTRO_DEFAULTS
1908         imply FAT_WRITE
1909         help
1910           Support for UniPhier SoC family developed by Socionext Inc.
1911           (formerly, System LSI Business Division of Panasonic Corporation)
1912
1913 config ARCH_SYNQUACER
1914         bool "Socionext SynQuacer SoCs"
1915         select ARM64
1916         select DM
1917         select GIC_V3
1918         select PSCI_RESET
1919         select SYSRESET
1920         select SYSRESET_PSCI
1921         select OF_CONTROL
1922         help
1923           Support for SynQuacer SoC family developed by Socionext Inc.
1924           This SoC is used on 96boards EE DeveloperBox.
1925
1926 config ARCH_STM32
1927         bool "Support STMicroelectronics STM32 MCU with cortex M"
1928         select CPU_V7M
1929         select DM
1930         select DM_SERIAL
1931         imply CMD_DM
1932
1933 config ARCH_STI
1934         bool "Support STMicroelectronics SoCs"
1935         select BLK
1936         select CPU_V7A
1937         select DM
1938         select DM_MMC
1939         select DM_RESET
1940         select DM_SERIAL
1941         imply CMD_DM
1942         help
1943           Support for STMicroelectronics STiH407/10 SoC family.
1944           This SoC is used on Linaro 96Board STiH410-B2260
1945
1946 config ARCH_STM32MP
1947         bool "Support STMicroelectronics STM32MP Socs with cortex A"
1948         select ARCH_MISC_INIT
1949         select ARCH_SUPPORT_TFABOOT
1950         select BOARD_LATE_INIT
1951         select CLK
1952         select DM
1953         select DM_GPIO
1954         select DM_RESET
1955         select DM_SERIAL
1956         select MISC
1957         select OF_CONTROL
1958         select OF_LIBFDT
1959         select OF_SYSTEM_SETUP
1960         select PINCTRL
1961         select REGMAP
1962         select SYSCON
1963         select SYSRESET
1964         select SYS_THUMB_BUILD
1965         imply SPL_SYSRESET
1966         imply CMD_DM
1967         imply CMD_POWEROFF
1968         imply OF_LIBFDT_OVERLAY
1969         imply ENV_VARS_UBOOT_RUNTIME_CONFIG
1970         imply USE_PREBOOT
1971         imply TIMESTAMP
1972         help
1973           Support for STM32MP SoC family developed by STMicroelectronics,
1974           MPUs based on ARM cortex A core
1975           U-BOOT is running in DDR, loaded by the First Stage BootLoader (FSBL).
1976           FSBL can be TF-A: Trusted Firmware for Cortex A, for trusted boot
1977           chain.
1978           SPL is the unsecure FSBL for the basic boot chain.
1979
1980 config ARCH_ROCKCHIP
1981         bool "Support Rockchip SoCs"
1982         select BLK
1983         select BINMAN if SPL_OPTEE || SPL
1984         select DM
1985         select DM_GPIO
1986         select DM_I2C
1987         select DM_MMC
1988         select DM_PWM
1989         select DM_REGULATOR
1990         select DM_SERIAL
1991         select DM_SPI
1992         select DM_SPI_FLASH
1993         select ENABLE_ARM_SOC_BOOT0_HOOK
1994         select OF_CONTROL
1995         select SPI
1996         select SPL_DM if SPL
1997         select SPL_DM_SPI if SPL
1998         select SPL_DM_SPI_FLASH if SPL
1999         select SYS_MALLOC_F
2000         select SYS_THUMB_BUILD if !ARM64
2001         imply ADC
2002         imply CMD_DM
2003         imply DEBUG_UART_BOARD_INIT
2004         imply DISTRO_DEFAULTS
2005         imply FAT_WRITE
2006         imply SARADC_ROCKCHIP
2007         imply SPL_SYSRESET
2008         imply SPL_SYS_MALLOC_SIMPLE
2009         imply SYS_NS16550
2010         imply TPL_SYSRESET
2011         imply USB_FUNCTION_FASTBOOT
2012
2013 config ARCH_OCTEONTX
2014         bool "Support OcteonTX SoCs"
2015         select CLK
2016         select DM
2017         select GPIO_EXTRA_HEADER
2018         select ARM64
2019         select OF_CONTROL
2020         select OF_LIVE
2021         select BOARD_LATE_INIT
2022         select SYS_CACHE_SHIFT_7
2023         select SYS_PCI_64BIT if PCI
2024         imply OF_HAS_PRIOR_STAGE
2025
2026 config ARCH_OCTEONTX2
2027         bool "Support OcteonTX2 SoCs"
2028         select CLK
2029         select DM
2030         select GPIO_EXTRA_HEADER
2031         select ARM64
2032         select OF_CONTROL
2033         select OF_LIVE
2034         select BOARD_LATE_INIT
2035         select SYS_CACHE_SHIFT_7
2036         select SYS_PCI_64BIT if PCI
2037         imply OF_HAS_PRIOR_STAGE
2038
2039 config TARGET_THUNDERX_88XX
2040         bool "Support ThunderX 88xx"
2041         select ARM64
2042         select GPIO_EXTRA_HEADER
2043         select OF_CONTROL
2044         select PL01X_SERIAL
2045         select SYS_CACHE_SHIFT_7
2046
2047 config ARCH_ASPEED
2048         bool "Support Aspeed SoCs"
2049         select DM
2050         select OF_CONTROL
2051         imply CMD_DM
2052
2053 config TARGET_DURIAN
2054         bool "Support Phytium Durian Platform"
2055         select ARM64
2056         select GPIO_EXTRA_HEADER
2057         help
2058           Support for durian platform.
2059           It has 2GB Sdram, uart and pcie.
2060
2061 config TARGET_POMELO
2062         bool "Support Phytium Pomelo Platform"
2063         select ARM64
2064         select DM
2065         select AHCI
2066         select SCSI_AHCI
2067         select AHCI_PCI
2068         select BLK
2069         select PCI
2070         select DM_PCI
2071         select SCSI
2072         select DM_SCSI
2073         select DM_SERIAL
2074         select DM_ETH if NET
2075         imply CMD_PCI
2076         help
2077            Support for pomelo platform.
2078            It has 8GB Sdram, uart and pcie.
2079
2080 config TARGET_PRESIDIO_ASIC
2081         bool "Support Cortina Presidio ASIC Platform"
2082         select ARM64
2083         select GICV2
2084
2085 config TARGET_XENGUEST_ARM64
2086         bool "Xen guest ARM64"
2087         select ARM64
2088         select XEN
2089         select OF_CONTROL
2090         select LINUX_KERNEL_IMAGE_HEADER
2091         select XEN_SERIAL
2092         select SSCANF
2093         imply OF_HAS_PRIOR_STAGE
2094
2095 config ARCH_GXP
2096         bool "Support HPE GXP SoCs"
2097         select DM
2098         select OF_CONTROL
2099         imply CMD_DM
2100
2101 endchoice
2102
2103 config SUPPORT_PASSING_ATAGS
2104         bool "Support pre-devicetree ATAG-based booting"
2105         depends on !ARM64
2106         imply SETUP_MEMORY_TAGS
2107         help
2108           Support for booting older Linux kernels, using ATAGs rather than
2109           passing a devicetree.  This is option is rarely used, and the
2110           semantics are defined at
2111           https://www.kernel.org/doc/Documentation/arm/Booting at section 4a.
2112
2113 config SETUP_MEMORY_TAGS
2114         bool "Pass memory size information via ATAG"
2115         depends on SUPPORT_PASSING_ATAGS
2116
2117 config CMDLINE_TAG
2118         bool "Pass Linux kernel cmdline via ATAG"
2119         depends on SUPPORT_PASSING_ATAGS
2120
2121 config INITRD_TAG
2122         bool "Pass initrd starting point and size via ATAG"
2123         depends on SUPPORT_PASSING_ATAGS
2124
2125 config REVISION_TAG
2126         bool "Pass system revision via ATAG"
2127         depends on SUPPORT_PASSING_ATAGS
2128
2129 config SERIAL_TAG
2130         bool "Pass system serial number via ATAG"
2131         depends on SUPPORT_PASSING_ATAGS
2132
2133 config STATIC_MACH_TYPE
2134         bool "Statically define the Machine ID number"
2135         default y if TARGET_DS109 || TARGET_NOKIA_RX51 || TARGET_DS414 || DEFAULT_DEVICE_TREE = "sun7i-a20-icnova-swac"
2136         help
2137           When booting via ATAGs, enable this option if we know the correct
2138           machine ID number to use at compile time.  Some systems will be
2139           passed the number dynamically by whatever loads U-Boot.
2140
2141 config MACH_TYPE
2142         int "Machine ID number"
2143         depends on STATIC_MACH_TYPE
2144         default 527 if TARGET_DS109
2145         default 1955 if TARGET_NOKIA_RX51
2146         default 3036 if TARGET_DS414
2147         default 4283 if DEFAULT_DEVICE_TREE = "sun7i-a20-icnova-swac"
2148         help
2149           When booting via ATAGs, the machine type must be passed as a number.
2150           For the full list see https://www.arm.linux.org.uk/developer/machines
2151
2152 config ARCH_SUPPORT_TFABOOT
2153         bool
2154
2155 config TFABOOT
2156         bool "Support for booting from TF-A"
2157         depends on ARCH_SUPPORT_TFABOOT
2158         help
2159           Some platforms support the setup of secure registers (for instance
2160           for CPU errata handling) or provide secure services like PSCI.
2161           Those services could also be provided by other firmware parts
2162           like TF-A (Trusted Firmware for Cortex-A), in which case U-Boot
2163           does not need to (and cannot) execute this code.
2164           Enabling this option will make a U-Boot binary that is relying
2165           on other firmware layers to provide secure functionality.
2166
2167 config TI_SECURE_DEVICE
2168         bool "HS Device Type Support"
2169         depends on ARCH_KEYSTONE || ARCH_OMAP2PLUS || ARCH_K3
2170         help
2171           If a high secure (HS) device type is being used, this config
2172           must be set. This option impacts various aspects of the
2173           build system (to create signed boot images that can be
2174           authenticated) and the code. See the doc/README.ti-secure
2175           file for further details.
2176
2177 config SYS_KWD_CONFIG
2178         string "kwbimage config file path"
2179         depends on ARCH_KIRKWOOD || ARCH_MVEBU
2180         default "arch/arm/mach-mvebu/kwbimage.cfg"
2181         help
2182           Path within the source directory to the kwbimage.cfg file to use
2183           when packaging the U-Boot image for use.
2184
2185 source "arch/arm/mach-apple/Kconfig"
2186
2187 source "arch/arm/mach-aspeed/Kconfig"
2188
2189 source "arch/arm/mach-at91/Kconfig"
2190
2191 source "arch/arm/mach-bcm283x/Kconfig"
2192
2193 source "arch/arm/mach-bcmbca/Kconfig"
2194
2195 source "arch/arm/mach-bcmstb/Kconfig"
2196
2197 source "arch/arm/mach-davinci/Kconfig"
2198
2199 source "arch/arm/mach-exynos/Kconfig"
2200
2201 source "arch/arm/mach-hpe/gxp/Kconfig"
2202
2203 source "arch/arm/mach-highbank/Kconfig"
2204
2205 source "arch/arm/mach-integrator/Kconfig"
2206
2207 source "arch/arm/mach-ipq40xx/Kconfig"
2208
2209 source "arch/arm/mach-k3/Kconfig"
2210
2211 source "arch/arm/mach-keystone/Kconfig"
2212
2213 source "arch/arm/mach-kirkwood/Kconfig"
2214
2215 source "arch/arm/mach-lpc32xx/Kconfig"
2216
2217 source "arch/arm/mach-mvebu/Kconfig"
2218
2219 source "arch/arm/mach-octeontx/Kconfig"
2220
2221 source "arch/arm/mach-octeontx2/Kconfig"
2222
2223 source "arch/arm/cpu/armv7/ls102xa/Kconfig"
2224
2225 source "arch/arm/mach-imx/mx3/Kconfig"
2226
2227 source "arch/arm/mach-imx/mx5/Kconfig"
2228
2229 source "arch/arm/mach-imx/mx6/Kconfig"
2230
2231 source "arch/arm/mach-imx/mx7/Kconfig"
2232
2233 source "arch/arm/mach-imx/mx7ulp/Kconfig"
2234
2235 source "arch/arm/mach-imx/imx8/Kconfig"
2236
2237 source "arch/arm/mach-imx/imx8m/Kconfig"
2238
2239 source "arch/arm/mach-imx/imx8ulp/Kconfig"
2240
2241 source "arch/arm/mach-imx/imx9/Kconfig"
2242
2243 source "arch/arm/mach-imx/imxrt/Kconfig"
2244
2245 source "arch/arm/mach-imx/mxs/Kconfig"
2246
2247 source "arch/arm/mach-omap2/Kconfig"
2248
2249 source "arch/arm/cpu/armv8/fsl-layerscape/Kconfig"
2250
2251 source "arch/arm/mach-orion5x/Kconfig"
2252
2253 source "arch/arm/mach-owl/Kconfig"
2254
2255 source "arch/arm/mach-rmobile/Kconfig"
2256
2257 source "arch/arm/mach-meson/Kconfig"
2258
2259 source "arch/arm/mach-mediatek/Kconfig"
2260
2261 source "arch/arm/mach-qemu/Kconfig"
2262
2263 source "arch/arm/mach-rockchip/Kconfig"
2264
2265 source "arch/arm/mach-s5pc1xx/Kconfig"
2266
2267 source "arch/arm/mach-snapdragon/Kconfig"
2268
2269 source "arch/arm/mach-socfpga/Kconfig"
2270
2271 source "arch/arm/mach-sti/Kconfig"
2272
2273 source "arch/arm/mach-stm32/Kconfig"
2274
2275 source "arch/arm/mach-stm32mp/Kconfig"
2276
2277 source "arch/arm/mach-sunxi/Kconfig"
2278
2279 source "arch/arm/mach-tegra/Kconfig"
2280
2281 source "arch/arm/mach-u8500/Kconfig"
2282
2283 source "arch/arm/mach-uniphier/Kconfig"
2284
2285 source "arch/arm/cpu/armv7/vf610/Kconfig"
2286
2287 source "arch/arm/mach-zynq/Kconfig"
2288
2289 source "arch/arm/mach-zynqmp/Kconfig"
2290
2291 source "arch/arm/mach-versal/Kconfig"
2292
2293 source "arch/arm/mach-versal-net/Kconfig"
2294
2295 source "arch/arm/mach-zynqmp-r5/Kconfig"
2296
2297 source "arch/arm/cpu/armv7/Kconfig"
2298
2299 source "arch/arm/cpu/armv8/Kconfig"
2300
2301 source "arch/arm/mach-imx/Kconfig"
2302
2303 source "arch/arm/mach-nexell/Kconfig"
2304
2305 source "arch/arm/mach-npcm/Kconfig"
2306
2307 source "board/armltd/total_compute/Kconfig"
2308 source "board/armltd/corstone1000/Kconfig"
2309 source "board/bosch/shc/Kconfig"
2310 source "board/bosch/guardian/Kconfig"
2311 source "board/Marvell/octeontx/Kconfig"
2312 source "board/Marvell/octeontx2/Kconfig"
2313 source "board/armltd/vexpress/Kconfig"
2314 source "board/armltd/vexpress64/Kconfig"
2315 source "board/cortina/presidio-asic/Kconfig"
2316 source "board/broadcom/bcmns3/Kconfig"
2317 source "board/cavium/thunderx/Kconfig"
2318 source "board/eets/pdu001/Kconfig"
2319 source "board/emulation/qemu-arm/Kconfig"
2320 source "board/freescale/ls2080aqds/Kconfig"
2321 source "board/freescale/ls2080ardb/Kconfig"
2322 source "board/freescale/ls1088a/Kconfig"
2323 source "board/freescale/ls1028a/Kconfig"
2324 source "board/freescale/ls1021aqds/Kconfig"
2325 source "board/freescale/ls1043aqds/Kconfig"
2326 source "board/freescale/ls1021atwr/Kconfig"
2327 source "board/freescale/ls1021atsn/Kconfig"
2328 source "board/freescale/ls1021aiot/Kconfig"
2329 source "board/freescale/ls1046aqds/Kconfig"
2330 source "board/freescale/ls1043ardb/Kconfig"
2331 source "board/freescale/ls1046ardb/Kconfig"
2332 source "board/freescale/ls1046afrwy/Kconfig"
2333 source "board/freescale/ls1012aqds/Kconfig"
2334 source "board/freescale/ls1012ardb/Kconfig"
2335 source "board/freescale/ls1012afrdm/Kconfig"
2336 source "board/freescale/lx2160a/Kconfig"
2337 source "board/grinn/chiliboard/Kconfig"
2338 source "board/hisilicon/hikey/Kconfig"
2339 source "board/hisilicon/hikey960/Kconfig"
2340 source "board/hisilicon/poplar/Kconfig"
2341 source "board/isee/igep003x/Kconfig"
2342 source "board/kontron/sl28/Kconfig"
2343 source "board/myir/mys_6ulx/Kconfig"
2344 source "board/siemens/common/Kconfig"
2345 source "board/seeed/npi_imx6ull/Kconfig"
2346 source "board/socionext/developerbox/Kconfig"
2347 source "board/st/stv0991/Kconfig"
2348 source "board/tcl/sl50/Kconfig"
2349 source "board/traverse/ten64/Kconfig"
2350 source "board/variscite/dart_6ul/Kconfig"
2351 source "board/vscom/baltos/Kconfig"
2352 source "board/phytium/durian/Kconfig"
2353 source "board/phytium/pomelo/Kconfig"
2354 source "board/xen/xenguest_arm64/Kconfig"
2355
2356 source "arch/arm/Kconfig.debug"
2357
2358 endmenu