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