arm: Remove vexpress_ca15_tc2 board
[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 ARCH_BCMSTB
649         bool "Broadcom BCM7XXX family"
650         select CPU_V7A
651         select DM
652         select OF_CONTROL
653         select OF_PRIOR_STAGE
654         imply CMD_DM
655         help
656           This enables support for Broadcom ARM-based set-top box
657           chipsets, including the 7445 family of chips.
658
659 config TARGET_BCM23550_W1D
660         bool "Support bcm23550_w1d"
661         select CPU_V7A
662         imply CRC32_VERIFY
663         imply FAT_WRITE
664
665 config TARGET_BCM28155_AP
666         bool "Support bcm28155_ap"
667         select CPU_V7A
668         imply CRC32_VERIFY
669         imply FAT_WRITE
670
671 config TARGET_BCMCYGNUS
672         bool "Support bcmcygnus"
673         select CPU_V7A
674         imply BCM_SF2_ETH
675         imply BCM_SF2_ETH_GMAC
676         imply CMD_HASH
677         imply CRC32_VERIFY
678         imply FAT_WRITE
679         imply HASH_VERIFY
680         imply NETDEVICES
681
682 config TARGET_BCMNSP
683         bool "Support bcmnsp"
684         select CPU_V7A
685
686 config TARGET_BCMNS2
687         bool "Support Broadcom Northstar2"
688         select ARM64
689         help
690           Support for Broadcom Northstar 2 SoCs.  NS2 is a quad-core 64-bit
691           ARMv8 Cortex-A57 processors targeting a broad range of networking
692           applications.
693
694 config TARGET_BCMNS3
695         bool "Support Broadcom NS3"
696         select ARM64
697         select BOARD_LATE_INIT
698         help
699           Support for Broadcom Northstar 3 SoCs. NS3 is a octo-core 64-bit
700           ARMv8 Cortex-A72 processors targeting a broad range of networking
701           applications.
702
703 config ARCH_EXYNOS
704         bool "Samsung EXYNOS"
705         select DM
706         select DM_GPIO
707         select DM_I2C
708         select DM_KEYBOARD
709         select DM_SERIAL
710         select DM_SPI
711         select DM_SPI_FLASH
712         select SPI
713         imply SYS_THUMB_BUILD
714         imply CMD_DM
715         imply FAT_WRITE
716
717 config ARCH_S5PC1XX
718         bool "Samsung S5PC1XX"
719         select CPU_V7A
720         select DM
721         select DM_GPIO
722         select DM_I2C
723         select DM_SERIAL
724         imply CMD_DM
725
726 config ARCH_HIGHBANK
727         bool "Calxeda Highbank"
728         select CPU_V7A
729         select PL011_SERIAL
730
731 config ARCH_INTEGRATOR
732         bool "ARM Ltd. Integrator family"
733         select DM
734         select DM_SERIAL
735         select PL01X_SERIAL
736         imply CMD_DM
737
738 config ARCH_IPQ40XX
739         bool "Qualcomm IPQ40xx SoCs"
740         select CPU_V7A
741         select DM
742         select DM_GPIO
743         select DM_SERIAL
744         select DM_RESET
745         select MSM_SMEM
746         select PINCTRL
747         select CLK
748         select SMEM
749         select OF_CONTROL
750         imply CMD_DM
751
752 config ARCH_KEYSTONE
753         bool "TI Keystone"
754         select CMD_POWEROFF
755         select CPU_V7A
756         select SUPPORT_SPL
757         select SYS_ARCH_TIMER
758         select SYS_THUMB_BUILD
759         imply CMD_MTDPARTS
760         imply CMD_SAVES
761         imply FIT
762
763 config ARCH_K3
764         bool "Texas Instruments' K3 Architecture"
765         select SPL
766         select SUPPORT_SPL
767         select FIT
768
769 config ARCH_OMAP2PLUS
770         bool "TI OMAP2+"
771         select CPU_V7A
772         select SPL_BOARD_INIT if SPL
773         select SPL_STACK_R if SPL
774         select SUPPORT_SPL
775         imply TI_SYSC if DM && OF_CONTROL
776         imply FIT
777
778 config ARCH_MESON
779         bool "Amlogic Meson"
780         imply DISTRO_DEFAULTS
781         imply DM_RNG
782         help
783           Support for the Meson SoC family developed by Amlogic Inc.,
784           targeted at media players and tablet computers. We currently
785           support the S905 (GXBaby) 64-bit SoC.
786
787 config ARCH_MEDIATEK
788         bool "MediaTek SoCs"
789         select DM
790         select OF_CONTROL
791         select SPL_DM if SPL
792         select SPL_LIBCOMMON_SUPPORT if SPL
793         select SPL_LIBGENERIC_SUPPORT if SPL
794         select SPL_OF_CONTROL if SPL
795         select SUPPORT_SPL
796         help
797           Support for the MediaTek SoCs family developed by MediaTek Inc.
798           Please refer to doc/README.mediatek for more information.
799
800 config ARCH_LPC32XX
801         bool "NXP LPC32xx platform"
802         select CPU_ARM926EJS
803         select DM
804         select DM_GPIO
805         select DM_SERIAL
806         select SPL_DM if SPL
807         select SUPPORT_SPL
808         imply CMD_DM
809
810 config ARCH_IMX8
811         bool "NXP i.MX8 platform"
812         select ARM64
813         select DM
814         select OF_CONTROL
815         select ENABLE_ARM_SOC_BOOT0_HOOK
816
817 config ARCH_IMX8M
818         bool "NXP i.MX8M platform"
819         select ARM64
820         select SYS_FSL_HAS_SEC if IMX_HAB
821         select SYS_FSL_SEC_COMPAT_4
822         select SYS_FSL_SEC_LE
823         select DM
824         select SUPPORT_SPL
825         imply CMD_DM
826
827 config ARCH_IMXRT
828         bool "NXP i.MXRT platform"
829         select CPU_V7M
830         select DM
831         select DM_SERIAL
832         select SUPPORT_SPL
833         imply CMD_DM
834
835 config ARCH_MX23
836         bool "NXP i.MX23 family"
837         select CPU_ARM926EJS
838         select PL011_SERIAL
839         select SUPPORT_SPL
840
841 config ARCH_MX25
842         bool "NXP MX25"
843         select CPU_ARM926EJS
844         imply MXC_GPIO
845
846 config ARCH_MX28
847         bool "NXP i.MX28 family"
848         select CPU_ARM926EJS
849         select PL011_SERIAL
850         select SUPPORT_SPL
851
852 config ARCH_MX31
853         bool "NXP i.MX31 family"
854         select CPU_ARM1136
855
856 config ARCH_MX7ULP
857         bool "NXP MX7ULP"
858         select CPU_V7A
859         select SYS_FSL_HAS_SEC if IMX_HAB
860         select SYS_FSL_SEC_COMPAT_4
861         select SYS_FSL_SEC_LE
862         select ROM_UNIFIED_SECTIONS
863         imply MXC_GPIO
864         imply SYS_THUMB_BUILD
865
866 config ARCH_MX7
867         bool "Freescale MX7"
868         select ARCH_MISC_INIT
869         select CPU_V7A
870         select SYS_FSL_HAS_SEC if IMX_HAB
871         select SYS_FSL_SEC_COMPAT_4
872         select SYS_FSL_SEC_LE
873         imply BOARD_EARLY_INIT_F
874         imply MXC_GPIO
875         imply SYS_THUMB_BUILD
876
877 config ARCH_MX6
878         bool "Freescale MX6"
879         select CPU_V7A
880         select SYS_FSL_HAS_SEC
881         select SYS_FSL_SEC_COMPAT_4
882         select SYS_FSL_SEC_LE
883         imply MXC_GPIO
884         imply SYS_THUMB_BUILD
885
886 if ARCH_MX6
887 config SPL_LDSCRIPT
888         default "arch/arm/mach-omap2/u-boot-spl.lds"
889 endif
890
891 config ARCH_MX5
892         bool "Freescale MX5"
893         select BOARD_EARLY_INIT_F
894         select CPU_V7A
895         imply MXC_GPIO
896
897 config ARCH_NEXELL
898         bool "Nexell S5P4418/S5P6818 SoC"
899         select ENABLE_ARM_SOC_BOOT0_HOOK
900         select DM
901
902 config ARCH_OWL
903         bool "Actions Semi OWL SoCs"
904         select DM
905         select DM_ETH
906         select DM_SERIAL
907         select OWL_SERIAL
908         select CLK
909         select CLK_OWL
910         select OF_CONTROL
911         select SYS_RELOC_GD_ENV_ADDR
912         imply CMD_DM
913
914 config ARCH_QEMU
915         bool "QEMU Virtual Platform"
916         select DM
917         select DM_SERIAL
918         select OF_CONTROL
919         select PL01X_SERIAL
920         imply CMD_DM
921         imply DM_RNG
922         imply DM_RTC
923         imply RTC_PL031
924
925 config ARCH_RMOBILE
926         bool "Renesas ARM SoCs"
927         select DM
928         select DM_SERIAL
929         imply BOARD_EARLY_INIT_F
930         imply CMD_DM
931         imply FAT_WRITE
932         imply SYS_THUMB_BUILD
933         imply ARCH_MISC_INIT if DISPLAY_CPUINFO
934
935 config TARGET_S32V234EVB
936         bool "Support s32v234evb"
937         select ARM64
938         select SYS_FSL_ERRATUM_ESDHC111
939
940 config ARCH_SNAPDRAGON
941         bool "Qualcomm Snapdragon SoCs"
942         select ARM64
943         select DM
944         select DM_GPIO
945         select DM_SERIAL
946         select MSM_SMEM
947         select OF_CONTROL
948         select OF_SEPARATE
949         select SMEM
950         select SPMI
951         imply CMD_DM
952
953 config ARCH_SOCFPGA
954         bool "Altera SOCFPGA family"
955         select ARCH_EARLY_INIT_R
956         select ARCH_MISC_INIT if !TARGET_SOCFPGA_ARRIA10
957         select ARM64 if TARGET_SOCFPGA_SOC64
958         select CPU_V7A if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
959         select DM
960         select DM_SERIAL
961         select ENABLE_ARM_SOC_BOOT0_HOOK if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
962         select OF_CONTROL
963         select SPL_DM_RESET if DM_RESET
964         select SPL_DM_SERIAL
965         select SPL_LIBCOMMON_SUPPORT
966         select SPL_LIBGENERIC_SUPPORT
967         select SPL_NAND_SUPPORT if SPL_NAND_DENALI
968         select SPL_OF_CONTROL
969         select SPL_SEPARATE_BSS if TARGET_SOCFPGA_SOC64
970         select SPL_SERIAL_SUPPORT
971         select SPL_SYSRESET
972         select SPL_WATCHDOG_SUPPORT
973         select SUPPORT_SPL
974         select SYS_NS16550
975         select SYS_THUMB_BUILD if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
976         select SYSRESET
977         select SYSRESET_SOCFPGA if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
978         select SYSRESET_SOCFPGA_SOC64 if TARGET_SOCFPGA_SOC64
979         imply CMD_DM
980         imply CMD_MTDPARTS
981         imply CRC32_VERIFY
982         imply DM_SPI
983         imply DM_SPI_FLASH
984         imply FAT_WRITE
985         imply SPL
986         imply SPL_DM
987         imply SPL_DM_SPI
988         imply SPL_DM_SPI_FLASH
989         imply SPL_LIBDISK_SUPPORT
990         imply SPL_MMC_SUPPORT
991         imply SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION
992         imply SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION_TYPE
993         imply SPL_SPI_FLASH_SUPPORT
994         imply SPL_SPI_SUPPORT
995         imply L2X0_CACHE
996
997 config ARCH_SUNXI
998         bool "Support sunxi (Allwinner) SoCs"
999         select BINMAN
1000         select CMD_GPIO
1001         select CMD_MMC if MMC
1002         select CMD_USB if DISTRO_DEFAULTS
1003         select CLK
1004         select DM
1005         select DM_ETH
1006         select DM_GPIO
1007         select DM_KEYBOARD
1008         select DM_MMC if MMC
1009         select DM_SCSI if SCSI
1010         select DM_SERIAL
1011         select DM_USB if DISTRO_DEFAULTS
1012         select OF_BOARD_SETUP
1013         select OF_CONTROL
1014         select OF_SEPARATE
1015         select SPECIFY_CONSOLE_INDEX
1016         select SPL_STACK_R if SPL
1017         select SPL_SYS_MALLOC_SIMPLE if SPL
1018         select SPL_SYS_THUMB_BUILD if !ARM64
1019         select SUNXI_GPIO
1020         select SYS_NS16550
1021         select SYS_THUMB_BUILD if !ARM64
1022         select USB if DISTRO_DEFAULTS
1023         select USB_KEYBOARD if DISTRO_DEFAULTS
1024         select USB_STORAGE if DISTRO_DEFAULTS
1025         select SPL_USE_TINY_PRINTF
1026         select USE_PREBOOT
1027         select SYS_RELOC_GD_ENV_ADDR
1028         imply BOARD_LATE_INIT
1029         imply CMD_DM
1030         imply CMD_GPT
1031         imply CMD_UBI if MTD_RAW_NAND
1032         imply DISTRO_DEFAULTS
1033         imply FAT_WRITE
1034         imply FIT
1035         imply OF_LIBFDT_OVERLAY
1036         imply PRE_CONSOLE_BUFFER
1037         imply SPL_GPIO_SUPPORT
1038         imply SPL_LIBCOMMON_SUPPORT
1039         imply SPL_LIBGENERIC_SUPPORT
1040         imply SPL_MMC_SUPPORT if MMC
1041         imply SPL_POWER_SUPPORT
1042         imply SPL_SERIAL_SUPPORT
1043         imply USB_GADGET
1044
1045 config ARCH_U8500
1046         bool "ST-Ericsson U8500 Series"
1047         select CPU_V7A
1048         select DM
1049         select DM_GPIO
1050         select DM_MMC if MMC
1051         select DM_SERIAL
1052         select DM_USB if USB
1053         select OF_CONTROL
1054         select SYSRESET
1055         select TIMER
1056         imply ARM_PL180_MMCI
1057         imply DM_RTC
1058         imply NOMADIK_MTU_TIMER
1059         imply PL01X_SERIAL
1060         imply RTC_PL031
1061         imply SYSRESET_SYSCON
1062
1063 config ARCH_VERSAL
1064         bool "Support Xilinx Versal Platform"
1065         select ARM64
1066         select CLK
1067         select DM
1068         select DM_ETH if NET
1069         select DM_MMC if MMC
1070         select DM_SERIAL
1071         select OF_CONTROL
1072         imply BOARD_LATE_INIT
1073         imply ENV_VARS_UBOOT_RUNTIME_CONFIG
1074
1075 config ARCH_VF610
1076         bool "Freescale Vybrid"
1077         select CPU_V7A
1078         select SYS_FSL_ERRATUM_ESDHC111
1079         imply CMD_MTDPARTS
1080         imply MTD_RAW_NAND
1081
1082 config ARCH_ZYNQ
1083         bool "Xilinx Zynq based platform"
1084         select CLK
1085         select CLK_ZYNQ
1086         select CPU_V7A
1087         select DM
1088         select DM_ETH if NET
1089         select DM_MMC if MMC
1090         select DM_SERIAL
1091         select DM_SPI
1092         select DM_SPI_FLASH
1093         select DM_USB if USB
1094         select OF_CONTROL
1095         select SPI
1096         select SPL_BOARD_INIT if SPL
1097         select SPL_CLK if SPL
1098         select SPL_DM if SPL
1099         select SPL_DM_SPI if SPL
1100         select SPL_DM_SPI_FLASH if SPL
1101         select SPL_OF_CONTROL if SPL
1102         select SPL_SEPARATE_BSS if SPL
1103         select SUPPORT_SPL
1104         imply ARCH_EARLY_INIT_R
1105         imply BOARD_LATE_INIT
1106         imply CMD_CLK
1107         imply CMD_DM
1108         imply CMD_SPL
1109         imply ENV_VARS_UBOOT_RUNTIME_CONFIG
1110         imply FAT_WRITE
1111
1112 config ARCH_ZYNQMP_R5
1113         bool "Xilinx ZynqMP R5 based platform"
1114         select CLK
1115         select CPU_V7R
1116         select DM
1117         select DM_ETH if NET
1118         select DM_MMC if MMC
1119         select DM_SERIAL
1120         select OF_CONTROL
1121         imply CMD_DM
1122         imply DM_USB_GADGET
1123
1124 config ARCH_ZYNQMP
1125         bool "Xilinx ZynqMP based platform"
1126         select ARM64
1127         select CLK
1128         select DM
1129         select DM_ETH if NET
1130         select DM_MAILBOX
1131         select DM_MMC if MMC
1132         select DM_SERIAL
1133         select DM_SPI if SPI
1134         select DM_SPI_FLASH if DM_SPI
1135         select DM_USB if USB
1136         select FIRMWARE
1137         select OF_CONTROL
1138         select SPL_BOARD_INIT if SPL
1139         select SPL_CLK if SPL
1140         select SPL_DM if SPL
1141         select SPL_DM_SPI if SPI && SPL_DM
1142         select SPL_DM_SPI_FLASH if SPL_DM_SPI
1143         select SPL_DM_MAILBOX if SPL
1144         select SPL_FIRMWARE if SPL
1145         select SPL_SEPARATE_BSS if SPL
1146         select SUPPORT_SPL
1147         select ZYNQMP_IPI
1148         imply BOARD_LATE_INIT
1149         imply CMD_DM
1150         imply ENV_VARS_UBOOT_RUNTIME_CONFIG
1151         imply FAT_WRITE
1152         imply MP
1153         imply DM_USB_GADGET
1154
1155 config ARCH_TEGRA
1156         bool "NVIDIA Tegra"
1157         imply DISTRO_DEFAULTS
1158         imply FAT_WRITE
1159
1160 config TARGET_VEXPRESS64_AEMV8A
1161         bool "Support vexpress_aemv8a"
1162         select ARM64
1163         select PL01X_SERIAL
1164
1165 config TARGET_VEXPRESS64_BASE_FVP
1166         bool "Support Versatile Express ARMv8a FVP BASE model"
1167         select ARM64
1168         select PL01X_SERIAL
1169         select SEMIHOSTING
1170
1171 config TARGET_VEXPRESS64_JUNO
1172         bool "Support Versatile Express Juno Development Platform"
1173         select ARM64
1174         select PL01X_SERIAL
1175         select DM
1176         select OF_CONTROL
1177         select OF_BOARD
1178         select CLK
1179         select DM_SERIAL
1180         select ARM_PSCI_FW
1181         select PSCI_RESET
1182         select DM_ETH
1183         select BLK
1184         select USB
1185         select DM_USB
1186
1187 config TARGET_TOTAL_COMPUTE
1188         bool "Support Total Compute Platform"
1189         select ARM64
1190         select PL01X_SERIAL
1191         select DM
1192         select DM_SERIAL
1193         select DM_MMC
1194         select DM_GPIO
1195
1196 config TARGET_LS2080A_EMU
1197         bool "Support ls2080a_emu"
1198         select ARCH_LS2080A
1199         select ARM64
1200         select ARMV8_MULTIENTRY
1201         select FSL_DDR_SYNC_REFRESH
1202         help
1203           Support for Freescale LS2080A_EMU platform.
1204           The LS2080A Development System (EMULATOR) is a pre-silicon
1205           development platform that supports the QorIQ LS2080A
1206           Layerscape Architecture processor.
1207
1208 config TARGET_LS1088AQDS
1209         bool "Support ls1088aqds"
1210         select ARCH_LS1088A
1211         select ARM64
1212         select ARMV8_MULTIENTRY
1213         select ARCH_SUPPORT_TFABOOT
1214         select BOARD_LATE_INIT
1215         select SUPPORT_SPL
1216         select FSL_DDR_INTERACTIVE if !SD_BOOT
1217         help
1218           Support for NXP LS1088AQDS platform.
1219           The LS1088A Development System (QDS) is a high-performance
1220           development platform that supports the QorIQ LS1088A
1221           Layerscape Architecture processor.
1222
1223 config TARGET_LS2080AQDS
1224         bool "Support ls2080aqds"
1225         select ARCH_LS2080A
1226         select ARM64
1227         select ARMV8_MULTIENTRY
1228         select ARCH_SUPPORT_TFABOOT
1229         select BOARD_LATE_INIT
1230         select SUPPORT_SPL
1231         imply SCSI
1232         imply SCSI_AHCI
1233         select FSL_DDR_BIST
1234         select FSL_DDR_INTERACTIVE if !SPL
1235         help
1236           Support for Freescale LS2080AQDS platform.
1237           The LS2080A Development System (QDS) is a high-performance
1238           development platform that supports the QorIQ LS2080A
1239           Layerscape Architecture processor.
1240
1241 config TARGET_LS2080ARDB
1242         bool "Support ls2080ardb"
1243         select ARCH_LS2080A
1244         select ARM64
1245         select ARMV8_MULTIENTRY
1246         select ARCH_SUPPORT_TFABOOT
1247         select BOARD_LATE_INIT
1248         select SUPPORT_SPL
1249         select FSL_DDR_BIST
1250         select FSL_DDR_INTERACTIVE if !SPL
1251         imply SCSI
1252         imply SCSI_AHCI
1253         help
1254           Support for Freescale LS2080ARDB platform.
1255           The LS2080A Reference design board (RDB) is a high-performance
1256           development platform that supports the QorIQ LS2080A
1257           Layerscape Architecture processor.
1258
1259 config TARGET_LS2081ARDB
1260         bool "Support ls2081ardb"
1261         select ARCH_LS2080A
1262         select ARM64
1263         select ARMV8_MULTIENTRY
1264         select BOARD_LATE_INIT
1265         select SUPPORT_SPL
1266         help
1267           Support for Freescale LS2081ARDB platform.
1268           The LS2081A Reference design board (RDB) is a high-performance
1269           development platform that supports the QorIQ LS2081A/LS2041A
1270           Layerscape Architecture processor.
1271
1272 config TARGET_LX2160ARDB
1273         bool "Support lx2160ardb"
1274         select ARCH_LX2160A
1275         select ARM64
1276         select ARMV8_MULTIENTRY
1277         select ARCH_SUPPORT_TFABOOT
1278         select BOARD_LATE_INIT
1279         help
1280           Support for NXP LX2160ARDB platform.
1281           The lx2160ardb (LX2160A Reference design board (RDB)
1282           is a high-performance development platform that supports the
1283           QorIQ LX2160A/LX2120A/LX2080A Layerscape Architecture processor.
1284
1285 config TARGET_LX2160AQDS
1286         bool "Support lx2160aqds"
1287         select ARCH_LX2160A
1288         select ARM64
1289         select ARMV8_MULTIENTRY
1290         select ARCH_SUPPORT_TFABOOT
1291         select BOARD_LATE_INIT
1292         help
1293           Support for NXP LX2160AQDS platform.
1294           The lx2160aqds (LX2160A QorIQ Development System (QDS)
1295           is a high-performance development platform that supports the
1296           QorIQ LX2160A/LX2120A/LX2080A Layerscape Architecture processor.
1297
1298 config TARGET_LX2162AQDS
1299         bool "Support lx2162aqds"
1300         select ARCH_LX2162A
1301         select ARCH_MISC_INIT
1302         select ARM64
1303         select ARMV8_MULTIENTRY
1304         select ARCH_SUPPORT_TFABOOT
1305         select BOARD_LATE_INIT
1306         help
1307           Support for NXP LX2162AQDS platform.
1308           The lx2162aqds support is based on LX2160A Layerscape Architecture processor.
1309
1310 config TARGET_HIKEY
1311         bool "Support HiKey 96boards Consumer Edition Platform"
1312         select ARM64
1313         select DM
1314         select DM_GPIO
1315         select DM_SERIAL
1316         select OF_CONTROL
1317         select PL01X_SERIAL
1318         select SPECIFY_CONSOLE_INDEX
1319         imply CMD_DM
1320           help
1321           Support for HiKey 96boards platform. It features a HI6220
1322           SoC, with 8xA53 CPU, mali450 gpu, and 1GB RAM.
1323
1324 config TARGET_HIKEY960
1325         bool "Support HiKey960 96boards Consumer Edition Platform"
1326         select ARM64
1327         select DM
1328         select DM_SERIAL
1329         select OF_CONTROL
1330         select PL01X_SERIAL
1331         imply CMD_DM
1332           help
1333           Support for HiKey960 96boards platform. It features a HI3660
1334           SoC, with 4xA73 CPU, 4xA53 CPU, MALI-G71 GPU, and 3GB RAM.
1335
1336 config TARGET_POPLAR
1337         bool "Support Poplar 96boards Enterprise Edition Platform"
1338         select ARM64
1339         select DM
1340         select DM_SERIAL
1341         select DM_USB
1342         select OF_CONTROL
1343         select PL01X_SERIAL
1344         imply CMD_DM
1345           help
1346           Support for Poplar 96boards EE platform. It features a HI3798cv200
1347           SoC, with 4xA53 CPU, 1GB RAM and the high performance Mali T720 GPU
1348           making it capable of running any commercial set-top solution based on
1349           Linux or Android.
1350
1351 config TARGET_LS1012AQDS
1352         bool "Support ls1012aqds"
1353         select ARCH_LS1012A
1354         select ARM64
1355         select ARCH_SUPPORT_TFABOOT
1356         select BOARD_LATE_INIT
1357         help
1358           Support for Freescale LS1012AQDS platform.
1359           The LS1012A Development System (QDS) is a high-performance
1360           development platform that supports the QorIQ LS1012A
1361           Layerscape Architecture processor.
1362
1363 config TARGET_LS1012ARDB
1364         bool "Support ls1012ardb"
1365         select ARCH_LS1012A
1366         select ARM64
1367         select ARCH_SUPPORT_TFABOOT
1368         select BOARD_LATE_INIT
1369         imply SCSI
1370         imply SCSI_AHCI
1371         help
1372           Support for Freescale LS1012ARDB platform.
1373           The LS1012A Reference design board (RDB) is a high-performance
1374           development platform that supports the QorIQ LS1012A
1375           Layerscape Architecture processor.
1376
1377 config TARGET_LS1012A2G5RDB
1378         bool "Support ls1012a2g5rdb"
1379         select ARCH_LS1012A
1380         select ARM64
1381         select ARCH_SUPPORT_TFABOOT
1382         select BOARD_LATE_INIT
1383         imply SCSI
1384         help
1385           Support for Freescale LS1012A2G5RDB platform.
1386           The LS1012A 2G5 Reference design board (RDB) is a high-performance
1387           development platform that supports the QorIQ LS1012A
1388           Layerscape Architecture processor.
1389
1390 config TARGET_LS1012AFRWY
1391         bool "Support ls1012afrwy"
1392         select ARCH_LS1012A
1393         select ARM64
1394         select ARCH_SUPPORT_TFABOOT
1395         select BOARD_LATE_INIT
1396         imply SCSI
1397         imply SCSI_AHCI
1398         help
1399          Support for Freescale LS1012AFRWY platform.
1400          The LS1012A FRWY board (FRWY) is a high-performance
1401          development platform that supports the QorIQ LS1012A
1402          Layerscape Architecture processor.
1403
1404 config TARGET_LS1012AFRDM
1405         bool "Support ls1012afrdm"
1406         select ARCH_LS1012A
1407         select ARM64
1408         select ARCH_SUPPORT_TFABOOT
1409         help
1410           Support for Freescale LS1012AFRDM platform.
1411           The LS1012A Freedom  board (FRDM) is a high-performance
1412           development platform that supports the QorIQ LS1012A
1413           Layerscape Architecture processor.
1414
1415 config TARGET_LS1028AQDS
1416         bool "Support ls1028aqds"
1417         select ARCH_LS1028A
1418         select ARM64
1419         select ARMV8_MULTIENTRY
1420         select ARCH_SUPPORT_TFABOOT
1421         select BOARD_LATE_INIT
1422         help
1423           Support for Freescale LS1028AQDS platform
1424           The LS1028A Development System (QDS) is a high-performance
1425           development platform that supports the QorIQ LS1028A
1426           Layerscape Architecture processor.
1427
1428 config TARGET_LS1028ARDB
1429         bool "Support ls1028ardb"
1430         select ARCH_LS1028A
1431         select ARM64
1432         select ARMV8_MULTIENTRY
1433         select ARCH_SUPPORT_TFABOOT
1434         select BOARD_LATE_INIT
1435         help
1436           Support for Freescale LS1028ARDB platform
1437           The LS1028A Development System (RDB) is a high-performance
1438           development platform that supports the QorIQ LS1028A
1439           Layerscape Architecture processor.
1440
1441 config TARGET_LS1088ARDB
1442         bool "Support ls1088ardb"
1443         select ARCH_LS1088A
1444         select ARM64
1445         select ARMV8_MULTIENTRY
1446         select ARCH_SUPPORT_TFABOOT
1447         select BOARD_LATE_INIT
1448         select SUPPORT_SPL
1449         select FSL_DDR_INTERACTIVE if !SD_BOOT
1450         help
1451           Support for NXP LS1088ARDB platform.
1452           The LS1088A Reference design board (RDB) is a high-performance
1453           development platform that supports the QorIQ LS1088A
1454           Layerscape Architecture processor.
1455
1456 config TARGET_LS1021AQDS
1457         bool "Support ls1021aqds"
1458         select ARCH_LS1021A
1459         select ARCH_SUPPORT_PSCI
1460         select BOARD_EARLY_INIT_F
1461         select BOARD_LATE_INIT
1462         select CPU_V7A
1463         select CPU_V7_HAS_NONSEC
1464         select CPU_V7_HAS_VIRT
1465         select LS1_DEEP_SLEEP
1466         select SUPPORT_SPL
1467         select SYS_FSL_DDR
1468         select FSL_DDR_INTERACTIVE
1469         select DM_SPI_FLASH if FSL_DSPI || FSL_QSPI
1470         select SPI_FLASH_DATAFLASH if FSL_DSPI || FSL_QSPI
1471         imply SCSI
1472
1473 config TARGET_LS1021ATWR
1474         bool "Support ls1021atwr"
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 DM_SPI_FLASH if FSL_DSPI || FSL_QSPI
1485         imply SCSI
1486
1487 config TARGET_LS1021ATSN
1488         bool "Support ls1021atsn"
1489         select ARCH_LS1021A
1490         select ARCH_SUPPORT_PSCI
1491         select BOARD_EARLY_INIT_F
1492         select BOARD_LATE_INIT
1493         select CPU_V7A
1494         select CPU_V7_HAS_NONSEC
1495         select CPU_V7_HAS_VIRT
1496         select LS1_DEEP_SLEEP
1497         select SUPPORT_SPL
1498         imply SCSI
1499
1500 config TARGET_LS1021AIOT
1501         bool "Support ls1021aiot"
1502         select ARCH_LS1021A
1503         select ARCH_SUPPORT_PSCI
1504         select BOARD_LATE_INIT
1505         select CPU_V7A
1506         select CPU_V7_HAS_NONSEC
1507         select CPU_V7_HAS_VIRT
1508         select SUPPORT_SPL
1509         select DM_SPI_FLASH if FSL_DSPI || FSL_QSPI
1510         imply SCSI
1511         help
1512           Support for Freescale LS1021AIOT platform.
1513           The LS1021A Freescale board (IOT) is a high-performance
1514           development platform that supports the QorIQ LS1021A
1515           Layerscape Architecture processor.
1516
1517 config TARGET_LS1043AQDS
1518         bool "Support ls1043aqds"
1519         select ARCH_LS1043A
1520         select ARM64
1521         select ARMV8_MULTIENTRY
1522         select ARCH_SUPPORT_TFABOOT
1523         select BOARD_EARLY_INIT_F
1524         select BOARD_LATE_INIT
1525         select SUPPORT_SPL
1526         select FSL_DDR_INTERACTIVE if !SPL
1527         select FSL_DSPI if !SPL_NO_DSPI
1528         select DM_SPI_FLASH if FSL_DSPI
1529         imply SCSI
1530         imply SCSI_AHCI
1531         help
1532           Support for Freescale LS1043AQDS platform.
1533
1534 config TARGET_LS1043ARDB
1535         bool "Support ls1043ardb"
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_DSPI if !SPL_NO_DSPI
1544         select DM_SPI_FLASH if FSL_DSPI
1545         help
1546           Support for Freescale LS1043ARDB platform.
1547
1548 config TARGET_LS1046AQDS
1549         bool "Support ls1046aqds"
1550         select ARCH_LS1046A
1551         select ARM64
1552         select ARMV8_MULTIENTRY
1553         select ARCH_SUPPORT_TFABOOT
1554         select BOARD_EARLY_INIT_F
1555         select BOARD_LATE_INIT
1556         select DM_SPI_FLASH if DM_SPI
1557         select SUPPORT_SPL
1558         select FSL_DDR_BIST if !SPL
1559         select FSL_DDR_INTERACTIVE  if !SPL
1560         select FSL_DDR_INTERACTIVE if !SPL
1561         imply SCSI
1562         help
1563           Support for Freescale LS1046AQDS platform.
1564           The LS1046A Development System (QDS) is a high-performance
1565           development platform that supports the QorIQ LS1046A
1566           Layerscape Architecture processor.
1567
1568 config TARGET_LS1046ARDB
1569         bool "Support ls1046ardb"
1570         select ARCH_LS1046A
1571         select ARM64
1572         select ARMV8_MULTIENTRY
1573         select ARCH_SUPPORT_TFABOOT
1574         select BOARD_EARLY_INIT_F
1575         select BOARD_LATE_INIT
1576         select DM_SPI_FLASH if DM_SPI
1577         select POWER_MC34VR500
1578         select SUPPORT_SPL
1579         select FSL_DDR_BIST
1580         select FSL_DDR_INTERACTIVE if !SPL
1581         imply SCSI
1582         help
1583           Support for Freescale LS1046ARDB platform.
1584           The LS1046A Reference Design Board (RDB) is a high-performance
1585           development platform that supports the QorIQ LS1046A
1586           Layerscape Architecture processor.
1587
1588 config TARGET_LS1046AFRWY
1589         bool "Support ls1046afrwy"
1590         select ARCH_LS1046A
1591         select ARM64
1592         select ARMV8_MULTIENTRY
1593         select ARCH_SUPPORT_TFABOOT
1594         select BOARD_EARLY_INIT_F
1595         select BOARD_LATE_INIT
1596         select DM_SPI_FLASH if DM_SPI
1597         imply SCSI
1598         help
1599           Support for Freescale LS1046AFRWY platform.
1600           The LS1046A Freeway Board (FRWY) is a high-performance
1601           development platform that supports the QorIQ LS1046A
1602           Layerscape Architecture processor.
1603
1604 config TARGET_SL28
1605         bool "Support sl28"
1606         select ARCH_LS1028A
1607         select ARM64
1608         select ARMV8_MULTIENTRY
1609         select SUPPORT_SPL
1610         select BINMAN
1611         help
1612           Support for Kontron SMARC-sAL28 board.
1613
1614 config TARGET_COLIBRI_PXA270
1615         bool "Support colibri_pxa270"
1616         select CPU_PXA
1617
1618 config ARCH_UNIPHIER
1619         bool "Socionext UniPhier SoCs"
1620         select BOARD_LATE_INIT
1621         select DM
1622         select DM_ETH
1623         select DM_GPIO
1624         select DM_I2C
1625         select DM_MMC
1626         select DM_MTD
1627         select DM_RESET
1628         select DM_SERIAL
1629         select DM_USB
1630         select OF_BOARD_SETUP
1631         select OF_CONTROL
1632         select OF_LIBFDT
1633         select PINCTRL
1634         select SPL_BOARD_INIT if SPL
1635         select SPL_DM if SPL
1636         select SPL_LIBCOMMON_SUPPORT if SPL
1637         select SPL_LIBGENERIC_SUPPORT if SPL
1638         select SPL_OF_CONTROL if SPL
1639         select SPL_PINCTRL if SPL
1640         select SUPPORT_SPL
1641         imply CMD_DM
1642         imply DISTRO_DEFAULTS
1643         imply FAT_WRITE
1644         help
1645           Support for UniPhier SoC family developed by Socionext Inc.
1646           (formerly, System LSI Business Division of Panasonic Corporation)
1647
1648 config ARCH_STM32
1649         bool "Support STMicroelectronics STM32 MCU with cortex M"
1650         select CPU_V7M
1651         select DM
1652         select DM_SERIAL
1653         imply CMD_DM
1654
1655 config ARCH_STI
1656         bool "Support STMicrolectronics SoCs"
1657         select BLK
1658         select CPU_V7A
1659         select DM
1660         select DM_MMC
1661         select DM_RESET
1662         select DM_SERIAL
1663         imply CMD_DM
1664         help
1665           Support for STMicroelectronics STiH407/10 SoC family.
1666           This SoC is used on Linaro 96Board STiH410-B2260
1667
1668 config ARCH_STM32MP
1669         bool "Support STMicroelectronics STM32MP Socs with cortex A"
1670         select ARCH_MISC_INIT
1671         select ARCH_SUPPORT_TFABOOT
1672         select BOARD_LATE_INIT
1673         select CLK
1674         select DM
1675         select DM_GPIO
1676         select DM_RESET
1677         select DM_SERIAL
1678         select MISC
1679         select OF_CONTROL
1680         select OF_LIBFDT
1681         select OF_SYSTEM_SETUP
1682         select PINCTRL
1683         select REGMAP
1684         select SUPPORT_SPL
1685         select SYSCON
1686         select SYSRESET
1687         select SYS_THUMB_BUILD
1688         imply SPL_SYSRESET
1689         imply CMD_DM
1690         imply CMD_POWEROFF
1691         imply OF_LIBFDT_OVERLAY
1692         imply ENV_VARS_UBOOT_RUNTIME_CONFIG
1693         imply USE_PREBOOT
1694         help
1695           Support for STM32MP SoC family developed by STMicroelectronics,
1696           MPUs based on ARM cortex A core
1697           U-BOOT is running in DDR, loaded by the First Stage BootLoader (FSBL).
1698           FSBL can be TF-A: Trusted Firmware for Cortex A, for trusted boot
1699           chain.
1700           SPL is the unsecure FSBL for the basic boot chain.
1701
1702 config ARCH_ROCKCHIP
1703         bool "Support Rockchip SoCs"
1704         select BLK
1705         select BINMAN if SPL_OPTEE
1706         select DM
1707         select DM_GPIO
1708         select DM_I2C
1709         select DM_MMC
1710         select DM_PWM
1711         select DM_REGULATOR
1712         select DM_SERIAL
1713         select DM_SPI
1714         select DM_SPI_FLASH
1715         select DM_USB if USB
1716         select ENABLE_ARM_SOC_BOOT0_HOOK
1717         select OF_CONTROL
1718         select SPI
1719         select SPL_DM if SPL
1720         select SPL_DM_SPI if SPL
1721         select SPL_DM_SPI_FLASH if SPL
1722         select SYS_MALLOC_F
1723         select SYS_THUMB_BUILD if !ARM64
1724         imply ADC
1725         imply CMD_DM
1726         imply DEBUG_UART_BOARD_INIT
1727         imply DISTRO_DEFAULTS
1728         imply FAT_WRITE
1729         imply SARADC_ROCKCHIP
1730         imply SPL_SYSRESET
1731         imply SPL_SYS_MALLOC_SIMPLE
1732         imply SYS_NS16550
1733         imply TPL_SYSRESET
1734         imply USB_FUNCTION_FASTBOOT
1735
1736 config ARCH_OCTEONTX
1737         bool "Support OcteonTX SoCs"
1738         select CLK
1739         select DM
1740         select ARM64
1741         select OF_CONTROL
1742         select OF_LIVE
1743         select BOARD_LATE_INIT
1744         select SYS_CACHE_SHIFT_7
1745
1746 config ARCH_OCTEONTX2
1747         bool "Support OcteonTX2 SoCs"
1748         select CLK
1749         select DM
1750         select ARM64
1751         select OF_CONTROL
1752         select OF_LIVE
1753         select BOARD_LATE_INIT
1754         select SYS_CACHE_SHIFT_7
1755
1756 config TARGET_THUNDERX_88XX
1757         bool "Support ThunderX 88xx"
1758         select ARM64
1759         select OF_CONTROL
1760         select PL01X_SERIAL
1761         select SYS_CACHE_SHIFT_7
1762
1763 config ARCH_ASPEED
1764         bool "Support Aspeed SoCs"
1765         select DM
1766         select OF_CONTROL
1767         imply CMD_DM
1768
1769 config TARGET_DURIAN
1770         bool "Support Phytium Durian Platform"
1771         select ARM64
1772         help
1773           Support for durian platform.
1774           It has 2GB Sdram, uart and pcie.
1775
1776 config TARGET_PRESIDIO_ASIC
1777         bool "Support Cortina Presidio ASIC Platform"
1778         select ARM64
1779
1780 config TARGET_XENGUEST_ARM64
1781         bool "Xen guest ARM64"
1782         select ARM64
1783         select XEN
1784         select OF_CONTROL
1785         select LINUX_KERNEL_IMAGE_HEADER
1786         select XEN_SERIAL
1787         select SSCANF
1788 endchoice
1789
1790 config ARCH_SUPPORT_TFABOOT
1791         bool
1792
1793 config TFABOOT
1794         bool "Support for booting from TF-A"
1795         depends on ARCH_SUPPORT_TFABOOT
1796         default n
1797         help
1798           Some platforms support the setup of secure registers (for instance
1799           for CPU errata handling) or provide secure services like PSCI.
1800           Those services could also be provided by other firmware parts
1801           like TF-A (Trusted Firmware for Cortex-A), in which case U-Boot
1802           does not need to (and cannot) execute this code.
1803           Enabling this option will make a U-Boot binary that is relying
1804           on other firmware layers to provide secure functionality.
1805
1806 config TI_SECURE_DEVICE
1807         bool "HS Device Type Support"
1808         depends on ARCH_KEYSTONE || ARCH_OMAP2PLUS || ARCH_K3
1809         help
1810           If a high secure (HS) device type is being used, this config
1811           must be set. This option impacts various aspects of the
1812           build system (to create signed boot images that can be
1813           authenticated) and the code. See the doc/README.ti-secure
1814           file for further details.
1815
1816 if AM43XX || AM33XX || OMAP54XX || ARCH_KEYSTONE
1817 config ISW_ENTRY_ADDR
1818         hex "Address in memory or XIP address of bootloader entry point"
1819         default 0x402F4000 if AM43XX
1820         default 0x402F0400 if AM33XX
1821         default 0x40301350 if OMAP54XX
1822         help
1823           After any reset, the boot ROM searches the boot media for a valid
1824           boot image. For non-XIP devices, the ROM then copies the image into
1825           internal memory. For all boot modes, after the ROM processes the
1826           boot image it eventually computes the entry point address depending
1827           on the device type (secure/non-secure), boot media (xip/non-xip) and
1828           image headers.
1829 endif
1830
1831 source "arch/arm/mach-aspeed/Kconfig"
1832
1833 source "arch/arm/mach-at91/Kconfig"
1834
1835 source "arch/arm/mach-bcm283x/Kconfig"
1836
1837 source "arch/arm/mach-bcmstb/Kconfig"
1838
1839 source "arch/arm/mach-davinci/Kconfig"
1840
1841 source "arch/arm/mach-exynos/Kconfig"
1842
1843 source "arch/arm/mach-highbank/Kconfig"
1844
1845 source "arch/arm/mach-integrator/Kconfig"
1846
1847 source "arch/arm/mach-ipq40xx/Kconfig"
1848
1849 source "arch/arm/mach-k3/Kconfig"
1850
1851 source "arch/arm/mach-keystone/Kconfig"
1852
1853 source "arch/arm/mach-kirkwood/Kconfig"
1854
1855 source "arch/arm/mach-lpc32xx/Kconfig"
1856
1857 source "arch/arm/mach-mvebu/Kconfig"
1858
1859 source "arch/arm/mach-octeontx/Kconfig"
1860
1861 source "arch/arm/mach-octeontx2/Kconfig"
1862
1863 source "arch/arm/cpu/armv7/ls102xa/Kconfig"
1864
1865 source "arch/arm/mach-imx/mx2/Kconfig"
1866
1867 source "arch/arm/mach-imx/mx3/Kconfig"
1868
1869 source "arch/arm/mach-imx/mx5/Kconfig"
1870
1871 source "arch/arm/mach-imx/mx6/Kconfig"
1872
1873 source "arch/arm/mach-imx/mx7/Kconfig"
1874
1875 source "arch/arm/mach-imx/mx7ulp/Kconfig"
1876
1877 source "arch/arm/mach-imx/imx8/Kconfig"
1878
1879 source "arch/arm/mach-imx/imx8m/Kconfig"
1880
1881 source "arch/arm/mach-imx/imxrt/Kconfig"
1882
1883 source "arch/arm/mach-imx/mxs/Kconfig"
1884
1885 source "arch/arm/mach-omap2/Kconfig"
1886
1887 source "arch/arm/cpu/armv8/fsl-layerscape/Kconfig"
1888
1889 source "arch/arm/mach-orion5x/Kconfig"
1890
1891 source "arch/arm/mach-owl/Kconfig"
1892
1893 source "arch/arm/mach-rmobile/Kconfig"
1894
1895 source "arch/arm/mach-meson/Kconfig"
1896
1897 source "arch/arm/mach-mediatek/Kconfig"
1898
1899 source "arch/arm/mach-qemu/Kconfig"
1900
1901 source "arch/arm/mach-rockchip/Kconfig"
1902
1903 source "arch/arm/mach-s5pc1xx/Kconfig"
1904
1905 source "arch/arm/mach-snapdragon/Kconfig"
1906
1907 source "arch/arm/mach-socfpga/Kconfig"
1908
1909 source "arch/arm/mach-sti/Kconfig"
1910
1911 source "arch/arm/mach-stm32/Kconfig"
1912
1913 source "arch/arm/mach-stm32mp/Kconfig"
1914
1915 source "arch/arm/mach-sunxi/Kconfig"
1916
1917 source "arch/arm/mach-tegra/Kconfig"
1918
1919 source "arch/arm/mach-u8500/Kconfig"
1920
1921 source "arch/arm/mach-uniphier/Kconfig"
1922
1923 source "arch/arm/cpu/armv7/vf610/Kconfig"
1924
1925 source "arch/arm/mach-zynq/Kconfig"
1926
1927 source "arch/arm/mach-zynqmp/Kconfig"
1928
1929 source "arch/arm/mach-versal/Kconfig"
1930
1931 source "arch/arm/mach-zynqmp-r5/Kconfig"
1932
1933 source "arch/arm/cpu/armv7/Kconfig"
1934
1935 source "arch/arm/cpu/armv8/Kconfig"
1936
1937 source "arch/arm/mach-imx/Kconfig"
1938
1939 source "arch/arm/mach-nexell/Kconfig"
1940
1941 source "board/armltd/total_compute/Kconfig"
1942
1943 source "board/bosch/shc/Kconfig"
1944 source "board/bosch/guardian/Kconfig"
1945 source "board/CarMediaLab/flea3/Kconfig"
1946 source "board/Marvell/aspenite/Kconfig"
1947 source "board/Marvell/gplugd/Kconfig"
1948 source "board/Marvell/octeontx/Kconfig"
1949 source "board/Marvell/octeontx2/Kconfig"
1950 source "board/armltd/vexpress64/Kconfig"
1951 source "board/cortina/presidio-asic/Kconfig"
1952 source "board/broadcom/bcm23550_w1d/Kconfig"
1953 source "board/broadcom/bcm28155_ap/Kconfig"
1954 source "board/broadcom/bcm963158/Kconfig"
1955 source "board/broadcom/bcm968360bg/Kconfig"
1956 source "board/broadcom/bcm968580xref/Kconfig"
1957 source "board/broadcom/bcmcygnus/Kconfig"
1958 source "board/broadcom/bcmnsp/Kconfig"
1959 source "board/broadcom/bcmns2/Kconfig"
1960 source "board/broadcom/bcmns3/Kconfig"
1961 source "board/cavium/thunderx/Kconfig"
1962 source "board/cirrus/edb93xx/Kconfig"
1963 source "board/eets/pdu001/Kconfig"
1964 source "board/emulation/qemu-arm/Kconfig"
1965 source "board/freescale/ls2080aqds/Kconfig"
1966 source "board/freescale/ls2080ardb/Kconfig"
1967 source "board/freescale/ls1088a/Kconfig"
1968 source "board/freescale/ls1028a/Kconfig"
1969 source "board/freescale/ls1021aqds/Kconfig"
1970 source "board/freescale/ls1043aqds/Kconfig"
1971 source "board/freescale/ls1021atwr/Kconfig"
1972 source "board/freescale/ls1021atsn/Kconfig"
1973 source "board/freescale/ls1021aiot/Kconfig"
1974 source "board/freescale/ls1046aqds/Kconfig"
1975 source "board/freescale/ls1043ardb/Kconfig"
1976 source "board/freescale/ls1046ardb/Kconfig"
1977 source "board/freescale/ls1046afrwy/Kconfig"
1978 source "board/freescale/ls1012aqds/Kconfig"
1979 source "board/freescale/ls1012ardb/Kconfig"
1980 source "board/freescale/ls1012afrdm/Kconfig"
1981 source "board/freescale/lx2160a/Kconfig"
1982 source "board/freescale/s32v234evb/Kconfig"
1983 source "board/grinn/chiliboard/Kconfig"
1984 source "board/hisilicon/hikey/Kconfig"
1985 source "board/hisilicon/hikey960/Kconfig"
1986 source "board/hisilicon/poplar/Kconfig"
1987 source "board/isee/igep003x/Kconfig"
1988 source "board/kontron/sl28/Kconfig"
1989 source "board/myir/mys_6ulx/Kconfig"
1990 source "board/spear/spear300/Kconfig"
1991 source "board/spear/spear310/Kconfig"
1992 source "board/spear/spear320/Kconfig"
1993 source "board/spear/spear600/Kconfig"
1994 source "board/spear/x600/Kconfig"
1995 source "board/st/stv0991/Kconfig"
1996 source "board/tcl/sl50/Kconfig"
1997 source "board/toradex/colibri_pxa270/Kconfig"
1998 source "board/variscite/dart_6ul/Kconfig"
1999 source "board/vscom/baltos/Kconfig"
2000 source "board/phytium/durian/Kconfig"
2001 source "board/xen/xenguest_arm64/Kconfig"
2002
2003 source "arch/arm/Kconfig.debug"
2004
2005 endmenu
2006
2007 config SPL_LDSCRIPT
2008         default "arch/arm/cpu/arm926ejs/mxs/u-boot-spl.lds" if (ARCH_MX23 || ARCH_MX28) && !SPL_FRAMEWORK
2009         default "arch/arm/cpu/arm1136/u-boot-spl.lds" if CPU_ARM1136
2010         default "arch/arm/cpu/armv8/u-boot-spl.lds" if ARM64