arm: qemu: fix failure in flash initialization if booting from TF-A
[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 SYS_ARCH_TIMER
333         bool "ARM Generic Timer support"
334         depends on CPU_V7A || ARM64
335         default y if ARM64
336         help
337           The ARM Generic Timer (aka arch-timer) provides an architected
338           interface to a timer source on an SoC.
339           It is mandantory for ARMv8 implementation and widely available
340           on ARMv7 systems.
341
342 config ARM_SMCCC
343         bool "Support for ARM SMC Calling Convention (SMCCC)"
344         depends on CPU_V7A || ARM64
345         select ARM_PSCI_FW
346         help
347           Say Y here if you want to enable ARM SMC Calling Convention.
348           This should be enabled if U-Boot needs to communicate with system
349           firmware (for example, PSCI) according to SMCCC.
350
351 config SEMIHOSTING
352         bool "support boot from semihosting"
353         help
354           In emulated environments, semihosting is a way for
355           the hosted environment to call out to the emulator to
356           retrieve files from the host machine.
357
358 config SYS_THUMB_BUILD
359         bool "Build U-Boot using the Thumb instruction set"
360         depends on !ARM64
361         help
362            Use this flag to build U-Boot using the Thumb instruction set for
363            ARM architectures. Thumb instruction set provides better code
364            density. For ARM architectures that support Thumb2 this flag will
365            result in Thumb2 code generated by GCC.
366
367 config SPL_SYS_THUMB_BUILD
368         bool "Build SPL using the Thumb instruction set"
369         default y if SYS_THUMB_BUILD
370         depends on !ARM64
371         help
372            Use this flag to build SPL using the Thumb instruction set for
373            ARM architectures. Thumb instruction set provides better code
374            density. For ARM architectures that support Thumb2 this flag will
375            result in Thumb2 code generated by GCC.
376
377 config TPL_SYS_THUMB_BUILD
378         bool "Build TPL using the Thumb instruction set"
379         default y if SYS_THUMB_BUILD
380         depends on TPL && !ARM64
381         help
382            Use this flag to build SPL using the Thumb instruction set for
383            ARM architectures. Thumb instruction set provides better code
384            density. For ARM architectures that support Thumb2 this flag will
385            result in Thumb2 code generated by GCC.
386
387
388 config SYS_L2CACHE_OFF
389         bool "L2cache off"
390         help
391           If SoC does not support L2CACHE or one do not want to enable
392           L2CACHE, choose this option.
393
394 config ENABLE_ARM_SOC_BOOT0_HOOK
395         bool "prepare BOOT0 header"
396         help
397           If the SoC's BOOT0 requires a header area filled with (magic)
398           values, then choose this option, and create a file included as
399           <asm/arch/boot0.h> which contains the required assembler code.
400
401 config ARM_CORTEX_CPU_IS_UP
402         bool
403         default n
404
405 config USE_ARCH_MEMCPY
406         bool "Use an assembly optimized implementation of memcpy"
407         default y
408         depends on !ARM64
409         help
410           Enable the generation of an optimized version of memcpy.
411           Such implementation may be faster under some conditions
412           but may increase the binary size.
413
414 config SPL_USE_ARCH_MEMCPY
415         bool "Use an assembly optimized implementation of memcpy for SPL"
416         default y if USE_ARCH_MEMCPY
417         depends on !ARM64
418         help
419           Enable the generation of an optimized version of memcpy.
420           Such implementation may be faster under some conditions
421           but may increase the binary size.
422
423 config TPL_USE_ARCH_MEMCPY
424         bool "Use an assembly optimized implementation of memcpy for TPL"
425         default y if USE_ARCH_MEMCPY
426         depends on !ARM64
427         help
428           Enable the generation of an optimized version of memcpy.
429           Such implementation may be faster under some conditions
430           but may increase the binary size.
431
432 config USE_ARCH_MEMSET
433         bool "Use an assembly optimized implementation of memset"
434         default y
435         depends on !ARM64
436         help
437           Enable the generation of an optimized version of memset.
438           Such implementation may be faster under some conditions
439           but may increase the binary size.
440
441 config SPL_USE_ARCH_MEMSET
442         bool "Use an assembly optimized implementation of memset for SPL"
443         default y if USE_ARCH_MEMSET
444         depends on !ARM64
445         help
446           Enable the generation of an optimized version of memset.
447           Such implementation may be faster under some conditions
448           but may increase the binary size.
449
450 config TPL_USE_ARCH_MEMSET
451         bool "Use an assembly optimized implementation of memset for TPL"
452         default y if USE_ARCH_MEMSET
453         depends on !ARM64
454         help
455           Enable the generation of an optimized version of memset.
456           Such implementation may be faster under some conditions
457           but may increase the binary size.
458
459 config ARM64_SUPPORT_AARCH32
460         bool "ARM64 system support AArch32 execution state"
461         default y if ARM64 && !TARGET_THUNDERX_88XX
462         help
463           This ARM64 system supports AArch32 execution state.
464
465 choice
466         prompt "Target select"
467         default TARGET_HIKEY
468
469 config ARCH_AT91
470         bool "Atmel AT91"
471         select SPL_BOARD_INIT if SPL && !TARGET_SMARTWEB
472
473 config TARGET_EDB93XX
474         bool "Support edb93xx"
475         select CPU_ARM920T
476         select PL010_SERIAL
477
478 config TARGET_ASPENITE
479         bool "Support aspenite"
480         select CPU_ARM926EJS
481
482 config TARGET_GPLUGD
483         bool "Support gplugd"
484         select CPU_ARM926EJS
485
486 config ARCH_DAVINCI
487         bool "TI DaVinci"
488         select CPU_ARM926EJS
489         imply CMD_SAVES
490         help
491           Support for TI's DaVinci platform.
492
493 config KIRKWOOD
494         bool "Marvell Kirkwood"
495         select ARCH_MISC_INIT
496         select BOARD_EARLY_INIT_F
497         select CPU_ARM926EJS
498
499 config ARCH_MVEBU
500         bool "Marvell MVEBU family (Armada XP/375/38x/3700/7K/8K)"
501         select DM
502         select DM_ETH
503         select DM_SERIAL
504         select DM_SPI
505         select DM_SPI_FLASH
506         select OF_CONTROL
507         select OF_SEPARATE
508         select SPI
509         imply CMD_DM
510
511 config TARGET_APF27
512         bool "Support apf27"
513         select CPU_ARM926EJS
514         select SUPPORT_SPL
515
516 config ORION5X
517         bool "Marvell Orion"
518         select CPU_ARM926EJS
519
520 config TARGET_SPEAR300
521         bool "Support spear300"
522         select BOARD_EARLY_INIT_F
523         select CPU_ARM926EJS
524         select PL011_SERIAL
525         imply CMD_SAVES
526
527 config TARGET_SPEAR310
528         bool "Support spear310"
529         select BOARD_EARLY_INIT_F
530         select CPU_ARM926EJS
531         select PL011_SERIAL
532         imply CMD_SAVES
533
534 config TARGET_SPEAR320
535         bool "Support spear320"
536         select BOARD_EARLY_INIT_F
537         select CPU_ARM926EJS
538         select PL011_SERIAL
539         imply CMD_SAVES
540
541 config TARGET_SPEAR600
542         bool "Support spear600"
543         select BOARD_EARLY_INIT_F
544         select CPU_ARM926EJS
545         select PL011_SERIAL
546         imply CMD_SAVES
547
548 config TARGET_STV0991
549         bool "Support stv0991"
550         select CPU_V7A
551         select DM
552         select DM_SERIAL
553         select DM_SPI
554         select DM_SPI_FLASH
555         select PL01X_SERIAL
556         select SPI
557         select SPI_FLASH
558         imply CMD_DM
559
560 config TARGET_X600
561         bool "Support x600"
562         select BOARD_LATE_INIT
563         select CPU_ARM926EJS
564         select PL011_SERIAL
565         select SUPPORT_SPL
566
567 config TARGET_WOODBURN
568         bool "Support woodburn"
569         select CPU_ARM1136
570
571 config TARGET_WOODBURN_SD
572         bool "Support woodburn_sd"
573         select CPU_ARM1136
574         select SUPPORT_SPL
575
576 config TARGET_FLEA3
577         bool "Support flea3"
578         select CPU_ARM1136
579
580 config TARGET_MX35PDK
581         bool "Support mx35pdk"
582         select BOARD_LATE_INIT
583         select CPU_ARM1136
584
585 config ARCH_BCM283X
586         bool "Broadcom BCM283X family"
587         select DM
588         select DM_GPIO
589         select DM_SERIAL
590         select OF_CONTROL
591         select PL01X_SERIAL
592         select SERIAL_SEARCH_ALL
593         imply CMD_DM
594         imply FAT_WRITE
595
596 config ARCH_BCM63158
597         bool "Broadcom BCM63158 family"
598         select DM
599         select OF_CONTROL
600         imply CMD_DM
601
602 config ARCH_BCM6858
603         bool "Broadcom BCM6858 family"
604         select DM
605         select OF_CONTROL
606         imply CMD_DM
607
608 config TARGET_VEXPRESS_CA15_TC2
609         bool "Support vexpress_ca15_tc2"
610         select CPU_V7A
611         select CPU_V7_HAS_NONSEC
612         select CPU_V7_HAS_VIRT
613         select PL011_SERIAL
614
615 config ARCH_BCMSTB
616         bool "Broadcom BCM7XXX family"
617         select CPU_V7A
618         select DM
619         select OF_CONTROL
620         select OF_PRIOR_STAGE
621         imply CMD_DM
622         help
623           This enables support for Broadcom ARM-based set-top box
624           chipsets, including the 7445 family of chips.
625
626 config TARGET_VEXPRESS_CA5X2
627         bool "Support vexpress_ca5x2"
628         select CPU_V7A
629         select PL011_SERIAL
630
631 config TARGET_VEXPRESS_CA9X4
632         bool "Support vexpress_ca9x4"
633         select CPU_V7A
634         select PL011_SERIAL
635
636 config TARGET_BCM23550_W1D
637         bool "Support bcm23550_w1d"
638         select CPU_V7A
639         imply CRC32_VERIFY
640         imply FAT_WRITE
641
642 config TARGET_BCM28155_AP
643         bool "Support bcm28155_ap"
644         select CPU_V7A
645         imply CRC32_VERIFY
646         imply FAT_WRITE
647
648 config TARGET_BCMCYGNUS
649         bool "Support bcmcygnus"
650         select CPU_V7A
651         imply BCM_SF2_ETH
652         imply BCM_SF2_ETH_GMAC
653         imply CMD_HASH
654         imply CRC32_VERIFY
655         imply FAT_WRITE
656         imply HASH_VERIFY
657         imply NETDEVICES
658
659 config TARGET_BCMNSP
660         bool "Support bcmnsp"
661         select CPU_V7A
662
663 config TARGET_BCMNS2
664         bool "Support Broadcom Northstar2"
665         select ARM64
666         help
667           Support for Broadcom Northstar 2 SoCs.  NS2 is a quad-core 64-bit
668           ARMv8 Cortex-A57 processors targeting a broad range of networking
669           applications
670
671 config ARCH_EXYNOS
672         bool "Samsung EXYNOS"
673         select DM
674         select DM_GPIO
675         select DM_I2C
676         select DM_KEYBOARD
677         select DM_SERIAL
678         select DM_SPI
679         select DM_SPI_FLASH
680         select SPI
681         imply SYS_THUMB_BUILD
682         imply CMD_DM
683         imply FAT_WRITE
684
685 config ARCH_S5PC1XX
686         bool "Samsung S5PC1XX"
687         select CPU_V7A
688         select DM
689         select DM_GPIO
690         select DM_I2C
691         select DM_SERIAL
692         imply CMD_DM
693
694 config ARCH_HIGHBANK
695         bool "Calxeda Highbank"
696         select CPU_V7A
697         select PL011_SERIAL
698
699 config ARCH_INTEGRATOR
700         bool "ARM Ltd. Integrator family"
701         select DM
702         select DM_SERIAL
703         select PL01X_SERIAL
704         imply CMD_DM
705
706 config ARCH_KEYSTONE
707         bool "TI Keystone"
708         select CMD_POWEROFF
709         select CPU_V7A
710         select SUPPORT_SPL
711         select SYS_ARCH_TIMER
712         select SYS_THUMB_BUILD
713         imply CMD_MTDPARTS
714         imply CMD_SAVES
715         imply FIT
716
717 config ARCH_K3
718         bool "Texas Instruments' K3 Architecture"
719         select SPL
720         select SUPPORT_SPL
721         select FIT
722
723 config ARCH_OMAP2PLUS
724         bool "TI OMAP2+"
725         select CPU_V7A
726         select SPL_BOARD_INIT if SPL
727         select SPL_STACK_R if SPL
728         select SUPPORT_SPL
729         imply FIT
730
731 config ARCH_MESON
732         bool "Amlogic Meson"
733         imply DISTRO_DEFAULTS
734         help
735           Support for the Meson SoC family developed by Amlogic Inc.,
736           targeted at media players and tablet computers. We currently
737           support the S905 (GXBaby) 64-bit SoC.
738
739 config ARCH_MEDIATEK
740         bool "MediaTek SoCs"
741         select BINMAN
742         select DM
743         select OF_CONTROL
744         select SPL_DM if SPL
745         select SPL_LIBCOMMON_SUPPORT if SPL
746         select SPL_LIBGENERIC_SUPPORT if SPL
747         select SPL_OF_CONTROL if SPL
748         select SUPPORT_SPL
749         help
750           Support for the MediaTek SoCs family developed by MediaTek Inc.
751           Please refer to doc/README.mediatek for more information.
752
753 config ARCH_LPC32XX
754         bool "NXP LPC32xx platform"
755         select CPU_ARM926EJS
756         select DM
757         select DM_GPIO
758         select DM_SERIAL
759         select SPL_DM if SPL
760         select SUPPORT_SPL
761         imply CMD_DM
762
763 config ARCH_IMX8
764         bool "NXP i.MX8 platform"
765         select ARM64
766         select DM
767         select OF_CONTROL
768
769 config ARCH_IMX8M
770         bool "NXP i.MX8M platform"
771         select ARM64
772         select DM
773         select SUPPORT_SPL
774         imply CMD_DM
775
776 config ARCH_MX23
777         bool "NXP i.MX23 family"
778         select CPU_ARM926EJS
779         select PL011_SERIAL
780         select SUPPORT_SPL
781
782 config ARCH_MX25
783         bool "NXP MX25"
784         select CPU_ARM926EJS
785         imply MXC_GPIO
786
787 config ARCH_MX28
788         bool "NXP i.MX28 family"
789         select CPU_ARM926EJS
790         select PL011_SERIAL
791         select SUPPORT_SPL
792
793 config ARCH_MX31
794         bool "NXP i.MX31 family"
795         select CPU_ARM1136
796
797 config ARCH_MX7ULP
798         bool "NXP MX7ULP"
799         select CPU_V7A
800         select ROM_UNIFIED_SECTIONS
801         imply MXC_GPIO
802
803 config ARCH_MX7
804         bool "Freescale MX7"
805         select ARCH_MISC_INIT
806         select BOARD_EARLY_INIT_F
807         select CPU_V7A
808         select SYS_FSL_HAS_SEC if SECURE_BOOT
809         select SYS_FSL_SEC_COMPAT_4
810         select SYS_FSL_SEC_LE
811         imply MXC_GPIO
812
813 config ARCH_MX6
814         bool "Freescale MX6"
815         select CPU_V7A
816         select SYS_FSL_HAS_SEC if SECURE_BOOT
817         select SYS_FSL_SEC_COMPAT_4
818         select SYS_FSL_SEC_LE
819         select SYS_THUMB_BUILD if SPL
820         imply MXC_GPIO
821
822 if ARCH_MX6
823 config SPL_LDSCRIPT
824         default "arch/arm/mach-omap2/u-boot-spl.lds"
825 endif
826
827 config ARCH_MX5
828         bool "Freescale MX5"
829         select BOARD_EARLY_INIT_F
830         select CPU_V7A
831         imply MXC_GPIO
832
833 config ARCH_OWL
834         bool "Actions Semi OWL SoCs"
835         select ARM64
836         select DM
837         select DM_SERIAL
838         select OF_CONTROL
839         imply CMD_DM
840
841 config ARCH_QEMU
842         bool "QEMU Virtual Platform"
843         select ARCH_SUPPORT_TFABOOT
844         select DM
845         select DM_SERIAL
846         select OF_CONTROL
847         select PL01X_SERIAL
848         imply CMD_DM
849         imply DM_RTC
850         imply RTC_PL031
851
852 config ARCH_RMOBILE
853         bool "Renesas ARM SoCs"
854         select BOARD_EARLY_INIT_F if !RZA1
855         select DM
856         select DM_SERIAL
857         imply CMD_DM
858         imply FAT_WRITE
859         imply SYS_THUMB_BUILD
860         imply ARCH_MISC_INIT if DISPLAY_CPUINFO
861
862 config TARGET_S32V234EVB
863         bool "Support s32v234evb"
864         select ARM64
865         select SYS_FSL_ERRATUM_ESDHC111
866
867 config ARCH_SNAPDRAGON
868         bool "Qualcomm Snapdragon SoCs"
869         select ARM64
870         select DM
871         select DM_GPIO
872         select DM_SERIAL
873         select MSM_SMEM
874         select OF_CONTROL
875         select OF_SEPARATE
876         select SMEM
877         select SPMI
878         imply CMD_DM
879
880 config ARCH_SOCFPGA
881         bool "Altera SOCFPGA family"
882         select ARCH_EARLY_INIT_R
883         select ARCH_MISC_INIT if !TARGET_SOCFPGA_ARRIA10
884         select ARM64 if TARGET_SOCFPGA_STRATIX10
885         select CPU_V7A if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
886         select DM
887         select DM_SERIAL
888         select ENABLE_ARM_SOC_BOOT0_HOOK if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
889         select OF_CONTROL
890         select SPL_DM_RESET if DM_RESET
891         select SPL_DM_SERIAL
892         select SPL_LIBCOMMON_SUPPORT
893         select SPL_LIBGENERIC_SUPPORT
894         select SPL_NAND_SUPPORT if SPL_NAND_DENALI
895         select SPL_OF_CONTROL
896         select SPL_SEPARATE_BSS if TARGET_SOCFPGA_STRATIX10
897         select SPL_SERIAL_SUPPORT
898         select SPL_WATCHDOG_SUPPORT
899         select SUPPORT_SPL
900         select SYS_NS16550
901         select SYS_THUMB_BUILD if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
902         imply CMD_DM
903         imply CMD_MTDPARTS
904         imply CRC32_VERIFY
905         imply DM_SPI
906         imply DM_SPI_FLASH
907         imply FAT_WRITE
908         imply SPL
909         imply SPL_DM
910         imply SPL_LIBDISK_SUPPORT
911         imply SPL_MMC_SUPPORT
912         imply SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION
913         imply SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION_TYPE
914         imply SPL_SPI_FLASH_SUPPORT
915         imply SPL_SPI_SUPPORT
916         imply L2X0_CACHE
917
918 config ARCH_SUNXI
919         bool "Support sunxi (Allwinner) SoCs"
920         select BINMAN
921         select CMD_GPIO
922         select CMD_MMC if MMC
923         select CMD_USB if DISTRO_DEFAULTS
924         select CLK
925         select DM
926         select DM_ETH
927         select DM_GPIO
928         select DM_KEYBOARD
929         select DM_MMC if MMC
930         select DM_SCSI if SCSI
931         select DM_SERIAL
932         select DM_USB if DISTRO_DEFAULTS
933         select OF_BOARD_SETUP
934         select OF_CONTROL
935         select OF_SEPARATE
936         select SPECIFY_CONSOLE_INDEX
937         select SPL_STACK_R if SPL
938         select SPL_SYS_MALLOC_SIMPLE if SPL
939         select SPL_SYS_THUMB_BUILD if !ARM64
940         select SUNXI_GPIO
941         select SYS_NS16550
942         select SYS_THUMB_BUILD if !ARM64
943         select USB if DISTRO_DEFAULTS
944         select USB_KEYBOARD if DISTRO_DEFAULTS
945         select USB_STORAGE if DISTRO_DEFAULTS
946         select USE_TINY_PRINTF
947         imply CMD_DM
948         imply CMD_GPT
949         imply CMD_UBI if NAND
950         imply DISTRO_DEFAULTS
951         imply FAT_WRITE
952         imply FIT
953         imply OF_LIBFDT_OVERLAY
954         imply PRE_CONSOLE_BUFFER
955         imply SPL_GPIO_SUPPORT
956         imply SPL_LIBCOMMON_SUPPORT
957         imply SPL_LIBGENERIC_SUPPORT
958         imply SPL_MMC_SUPPORT if MMC
959         imply SPL_POWER_SUPPORT
960         imply SPL_SERIAL_SUPPORT
961         imply USB_GADGET
962
963 config ARCH_VERSAL
964         bool "Support Xilinx Versal Platform"
965         select ARM64
966         select CLK
967         select DM
968         select DM_ETH if NET
969         select DM_MMC if MMC
970         select DM_SERIAL
971         select OF_CONTROL
972
973 config ARCH_VF610
974         bool "Freescale Vybrid"
975         select CPU_V7A
976         select SYS_FSL_ERRATUM_ESDHC111
977         imply CMD_MTDPARTS
978         imply NAND
979
980 config ARCH_ZYNQ
981         bool "Xilinx Zynq based platform"
982         select BOARD_EARLY_INIT_F if WDT
983         select CLK
984         select CLK_ZYNQ
985         select CPU_V7A
986         select DM
987         select DM_ETH if NET
988         select DM_MMC if MMC
989         select DM_SERIAL
990         select DM_SPI
991         select DM_SPI_FLASH
992         select DM_USB if USB
993         select OF_CONTROL
994         select SPI
995         select SPL_BOARD_INIT if SPL
996         select SPL_CLK if SPL
997         select SPL_DM if SPL
998         select SPL_OF_CONTROL if SPL
999         select SPL_SEPARATE_BSS if SPL
1000         select SUPPORT_SPL
1001         imply ARCH_EARLY_INIT_R
1002         imply BOARD_LATE_INIT
1003         imply CMD_CLK
1004         imply CMD_DM
1005         imply CMD_SPL
1006         imply FAT_WRITE
1007
1008 config ARCH_ZYNQMP_R5
1009         bool "Xilinx ZynqMP R5 based platform"
1010         select CLK
1011         select CPU_V7R
1012         select DM
1013         select DM_ETH if NET
1014         select DM_MMC if MMC
1015         select DM_SERIAL
1016         select OF_CONTROL
1017         imply CMD_DM
1018         imply DM_USB_GADGET
1019
1020 config ARCH_ZYNQMP
1021         bool "Xilinx ZynqMP based platform"
1022         select ARM64
1023         select CLK
1024         select DM
1025         select DM_ETH if NET
1026         select DM_MMC if MMC
1027         select DM_SERIAL
1028         select DM_SPI if SPI
1029         select DM_SPI_FLASH if DM_SPI
1030         select DM_USB if USB
1031         select OF_CONTROL
1032         select SPL_BOARD_INIT if SPL
1033         select SPL_CLK if SPL
1034         select SPL_SEPARATE_BSS if SPL
1035         select SUPPORT_SPL
1036         imply BOARD_LATE_INIT
1037         imply CMD_DM
1038         imply FAT_WRITE
1039         imply MP
1040         imply DM_USB_GADGET
1041
1042 config TEGRA
1043         bool "NVIDIA Tegra"
1044         imply DISTRO_DEFAULTS
1045         imply FAT_WRITE
1046
1047 config TARGET_VEXPRESS64_AEMV8A
1048         bool "Support vexpress_aemv8a"
1049         select ARM64
1050         select PL01X_SERIAL
1051
1052 config TARGET_VEXPRESS64_BASE_FVP
1053         bool "Support Versatile Express ARMv8a FVP BASE model"
1054         select ARM64
1055         select PL01X_SERIAL
1056         select SEMIHOSTING
1057
1058 config TARGET_VEXPRESS64_BASE_FVP_DRAM
1059         bool "Support Versatile Express ARMv8a FVP BASE model booting from DRAM"
1060         select ARM64
1061         select PL01X_SERIAL
1062         help
1063           This target is derived from TARGET_VEXPRESS64_BASE_FVP and over-rides
1064           the default config to allow the user to load the images directly into
1065           DRAM using model parameters rather than by using semi-hosting to load
1066           the files from the host filesystem.
1067
1068 config TARGET_VEXPRESS64_JUNO
1069         bool "Support Versatile Express Juno Development Platform"
1070         select ARM64
1071         select PL01X_SERIAL
1072
1073 config TARGET_LS2080A_EMU
1074         bool "Support ls2080a_emu"
1075         select ARCH_LS2080A
1076         select ARCH_MISC_INIT
1077         select ARM64
1078         select ARMV8_MULTIENTRY
1079         select FSL_DDR_SYNC_REFRESH
1080         help
1081           Support for Freescale LS2080A_EMU platform
1082           The LS2080A Development System (EMULATOR) is a pre silicon
1083           development platform that supports the QorIQ LS2080A
1084           Layerscape Architecture processor.
1085
1086 config TARGET_LS2080A_SIMU
1087         bool "Support ls2080a_simu"
1088         select ARCH_LS2080A
1089         select ARCH_MISC_INIT
1090         select ARM64
1091         select ARMV8_MULTIENTRY
1092         help
1093           Support for Freescale LS2080A_SIMU platform
1094           The LS2080A Development System (QDS) is a pre silicon
1095           development platform that supports the QorIQ LS2080A
1096           Layerscape Architecture processor.
1097
1098 config TARGET_LS1088AQDS
1099         bool "Support ls1088aqds"
1100         select ARCH_LS1088A
1101         select ARCH_MISC_INIT
1102         select ARM64
1103         select ARMV8_MULTIENTRY
1104         select ARCH_SUPPORT_TFABOOT
1105         select BOARD_LATE_INIT
1106         select SUPPORT_SPL
1107         select FSL_DDR_INTERACTIVE if !SD_BOOT
1108         help
1109           Support for NXP LS1088AQDS platform
1110           The LS1088A Development System (QDS) is a high-performance
1111           development platform that supports the QorIQ LS1088A
1112           Layerscape Architecture processor.
1113
1114 config TARGET_LS2080AQDS
1115         bool "Support ls2080aqds"
1116         select ARCH_LS2080A
1117         select ARCH_MISC_INIT
1118         select ARM64
1119         select ARMV8_MULTIENTRY
1120         select ARCH_SUPPORT_TFABOOT
1121         select BOARD_LATE_INIT
1122         select SUPPORT_SPL
1123         imply SCSI
1124         imply SCSI_AHCI
1125         select FSL_DDR_BIST
1126         select FSL_DDR_INTERACTIVE if !SPL
1127         help
1128           Support for Freescale LS2080AQDS platform
1129           The LS2080A Development System (QDS) is a high-performance
1130           development platform that supports the QorIQ LS2080A
1131           Layerscape Architecture processor.
1132
1133 config TARGET_LS2080ARDB
1134         bool "Support ls2080ardb"
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         select FSL_DDR_BIST
1143         select FSL_DDR_INTERACTIVE if !SPL
1144         imply SCSI
1145         imply SCSI_AHCI
1146         help
1147           Support for Freescale LS2080ARDB platform.
1148           The LS2080A Reference design board (RDB) is a high-performance
1149           development platform that supports the QorIQ LS2080A
1150           Layerscape Architecture processor.
1151
1152 config TARGET_LS2081ARDB
1153         bool "Support ls2081ardb"
1154         select ARCH_LS2080A
1155         select ARCH_MISC_INIT
1156         select ARM64
1157         select ARMV8_MULTIENTRY
1158         select BOARD_LATE_INIT
1159         select SUPPORT_SPL
1160         help
1161           Support for Freescale LS2081ARDB platform.
1162           The LS2081A Reference design board (RDB) is a high-performance
1163           development platform that supports the QorIQ LS2081A/LS2041A
1164           Layerscape Architecture processor.
1165
1166 config TARGET_LX2160ARDB
1167         bool "Support lx2160ardb"
1168         select ARCH_LX2160A
1169         select ARCH_MISC_INIT
1170         select ARM64
1171         select ARMV8_MULTIENTRY
1172         select ARCH_SUPPORT_TFABOOT
1173         select BOARD_LATE_INIT
1174         help
1175           Support for NXP LX2160ARDB platform.
1176           The lx2160ardb (LX2160A Reference design board (RDB)
1177           is a high-performance development platform that supports the
1178           QorIQ LX2160A/LX2120A/LX2080A Layerscape Architecture processor.
1179
1180 config TARGET_LX2160AQDS
1181         bool "Support lx2160aqds"
1182         select ARCH_LX2160A
1183         select ARCH_MISC_INIT
1184         select ARM64
1185         select ARMV8_MULTIENTRY
1186         select ARCH_SUPPORT_TFABOOT
1187         select BOARD_LATE_INIT
1188         help
1189           Support for NXP LX2160AQDS platform.
1190           The lx2160aqds (LX2160A QorIQ Development System (QDS)
1191           is a high-performance development platform that supports the
1192           QorIQ LX2160A/LX2120A/LX2080A Layerscape Architecture processor.
1193
1194 config TARGET_HIKEY
1195         bool "Support HiKey 96boards Consumer Edition Platform"
1196         select ARM64
1197         select DM
1198         select DM_GPIO
1199         select DM_SERIAL
1200         select OF_CONTROL
1201         select PL01X_SERIAL
1202         select SPECIFY_CONSOLE_INDEX
1203         imply CMD_DM
1204           help
1205           Support for HiKey 96boards platform. It features a HI6220
1206           SoC, with 8xA53 CPU, mali450 gpu, and 1GB RAM.
1207
1208 config TARGET_POPLAR
1209         bool "Support Poplar 96boards Enterprise Edition Platform"
1210         select ARM64
1211         select DM
1212         select DM_SERIAL
1213         select DM_USB
1214         select OF_CONTROL
1215         select PL01X_SERIAL
1216         imply CMD_DM
1217           help
1218           Support for Poplar 96boards EE platform. It features a HI3798cv200
1219           SoC, with 4xA53 CPU, 1GB RAM and the high performance Mali T720 GPU
1220           making it capable of running any commercial set-top solution based on
1221           Linux or Android.
1222
1223 config TARGET_LS1012AQDS
1224         bool "Support ls1012aqds"
1225         select ARCH_LS1012A
1226         select ARM64
1227         select ARCH_SUPPORT_TFABOOT
1228         select BOARD_LATE_INIT
1229         help
1230           Support for Freescale LS1012AQDS platform.
1231           The LS1012A Development System (QDS) is a high-performance
1232           development platform that supports the QorIQ LS1012A
1233           Layerscape Architecture processor.
1234
1235 config TARGET_LS1012ARDB
1236         bool "Support ls1012ardb"
1237         select ARCH_LS1012A
1238         select ARM64
1239         select ARCH_SUPPORT_TFABOOT
1240         select BOARD_LATE_INIT
1241         imply SCSI
1242         imply SCSI_AHCI
1243         help
1244           Support for Freescale LS1012ARDB platform.
1245           The LS1012A Reference design board (RDB) is a high-performance
1246           development platform that supports the QorIQ LS1012A
1247           Layerscape Architecture processor.
1248
1249 config TARGET_LS1012A2G5RDB
1250         bool "Support ls1012a2g5rdb"
1251         select ARCH_LS1012A
1252         select ARM64
1253         select ARCH_SUPPORT_TFABOOT
1254         select BOARD_LATE_INIT
1255         imply SCSI
1256         help
1257           Support for Freescale LS1012A2G5RDB platform.
1258           The LS1012A 2G5 Reference design board (RDB) is a high-performance
1259           development platform that supports the QorIQ LS1012A
1260           Layerscape Architecture processor.
1261
1262 config TARGET_LS1012AFRWY
1263         bool "Support ls1012afrwy"
1264         select ARCH_LS1012A
1265         select ARM64
1266         select ARCH_SUPPORT_TFABOOT
1267         select BOARD_LATE_INIT
1268         imply SCSI
1269         imply SCSI_AHCI
1270         help
1271          Support for Freescale LS1012AFRWY platform.
1272          The LS1012A FRWY board (FRWY) is a high-performance
1273          development platform that supports the QorIQ LS1012A
1274          Layerscape Architecture processor.
1275
1276 config TARGET_LS1012AFRDM
1277         bool "Support ls1012afrdm"
1278         select ARCH_LS1012A
1279         select ARM64
1280         select ARCH_SUPPORT_TFABOOT
1281         help
1282           Support for Freescale LS1012AFRDM platform.
1283           The LS1012A Freedom  board (FRDM) is a high-performance
1284           development platform that supports the QorIQ LS1012A
1285           Layerscape Architecture processor.
1286
1287 config TARGET_LS1028AQDS
1288         bool "Support ls1028aqds"
1289         select ARCH_LS1028A
1290         select ARM64
1291         select ARMV8_MULTIENTRY
1292         select ARCH_SUPPORT_TFABOOT
1293         help
1294           Support for Freescale LS1028AQDS platform
1295           The LS1028A Development System (QDS) is a high-performance
1296           development platform that supports the QorIQ LS1028A
1297           Layerscape Architecture processor.
1298
1299 config TARGET_LS1028ARDB
1300         bool "Support ls1028ardb"
1301         select ARCH_LS1028A
1302         select ARM64
1303         select ARMV8_MULTIENTRY
1304         select ARCH_SUPPORT_TFABOOT
1305         help
1306           Support for Freescale LS1028ARDB platform
1307           The LS1028A Development System (RDB) is a high-performance
1308           development platform that supports the QorIQ LS1028A
1309           Layerscape Architecture processor.
1310
1311 config TARGET_LS1088ARDB
1312         bool "Support ls1088ardb"
1313         select ARCH_LS1088A
1314         select ARCH_MISC_INIT
1315         select ARM64
1316         select ARMV8_MULTIENTRY
1317         select ARCH_SUPPORT_TFABOOT
1318         select BOARD_LATE_INIT
1319         select SUPPORT_SPL
1320         select FSL_DDR_INTERACTIVE if !SD_BOOT
1321         help
1322           Support for NXP LS1088ARDB platform.
1323           The LS1088A Reference design board (RDB) is a high-performance
1324           development platform that supports the QorIQ LS1088A
1325           Layerscape Architecture processor.
1326
1327 config TARGET_LS1021AQDS
1328         bool "Support ls1021aqds"
1329         select ARCH_LS1021A
1330         select ARCH_SUPPORT_PSCI
1331         select BOARD_EARLY_INIT_F
1332         select BOARD_LATE_INIT
1333         select CPU_V7A
1334         select CPU_V7_HAS_NONSEC
1335         select CPU_V7_HAS_VIRT
1336         select LS1_DEEP_SLEEP
1337         select SUPPORT_SPL
1338         select SYS_FSL_DDR
1339         select FSL_DDR_INTERACTIVE
1340         imply SCSI
1341
1342 config TARGET_LS1021ATWR
1343         bool "Support ls1021atwr"
1344         select ARCH_LS1021A
1345         select ARCH_SUPPORT_PSCI
1346         select BOARD_EARLY_INIT_F
1347         select BOARD_LATE_INIT
1348         select CPU_V7A
1349         select CPU_V7_HAS_NONSEC
1350         select CPU_V7_HAS_VIRT
1351         select LS1_DEEP_SLEEP
1352         select SUPPORT_SPL
1353         imply SCSI
1354
1355 config TARGET_LS1021AIOT
1356         bool "Support ls1021aiot"
1357         select ARCH_LS1021A
1358         select ARCH_SUPPORT_PSCI
1359         select BOARD_LATE_INIT
1360         select CPU_V7A
1361         select CPU_V7_HAS_NONSEC
1362         select CPU_V7_HAS_VIRT
1363         select SUPPORT_SPL
1364         imply SCSI
1365         help
1366           Support for Freescale LS1021AIOT platform.
1367           The LS1021A Freescale board (IOT) is a high-performance
1368           development platform that supports the QorIQ LS1021A
1369           Layerscape Architecture processor.
1370
1371 config TARGET_LS1043AQDS
1372         bool "Support ls1043aqds"
1373         select ARCH_LS1043A
1374         select ARM64
1375         select ARMV8_MULTIENTRY
1376         select ARCH_SUPPORT_TFABOOT
1377         select BOARD_EARLY_INIT_F
1378         select BOARD_LATE_INIT
1379         select SUPPORT_SPL
1380         select FSL_DDR_INTERACTIVE if !SPL
1381         imply SCSI
1382         imply SCSI_AHCI
1383         help
1384           Support for Freescale LS1043AQDS platform.
1385
1386 config TARGET_LS1043ARDB
1387         bool "Support ls1043ardb"
1388         select ARCH_LS1043A
1389         select ARM64
1390         select ARMV8_MULTIENTRY
1391         select ARCH_SUPPORT_TFABOOT
1392         select BOARD_EARLY_INIT_F
1393         select BOARD_LATE_INIT
1394         select SUPPORT_SPL
1395         help
1396           Support for Freescale LS1043ARDB platform.
1397
1398 config TARGET_LS1046AQDS
1399         bool "Support ls1046aqds"
1400         select ARCH_LS1046A
1401         select ARM64
1402         select ARMV8_MULTIENTRY
1403         select ARCH_SUPPORT_TFABOOT
1404         select BOARD_EARLY_INIT_F
1405         select BOARD_LATE_INIT
1406         select DM_SPI_FLASH if DM_SPI
1407         select SUPPORT_SPL
1408         select FSL_DDR_BIST if !SPL
1409         select FSL_DDR_INTERACTIVE  if !SPL
1410         select FSL_DDR_INTERACTIVE if !SPL
1411         imply SCSI
1412         help
1413           Support for Freescale LS1046AQDS platform.
1414           The LS1046A Development System (QDS) is a high-performance
1415           development platform that supports the QorIQ LS1046A
1416           Layerscape Architecture processor.
1417
1418 config TARGET_LS1046ARDB
1419         bool "Support ls1046ardb"
1420         select ARCH_LS1046A
1421         select ARM64
1422         select ARMV8_MULTIENTRY
1423         select ARCH_SUPPORT_TFABOOT
1424         select BOARD_EARLY_INIT_F
1425         select BOARD_LATE_INIT
1426         select DM_SPI_FLASH if DM_SPI
1427         select POWER_MC34VR500
1428         select SUPPORT_SPL
1429         select FSL_DDR_BIST
1430         select FSL_DDR_INTERACTIVE if !SPL
1431         imply SCSI
1432         help
1433           Support for Freescale LS1046ARDB platform.
1434           The LS1046A Reference Design Board (RDB) is a high-performance
1435           development platform that supports the QorIQ LS1046A
1436           Layerscape Architecture processor.
1437
1438 config TARGET_LS1046AFRWY
1439         bool "Support ls1046afrwy"
1440         select ARCH_LS1046A
1441         select ARM64
1442         select ARMV8_MULTIENTRY
1443         select ARCH_SUPPORT_TFABOOT
1444         select BOARD_EARLY_INIT_F
1445         select BOARD_LATE_INIT
1446         select DM_SPI_FLASH if DM_SPI
1447         imply SCSI
1448         help
1449           Support for Freescale LS1046AFRWY platform.
1450           The LS1046A Freeway Board (FRWY) is a high-performance
1451           development platform that supports the QorIQ LS1046A
1452           Layerscape Architecture processor.
1453 config TARGET_H2200
1454         bool "Support h2200"
1455         select CPU_PXA
1456
1457 config TARGET_COLIBRI_PXA270
1458         bool "Support colibri_pxa270"
1459         select CPU_PXA
1460
1461 config ARCH_UNIPHIER
1462         bool "Socionext UniPhier SoCs"
1463         select BOARD_LATE_INIT
1464         select DM
1465         select DM_GPIO
1466         select DM_I2C
1467         select DM_MMC
1468         select DM_RESET
1469         select DM_SERIAL
1470         select DM_USB
1471         select OF_BOARD_SETUP
1472         select OF_CONTROL
1473         select OF_LIBFDT
1474         select PINCTRL
1475         select SPL_BOARD_INIT if SPL
1476         select SPL_DM if SPL
1477         select SPL_LIBCOMMON_SUPPORT if SPL
1478         select SPL_LIBGENERIC_SUPPORT if SPL
1479         select SPL_OF_CONTROL if SPL
1480         select SPL_PINCTRL if SPL
1481         select SUPPORT_SPL
1482         imply CMD_DM
1483         imply DISTRO_DEFAULTS
1484         imply FAT_WRITE
1485         help
1486           Support for UniPhier SoC family developed by Socionext Inc.
1487           (formerly, System LSI Business Division of Panasonic Corporation)
1488
1489 config STM32
1490         bool "Support STMicroelectronics STM32 MCU with cortex M"
1491         select CPU_V7M
1492         select DM
1493         select DM_SERIAL
1494         imply CMD_DM
1495
1496 config ARCH_STI
1497         bool "Support STMicrolectronics SoCs"
1498         select BLK
1499         select CPU_V7A
1500         select DM
1501         select DM_MMC
1502         select DM_RESET
1503         select DM_SERIAL
1504         imply CMD_DM
1505         help
1506           Support for STMicroelectronics STiH407/10 SoC family.
1507           This SoC is used on Linaro 96Board STiH410-B2260
1508
1509 config ARCH_STM32MP
1510         bool "Support STMicroelectronics STM32MP Socs with cortex A"
1511         select ARCH_MISC_INIT
1512         select BOARD_LATE_INIT
1513         select CLK
1514         select DM
1515         select DM_GPIO
1516         select DM_RESET
1517         select DM_SERIAL
1518         select MISC
1519         select OF_CONTROL
1520         select OF_LIBFDT
1521         select OF_SYSTEM_SETUP
1522         select PINCTRL
1523         select REGMAP
1524         select SUPPORT_SPL
1525         select SYSCON
1526         select SYSRESET
1527         select SYS_THUMB_BUILD
1528         imply SPL_SYSRESET
1529         imply CMD_DM
1530         imply CMD_POWEROFF
1531         imply ENV_VARS_UBOOT_RUNTIME_CONFIG
1532         imply USE_PREBOOT
1533         help
1534           Support for STM32MP SoC family developed by STMicroelectronics,
1535           MPUs based on ARM cortex A core
1536           U-BOOT is running in DDR, loaded by the First Stage BootLoader (FSBL).
1537           FSBL can be TF-A: Trusted Firmware for Cortex A, for trusted boot
1538           chain.
1539           SPL is the unsecure FSBL for the basic boot chain.
1540
1541 config ARCH_ROCKCHIP
1542         bool "Support Rockchip SoCs"
1543         select BLK
1544         select DM
1545         select DM_GPIO
1546         select DM_I2C
1547         select DM_MMC
1548         select DM_PWM
1549         select DM_REGULATOR
1550         select DM_SERIAL
1551         select DM_SPI
1552         select DM_SPI_FLASH
1553         select DM_USB if USB
1554         select ENABLE_ARM_SOC_BOOT0_HOOK
1555         select OF_CONTROL
1556         select SPI
1557         select SPL_DM if SPL
1558         select SPL_SYS_MALLOC_SIMPLE if SPL
1559         select SYS_MALLOC_F
1560         select SYS_THUMB_BUILD if !ARM64
1561         imply ADC
1562         imply CMD_DM
1563         imply DEBUG_UART_BOARD_INIT
1564         imply DISTRO_DEFAULTS
1565         imply FAT_WRITE
1566         imply SARADC_ROCKCHIP
1567         imply SPL_SYSRESET
1568         imply SYS_NS16550
1569         imply TPL_SYSRESET
1570         imply USB_FUNCTION_FASTBOOT
1571
1572 config TARGET_THUNDERX_88XX
1573         bool "Support ThunderX 88xx"
1574         select ARM64
1575         select OF_CONTROL
1576         select PL01X_SERIAL
1577         select SYS_CACHE_SHIFT_7
1578
1579 config ARCH_ASPEED
1580         bool "Support Aspeed SoCs"
1581         select DM
1582         select OF_CONTROL
1583         imply CMD_DM
1584
1585 endchoice
1586
1587 config ARCH_SUPPORT_TFABOOT
1588         bool
1589
1590 config TFABOOT
1591         bool "Support for booting from TF-A"
1592         depends on ARCH_SUPPORT_TFABOOT
1593         default n
1594         help
1595           Enabling this will make a U-Boot binary that is capable of being
1596           booted via TF-A.
1597
1598 config TI_SECURE_DEVICE
1599         bool "HS Device Type Support"
1600         depends on ARCH_KEYSTONE || ARCH_OMAP2PLUS || ARCH_K3
1601         help
1602           If a high secure (HS) device type is being used, this config
1603           must be set. This option impacts various aspects of the
1604           build system (to create signed boot images that can be
1605           authenticated) and the code. See the doc/README.ti-secure
1606           file for further details.
1607
1608 if AM43XX || AM33XX || OMAP54XX || ARCH_KEYSTONE
1609 config ISW_ENTRY_ADDR
1610         hex "Address in memory or XIP address of bootloader entry point"
1611         default 0x402F4000 if AM43XX
1612         default 0x402F0400 if AM33XX
1613         default 0x40301350 if OMAP54XX
1614         help
1615           After any reset, the boot ROM searches the boot media for a valid
1616           boot image. For non-XIP devices, the ROM then copies the image into
1617           internal memory. For all boot modes, after the ROM processes the
1618           boot image it eventually computes the entry point address depending
1619           on the device type (secure/non-secure), boot media (xip/non-xip) and
1620           image headers.
1621 endif
1622
1623 source "arch/arm/mach-aspeed/Kconfig"
1624
1625 source "arch/arm/mach-at91/Kconfig"
1626
1627 source "arch/arm/mach-bcm283x/Kconfig"
1628
1629 source "arch/arm/mach-bcmstb/Kconfig"
1630
1631 source "arch/arm/mach-davinci/Kconfig"
1632
1633 source "arch/arm/mach-exynos/Kconfig"
1634
1635 source "arch/arm/mach-highbank/Kconfig"
1636
1637 source "arch/arm/mach-integrator/Kconfig"
1638
1639 source "arch/arm/mach-k3/Kconfig"
1640
1641 source "arch/arm/mach-keystone/Kconfig"
1642
1643 source "arch/arm/mach-kirkwood/Kconfig"
1644
1645 source "arch/arm/cpu/arm926ejs/lpc32xx/Kconfig"
1646
1647 source "arch/arm/mach-mvebu/Kconfig"
1648
1649 source "arch/arm/cpu/armv7/ls102xa/Kconfig"
1650
1651 source "arch/arm/mach-imx/mx2/Kconfig"
1652
1653 source "arch/arm/mach-imx/mx3/Kconfig"
1654
1655 source "arch/arm/mach-imx/mx5/Kconfig"
1656
1657 source "arch/arm/mach-imx/mx6/Kconfig"
1658
1659 source "arch/arm/mach-imx/mx7/Kconfig"
1660
1661 source "arch/arm/mach-imx/mx7ulp/Kconfig"
1662
1663 source "arch/arm/mach-imx/imx8/Kconfig"
1664
1665 source "arch/arm/mach-imx/imx8m/Kconfig"
1666
1667 source "arch/arm/mach-imx/mxs/Kconfig"
1668
1669 source "arch/arm/mach-omap2/Kconfig"
1670
1671 source "arch/arm/cpu/armv8/fsl-layerscape/Kconfig"
1672
1673 source "arch/arm/mach-orion5x/Kconfig"
1674
1675 source "arch/arm/mach-owl/Kconfig"
1676
1677 source "arch/arm/mach-rmobile/Kconfig"
1678
1679 source "arch/arm/mach-meson/Kconfig"
1680
1681 source "arch/arm/mach-mediatek/Kconfig"
1682
1683 source "arch/arm/mach-qemu/Kconfig"
1684
1685 source "arch/arm/mach-rockchip/Kconfig"
1686
1687 source "arch/arm/mach-s5pc1xx/Kconfig"
1688
1689 source "arch/arm/mach-snapdragon/Kconfig"
1690
1691 source "arch/arm/mach-socfpga/Kconfig"
1692
1693 source "arch/arm/mach-sti/Kconfig"
1694
1695 source "arch/arm/mach-stm32/Kconfig"
1696
1697 source "arch/arm/mach-stm32mp/Kconfig"
1698
1699 source "arch/arm/mach-sunxi/Kconfig"
1700
1701 source "arch/arm/mach-tegra/Kconfig"
1702
1703 source "arch/arm/mach-uniphier/Kconfig"
1704
1705 source "arch/arm/cpu/armv7/vf610/Kconfig"
1706
1707 source "arch/arm/mach-zynq/Kconfig"
1708
1709 source "arch/arm/mach-zynqmp/Kconfig"
1710
1711 source "arch/arm/mach-versal/Kconfig"
1712
1713 source "arch/arm/mach-zynqmp-r5/Kconfig"
1714
1715 source "arch/arm/cpu/armv7/Kconfig"
1716
1717 source "arch/arm/cpu/armv8/Kconfig"
1718
1719 source "arch/arm/mach-imx/Kconfig"
1720
1721 source "board/bosch/shc/Kconfig"
1722 source "board/bosch/guardian/Kconfig"
1723 source "board/CarMediaLab/flea3/Kconfig"
1724 source "board/Marvell/aspenite/Kconfig"
1725 source "board/Marvell/gplugd/Kconfig"
1726 source "board/armadeus/apf27/Kconfig"
1727 source "board/armltd/vexpress/Kconfig"
1728 source "board/armltd/vexpress64/Kconfig"
1729 source "board/broadcom/bcm23550_w1d/Kconfig"
1730 source "board/broadcom/bcm28155_ap/Kconfig"
1731 source "board/broadcom/bcm963158/Kconfig"
1732 source "board/broadcom/bcm968580xref/Kconfig"
1733 source "board/broadcom/bcmcygnus/Kconfig"
1734 source "board/broadcom/bcmnsp/Kconfig"
1735 source "board/broadcom/bcmns2/Kconfig"
1736 source "board/cavium/thunderx/Kconfig"
1737 source "board/cirrus/edb93xx/Kconfig"
1738 source "board/eets/pdu001/Kconfig"
1739 source "board/emulation/qemu-arm/Kconfig"
1740 source "board/freescale/ls2080a/Kconfig"
1741 source "board/freescale/ls2080aqds/Kconfig"
1742 source "board/freescale/ls2080ardb/Kconfig"
1743 source "board/freescale/ls1088a/Kconfig"
1744 source "board/freescale/ls1028a/Kconfig"
1745 source "board/freescale/ls1021aqds/Kconfig"
1746 source "board/freescale/ls1043aqds/Kconfig"
1747 source "board/freescale/ls1021atwr/Kconfig"
1748 source "board/freescale/ls1021aiot/Kconfig"
1749 source "board/freescale/ls1046aqds/Kconfig"
1750 source "board/freescale/ls1043ardb/Kconfig"
1751 source "board/freescale/ls1046ardb/Kconfig"
1752 source "board/freescale/ls1046afrwy/Kconfig"
1753 source "board/freescale/ls1012aqds/Kconfig"
1754 source "board/freescale/ls1012ardb/Kconfig"
1755 source "board/freescale/ls1012afrdm/Kconfig"
1756 source "board/freescale/lx2160a/Kconfig"
1757 source "board/freescale/mx35pdk/Kconfig"
1758 source "board/freescale/s32v234evb/Kconfig"
1759 source "board/grinn/chiliboard/Kconfig"
1760 source "board/gumstix/pepper/Kconfig"
1761 source "board/h2200/Kconfig"
1762 source "board/hisilicon/hikey/Kconfig"
1763 source "board/hisilicon/poplar/Kconfig"
1764 source "board/isee/igep003x/Kconfig"
1765 source "board/phytec/pcm051/Kconfig"
1766 source "board/silica/pengwyn/Kconfig"
1767 source "board/spear/spear300/Kconfig"
1768 source "board/spear/spear310/Kconfig"
1769 source "board/spear/spear320/Kconfig"
1770 source "board/spear/spear600/Kconfig"
1771 source "board/spear/x600/Kconfig"
1772 source "board/st/stv0991/Kconfig"
1773 source "board/tcl/sl50/Kconfig"
1774 source "board/ucRobotics/bubblegum_96/Kconfig"
1775 source "board/birdland/bav335x/Kconfig"
1776 source "board/toradex/colibri_pxa270/Kconfig"
1777 source "board/variscite/dart_6ul/Kconfig"
1778 source "board/vscom/baltos/Kconfig"
1779 source "board/woodburn/Kconfig"
1780 source "board/xilinx/Kconfig"
1781 source "board/xilinx/zynq/Kconfig"
1782 source "board/xilinx/zynqmp/Kconfig"
1783
1784 source "arch/arm/Kconfig.debug"
1785
1786 endmenu
1787
1788 config SPL_LDSCRIPT
1789         default "arch/arm/cpu/arm926ejs/mxs/u-boot-spl.lds" if (ARCH_MX23 || ARCH_MX28) && !SPL_FRAMEWORK
1790         default "arch/arm/cpu/arm1136/u-boot-spl.lds" if CPU_ARM1136
1791         default "arch/arm/cpu/armv8/u-boot-spl.lds" if ARM64
1792
1793