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