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