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