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