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