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