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