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