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