]> git.sur5r.net Git - u-boot/blob - arch/arm/Kconfig
30a6f6dc538a9d3886b1b0aadae5ae2902b2f519
[u-boot] / arch / arm / Kconfig
1 menu "ARM architecture"
2         depends on ARM
3
4 config SYS_ARCH
5         default "arm"
6
7 config ARM64
8         bool
9         select PHYS_64BIT
10         select SYS_CACHE_SHIFT_6
11
12 if ARM64
13 config POSITION_INDEPENDENT
14         bool "Generate position-independent pre-relocation code"
15         help
16           U-Boot expects to be linked to a specific hard-coded address, and to
17           be loaded to and run from that address. This option lifts that
18           restriction, thus allowing the code to be loaded to and executed
19           from almost any address. This logic relies on the relocation
20           information that is embedded into the binary to support U-Boot
21           relocating itself to the top-of-RAM later during execution.
22
23 config SYS_INIT_SP_BSS_OFFSET
24         int
25         help
26           U-Boot typically uses a hard-coded value for the stack pointer
27           before relocation. Define this option to instead calculate the
28           initial SP at run-time. This is useful to avoid hard-coding addresses
29           into U-Boot, so that can be loaded and executed at arbitrary
30           addresses and thus avoid using arbitrary addresses at runtime. This
31           option's value is the offset added to &_bss_start in order to
32           calculate the stack pointer. This offset should be large enough so
33           that the early malloc region, global data (gd), and early stack usage
34           do not overlap any appended DTB.
35
36 config LINUX_KERNEL_IMAGE_HEADER
37         bool
38         help
39           Place a Linux kernel image header at the start of the U-Boot binary.
40           The format of the header is described in the Linux kernel source at
41           Documentation/arm64/booting.txt. This feature is useful since the
42           image header reports the amount of memory (BSS and similar) that
43           U-Boot needs to use, but which isn't part of the binary.
44
45 if LINUX_KERNEL_IMAGE_HEADER
46 config LNX_KRNL_IMG_TEXT_OFFSET_BASE
47         hex
48         help
49           The value subtracted from CONFIG_SYS_TEXT_BASE to calculate the
50           TEXT_OFFSET value written in to the Linux kernel image header.
51 endif
52 endif
53
54 config STATIC_RELA
55         bool
56         default y if ARM64 && !POSITION_INDEPENDENT
57
58 config DMA_ADDR_T_64BIT
59         bool
60         default y if ARM64
61
62 config HAS_VBAR
63         bool
64
65 config HAS_THUMB2
66         bool
67
68 # Used for compatibility with asm files copied from the kernel
69 config ARM_ASM_UNIFIED
70         bool
71         default y
72
73 # Used for compatibility with asm files copied from the kernel
74 config THUMB2_KERNEL
75         bool
76
77 # If set, the workarounds for these ARM errata are applied early during U-Boot
78 # startup. Note that in general these options force the workarounds to be
79 # applied; no CPU-type/version detection exists, unlike the similar options in
80 # the Linux kernel. Do not set these options unless they apply!  Also note that
81 # the following can be machine specific errata. These do have ability to
82 # provide rudimentary version and machine specific checks, but expect no
83 # product checks:
84 # CONFIG_ARM_ERRATA_430973
85 # CONFIG_ARM_ERRATA_454179
86 # CONFIG_ARM_ERRATA_621766
87 # CONFIG_ARM_ERRATA_798870
88 # CONFIG_ARM_ERRATA_801819
89 config ARM_ERRATA_430973
90         bool
91
92 config ARM_ERRATA_454179
93         bool
94
95 config ARM_ERRATA_621766
96         bool
97
98 config ARM_ERRATA_716044
99         bool
100
101 config ARM_ERRATA_725233
102         bool
103
104 config ARM_ERRATA_742230
105         bool
106
107 config ARM_ERRATA_743622
108         bool
109
110 config ARM_ERRATA_751472
111         bool
112
113 config ARM_ERRATA_761320
114         bool
115
116 config ARM_ERRATA_773022
117         bool
118
119 config ARM_ERRATA_774769
120         bool
121
122 config ARM_ERRATA_794072
123         bool
124
125 config ARM_ERRATA_798870
126         bool
127
128 config ARM_ERRATA_801819
129         bool
130
131 config ARM_ERRATA_826974
132         bool
133
134 config ARM_ERRATA_828024
135         bool
136
137 config ARM_ERRATA_829520
138         bool
139
140 config ARM_ERRATA_833069
141         bool
142
143 config ARM_ERRATA_833471
144         bool
145
146 config ARM_ERRATA_845369
147        bool
148
149 config ARM_ERRATA_852421
150         bool
151
152 config ARM_ERRATA_852423
153         bool
154
155 config ARM_ERRATA_855873
156         bool
157
158 config CPU_ARM720T
159         bool
160         select SYS_CACHE_SHIFT_5
161
162 config CPU_ARM920T
163         bool
164         select SYS_CACHE_SHIFT_5
165
166 config CPU_ARM926EJS
167         bool
168         select SYS_CACHE_SHIFT_5
169
170 config CPU_ARM946ES
171         bool
172         select SYS_CACHE_SHIFT_5
173
174 config CPU_ARM1136
175         bool
176         select SYS_CACHE_SHIFT_5
177
178 config CPU_ARM1176
179         bool
180         select HAS_VBAR
181         select SYS_CACHE_SHIFT_5
182
183 config CPU_V7
184         bool
185         select HAS_VBAR
186         select HAS_THUMB2
187         select SYS_CACHE_SHIFT_6
188
189 config CPU_V7M
190         bool
191         select HAS_THUMB2
192         select THUMB2_KERNEL
193         select SYS_CACHE_SHIFT_5
194
195 config CPU_PXA
196         bool
197         select SYS_CACHE_SHIFT_5
198
199 config CPU_SA1100
200         bool
201         select SYS_CACHE_SHIFT_5
202
203 config SYS_CPU
204         default "arm720t" if CPU_ARM720T
205         default "arm920t" if CPU_ARM920T
206         default "arm926ejs" if CPU_ARM926EJS
207         default "arm946es" if CPU_ARM946ES
208         default "arm1136" if CPU_ARM1136
209         default "arm1176" if CPU_ARM1176
210         default "armv7" if CPU_V7
211         default "armv7m" if CPU_V7M
212         default "pxa" if CPU_PXA
213         default "sa1100" if CPU_SA1100
214         default "armv8" if ARM64
215
216 config SYS_ARM_ARCH
217         int
218         default 4 if CPU_ARM720T
219         default 4 if CPU_ARM920T
220         default 5 if CPU_ARM926EJS
221         default 5 if CPU_ARM946ES
222         default 6 if CPU_ARM1136
223         default 6 if CPU_ARM1176
224         default 7 if CPU_V7
225         default 7 if CPU_V7M
226         default 5 if CPU_PXA
227         default 4 if CPU_SA1100
228         default 8 if ARM64
229
230 config SYS_CACHE_SHIFT_5
231         bool
232
233 config SYS_CACHE_SHIFT_6
234         bool
235
236 config SYS_CACHE_SHIFT_7
237         bool
238
239 config SYS_CACHELINE_SIZE
240         int
241         default 128 if SYS_CACHE_SHIFT_7
242         default 64 if SYS_CACHE_SHIFT_6
243         default 32 if SYS_CACHE_SHIFT_5
244
245 config ARM_SMCCC
246         bool "Support for ARM SMC Calling Convention (SMCCC)"
247         depends on CPU_V7 || ARM64
248         select ARM_PSCI_FW
249         help
250           Say Y here if you want to enable ARM SMC Calling Convention.
251           This should be enabled if U-Boot needs to communicate with system
252           firmware (for example, PSCI) according to SMCCC.
253
254 config SEMIHOSTING
255         bool "support boot from semihosting"
256         help
257           In emulated environments, semihosting is a way for
258           the hosted environment to call out to the emulator to
259           retrieve files from the host machine.
260
261 config SYS_THUMB_BUILD
262         bool "Build U-Boot using the Thumb instruction set"
263         depends on !ARM64
264         help
265            Use this flag to build U-Boot using the Thumb instruction set for
266            ARM architectures. Thumb instruction set provides better code
267            density. For ARM architectures that support Thumb2 this flag will
268            result in Thumb2 code generated by GCC.
269
270 config SPL_SYS_THUMB_BUILD
271         bool "Build SPL using the Thumb instruction set"
272         default y if SYS_THUMB_BUILD
273         depends on !ARM64
274         help
275            Use this flag to build SPL using the Thumb instruction set for
276            ARM architectures. Thumb instruction set provides better code
277            density. For ARM architectures that support Thumb2 this flag will
278            result in Thumb2 code generated by GCC.
279
280 config SYS_L2CACHE_OFF
281         bool "L2cache off"
282         help
283           If SoC does not support L2CACHE or one do not want to enable
284           L2CACHE, choose this option.
285
286 config ENABLE_ARM_SOC_BOOT0_HOOK
287         bool "prepare BOOT0 header"
288         help
289           If the SoC's BOOT0 requires a header area filled with (magic)
290           values, then choose this option, and create a define called
291           ARM_SOC_BOOT0_HOOK which contains the required assembler
292           preprocessor code.
293
294 config ARM_CORTEX_CPU_IS_UP
295         bool
296         default n
297
298 config USE_ARCH_MEMCPY
299         bool "Use an assembly optimized implementation of memcpy"
300         default y
301         depends on !ARM64
302         help
303           Enable the generation of an optimized version of memcpy.
304           Such implementation may be faster under some conditions
305           but may increase the binary size.
306
307 config SPL_USE_ARCH_MEMCPY
308         bool "Use an assembly optimized implementation of memcpy for SPL"
309         default y if USE_ARCH_MEMCPY
310         depends on !ARM64
311         help
312           Enable the generation of an optimized version of memcpy.
313           Such implementation may be faster under some conditions
314           but may increase the binary size.
315
316 config USE_ARCH_MEMSET
317         bool "Use an assembly optimized implementation of memset"
318         default y
319         depends on !ARM64
320         help
321           Enable the generation of an optimized version of memset.
322           Such implementation may be faster under some conditions
323           but may increase the binary size.
324
325 config SPL_USE_ARCH_MEMSET
326         bool "Use an assembly optimized implementation of memset for SPL"
327         default y if USE_ARCH_MEMSET
328         depends on !ARM64
329         help
330           Enable the generation of an optimized version of memset.
331           Such implementation may be faster under some conditions
332           but may increase the binary size.
333
334 config ARM64_SUPPORT_AARCH32
335         bool "ARM64 system support AArch32 execution state"
336         default y if ARM64 && !TARGET_THUNDERX_88XX
337         help
338           This ARM64 system supports AArch32 execution state.
339
340 choice
341         prompt "Target select"
342         default TARGET_HIKEY
343
344 config ARCH_AT91
345         bool "Atmel AT91"
346         select SPL_BOARD_INIT if SPL
347
348 config TARGET_EDB93XX
349         bool "Support edb93xx"
350         select CPU_ARM920T
351         select PL010_SERIAL
352
353 config TARGET_ASPENITE
354         bool "Support aspenite"
355         select CPU_ARM926EJS
356
357 config TARGET_GPLUGD
358         bool "Support gplugd"
359         select CPU_ARM926EJS
360
361 config ARCH_DAVINCI
362         bool "TI DaVinci"
363         select CPU_ARM926EJS
364         imply CMD_SAVES
365         help
366           Support for TI's DaVinci platform.
367
368 config KIRKWOOD
369         bool "Marvell Kirkwood"
370         select CPU_ARM926EJS
371         select BOARD_EARLY_INIT_F
372         select ARCH_MISC_INIT
373
374 config ARCH_MVEBU
375         bool "Marvell MVEBU family (Armada XP/375/38x/3700/7K/8K)"
376         select OF_CONTROL
377         select OF_SEPARATE
378         select DM
379         select DM_ETH
380         select DM_SERIAL
381         select DM_SPI
382         select DM_SPI_FLASH
383
384 config TARGET_DEVKIT3250
385         bool "Support devkit3250"
386         select CPU_ARM926EJS
387         select SUPPORT_SPL
388
389 config TARGET_WORK_92105
390         bool "Support work_92105"
391         select CPU_ARM926EJS
392         select SUPPORT_SPL
393
394 config TARGET_APF27
395         bool "Support apf27"
396         select CPU_ARM926EJS
397         select SUPPORT_SPL
398
399 config TARGET_APX4DEVKIT
400         bool "Support apx4devkit"
401         select CPU_ARM926EJS
402         select SUPPORT_SPL
403         select PL011_SERIAL
404
405 config TARGET_XFI3
406         bool "Support xfi3"
407         select CPU_ARM926EJS
408         select SUPPORT_SPL
409         select PL011_SERIAL
410
411 config TARGET_M28EVK
412         bool "Support m28evk"
413         select CPU_ARM926EJS
414         select SUPPORT_SPL
415         select PL011_SERIAL
416
417 config TARGET_MX23EVK
418         bool "Support mx23evk"
419         select CPU_ARM926EJS
420         select SUPPORT_SPL
421         select BOARD_EARLY_INIT_F
422         select PL011_SERIAL
423
424 config TARGET_MX28EVK
425         bool "Support mx28evk"
426         select CPU_ARM926EJS
427         select SUPPORT_SPL
428         select BOARD_EARLY_INIT_F
429         select PL011_SERIAL
430
431 config TARGET_MX23_OLINUXINO
432         bool "Support mx23_olinuxino"
433         select CPU_ARM926EJS
434         select SUPPORT_SPL
435         select BOARD_EARLY_INIT_F
436         select PL011_SERIAL
437
438 config TARGET_BG0900
439         bool "Support bg0900"
440         select CPU_ARM926EJS
441         select SUPPORT_SPL
442         select PL011_SERIAL
443
444 config TARGET_SANSA_FUZE_PLUS
445         bool "Support sansa_fuze_plus"
446         select CPU_ARM926EJS
447         select SUPPORT_SPL
448         select PL011_SERIAL
449
450 config TARGET_SC_SPS_1
451         bool "Support sc_sps_1"
452         select CPU_ARM926EJS
453         select SUPPORT_SPL
454         select PL011_SERIAL
455
456 config ORION5X
457         bool "Marvell Orion"
458         select CPU_ARM926EJS
459
460 config TARGET_SPEAR300
461         bool "Support spear300"
462         select CPU_ARM926EJS
463         select BOARD_EARLY_INIT_F
464         imply CMD_SAVES
465         select PL011_SERIAL
466
467 config TARGET_SPEAR310
468         bool "Support spear310"
469         select CPU_ARM926EJS
470         select BOARD_EARLY_INIT_F
471         imply CMD_SAVES
472         select PL011_SERIAL
473
474 config TARGET_SPEAR320
475         bool "Support spear320"
476         select CPU_ARM926EJS
477         select BOARD_EARLY_INIT_F
478         imply CMD_SAVES
479         select PL011_SERIAL
480
481 config TARGET_SPEAR600
482         bool "Support spear600"
483         select CPU_ARM926EJS
484         select BOARD_EARLY_INIT_F
485         imply CMD_SAVES
486         select PL011_SERIAL
487
488 config TARGET_STV0991
489         bool "Support stv0991"
490         select CPU_V7
491         select DM
492         select DM_SERIAL
493         select DM_SPI
494         select DM_SPI_FLASH
495         select SPI_FLASH
496         select PL01X_SERIAL
497
498 config TARGET_X600
499         bool "Support x600"
500         select BOARD_LATE_INIT
501         select CPU_ARM926EJS
502         select SUPPORT_SPL
503         select PL011_SERIAL
504
505 config TARGET_IMX31_PHYCORE
506         bool "Support imx31_phycore_eet"
507         select CPU_ARM1136
508         select BOARD_EARLY_INIT_F
509
510 config TARGET_IMX31_PHYCORE_EET
511         bool "Support imx31_phycore_eet"
512         select BOARD_LATE_INIT
513         select CPU_ARM1136
514         select BOARD_EARLY_INIT_F
515
516 config TARGET_MX31ADS
517         bool "Support mx31ads"
518         select CPU_ARM1136
519         select BOARD_EARLY_INIT_F
520
521 config TARGET_MX31PDK
522         bool "Support mx31pdk"
523         select BOARD_LATE_INIT
524         select CPU_ARM1136
525         select SUPPORT_SPL
526         select BOARD_EARLY_INIT_F
527
528 config TARGET_WOODBURN
529         bool "Support woodburn"
530         select CPU_ARM1136
531
532 config TARGET_WOODBURN_SD
533         bool "Support woodburn_sd"
534         select CPU_ARM1136
535         select SUPPORT_SPL
536
537 config TARGET_FLEA3
538         bool "Support flea3"
539         select CPU_ARM1136
540
541 config TARGET_MX35PDK
542         bool "Support mx35pdk"
543         select BOARD_LATE_INIT
544         select CPU_ARM1136
545
546 config ARCH_BCM283X
547         bool "Broadcom BCM283X family"
548         select DM
549         select DM_SERIAL
550         select DM_GPIO
551         select OF_CONTROL
552         select PL01X_SERIAL
553         imply FAT_WRITE
554
555 config TARGET_VEXPRESS_CA15_TC2
556         bool "Support vexpress_ca15_tc2"
557         select CPU_V7
558         select CPU_V7_HAS_NONSEC
559         select CPU_V7_HAS_VIRT
560         select PL011_SERIAL
561
562 config TARGET_VEXPRESS_CA5X2
563         bool "Support vexpress_ca5x2"
564         select CPU_V7
565         select PL011_SERIAL
566
567 config TARGET_VEXPRESS_CA9X4
568         bool "Support vexpress_ca9x4"
569         select CPU_V7
570         select PL011_SERIAL
571
572 config TARGET_BCM23550_W1D
573         bool "Support bcm23550_w1d"
574         select CPU_V7
575         imply CRC32_VERIFY
576         imply FAT_WRITE
577
578 config TARGET_BCM28155_AP
579         bool "Support bcm28155_ap"
580         select CPU_V7
581         imply CRC32_VERIFY
582         imply FAT_WRITE
583
584 config TARGET_BCMCYGNUS
585         bool "Support bcmcygnus"
586         select CPU_V7
587         imply CRC32_VERIFY
588         imply CMD_HASH
589         imply FAT_WRITE
590         imply HASH_VERIFY
591         imply NETDEVICES
592         imply BCM_SF2_ETH
593         imply BCM_SF2_ETH_GMAC
594
595 config TARGET_BCMNSP
596         bool "Support bcmnsp"
597         select CPU_V7
598
599 config TARGET_BCMNS2
600         bool "Support Broadcom Northstar2"
601         select ARM64
602         help
603           Support for Broadcom Northstar 2 SoCs.  NS2 is a quad-core 64-bit
604           ARMv8 Cortex-A57 processors targeting a broad range of networking
605           applications
606
607 config ARCH_EXYNOS
608         bool "Samsung EXYNOS"
609         select DM
610         select DM_I2C
611         select DM_SPI_FLASH
612         select DM_SERIAL
613         select DM_SPI
614         select DM_GPIO
615         select DM_KEYBOARD
616         imply FAT_WRITE
617
618 config ARCH_S5PC1XX
619         bool "Samsung S5PC1XX"
620         select CPU_V7
621         select DM
622         select DM_SERIAL
623         select DM_GPIO
624         select DM_I2C
625
626 config ARCH_HIGHBANK
627         bool "Calxeda Highbank"
628         select CPU_V7
629         select PL011_SERIAL
630
631 config ARCH_INTEGRATOR
632         bool "ARM Ltd. Integrator family"
633         select DM
634         select DM_SERIAL
635         select PL01X_SERIAL
636
637 config ARCH_KEYSTONE
638         bool "TI Keystone"
639         select CPU_V7
640         select SUPPORT_SPL
641         select SYS_THUMB_BUILD
642         select CMD_POWEROFF
643         imply CMD_MTDPARTS
644         imply FIT
645         imply CMD_SAVES
646
647 config ARCH_OMAP2PLUS
648         bool "TI OMAP2+"
649         select CPU_V7
650         select SPL_BOARD_INIT if SPL
651         select SPL_STACK_R if SPL
652         select SUPPORT_SPL
653         imply FIT
654
655 config ARCH_MESON
656         bool "Amlogic Meson"
657         help
658           Support for the Meson SoC family developed by Amlogic Inc.,
659           targeted at media players and tablet computers. We currently
660           support the S905 (GXBaby) 64-bit SoC.
661
662 config ARCH_MX25
663         bool "NXP MX25"
664         select CPU_ARM926EJS
665
666 config ARCH_MX7ULP
667         bool "NXP MX7ULP"
668         select CPU_V7
669         select ROM_UNIFIED_SECTIONS
670
671 config ARCH_MX7
672         bool "Freescale MX7"
673         select CPU_V7
674         select SYS_FSL_HAS_SEC if SECURE_BOOT
675         select SYS_FSL_SEC_COMPAT_4
676         select SYS_FSL_SEC_LE
677         select BOARD_EARLY_INIT_F
678         select ARCH_MISC_INIT
679
680 config ARCH_MX6
681         bool "Freescale MX6"
682         select CPU_V7
683         select SYS_FSL_HAS_SEC if SECURE_BOOT
684         select SYS_FSL_SEC_COMPAT_4
685         select SYS_FSL_SEC_LE
686         select SYS_THUMB_BUILD if SPL
687
688 if ARCH_MX6
689 config SPL_LDSCRIPT
690         default "arch/arm/mach-omap2/u-boot-spl.lds"
691 endif
692
693 config ARCH_MX5
694         bool "Freescale MX5"
695         select CPU_V7
696         select BOARD_EARLY_INIT_F
697
698 config ARCH_QEMU
699         bool "QEMU Virtual Platform"
700         select DM
701         select DM_SERIAL
702         select OF_CONTROL
703         select PL01X_SERIAL
704
705 config ARCH_RMOBILE
706         bool "Renesas ARM SoCs"
707         select DM
708         select DM_SERIAL
709         select BOARD_EARLY_INIT_F
710         imply FAT_WRITE
711         imply SYS_THUMB_BUILD
712
713 config TARGET_S32V234EVB
714         bool "Support s32v234evb"
715         select ARM64
716         select SYS_FSL_ERRATUM_ESDHC111
717
718 config ARCH_SNAPDRAGON
719         bool "Qualcomm Snapdragon SoCs"
720         select ARM64
721         select DM
722         select DM_GPIO
723         select DM_SERIAL
724         select SPMI
725         select OF_CONTROL
726         select OF_SEPARATE
727
728 config ARCH_SOCFPGA
729         bool "Altera SOCFPGA family"
730         select CPU_V7
731         select SUPPORT_SPL
732         select OF_CONTROL
733         select SPL_OF_CONTROL
734         select DM
735         select DM_SPI_FLASH
736         select DM_SPI
737         select ENABLE_ARM_SOC_BOOT0_HOOK
738         select ARCH_EARLY_INIT_R
739         select ARCH_MISC_INIT
740         select SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION
741         select SYS_THUMB_BUILD
742         imply CMD_MTDPARTS
743         imply CRC32_VERIFY
744         imply FAT_WRITE
745
746 config ARCH_SUNXI
747         bool "Support sunxi (Allwinner) SoCs"
748         select BINMAN
749         select CMD_GPIO
750         select CMD_MMC if MMC
751         select CMD_USB if DISTRO_DEFAULTS
752         select DM
753         select DM_ETH
754         select DM_GPIO
755         select DM_KEYBOARD
756         select DM_SERIAL
757         select DM_USB if DISTRO_DEFAULTS
758         select OF_BOARD_SETUP
759         select OF_CONTROL
760         select OF_SEPARATE
761         select SPL_STACK_R if SPL
762         select SPL_SYS_MALLOC_SIMPLE if SPL
763         select SYS_NS16550
764         select SPL_SYS_THUMB_BUILD if !ARM64
765         select SYS_THUMB_BUILD if !ARM64
766         select USB if DISTRO_DEFAULTS
767         select USB_STORAGE if DISTRO_DEFAULTS
768         select USB_KEYBOARD if DISTRO_DEFAULTS
769         select USE_TINY_PRINTF
770         imply CMD_GPT
771         imply FAT_WRITE
772         imply OF_LIBFDT_OVERLAY
773         imply PRE_CONSOLE_BUFFER
774         imply SPL_GPIO_SUPPORT
775         imply SPL_LIBCOMMON_SUPPORT
776         imply SPL_LIBDISK_SUPPORT
777         imply SPL_LIBGENERIC_SUPPORT
778         imply SPL_MMC_SUPPORT if MMC
779         imply SPL_POWER_SUPPORT
780         imply SPL_SERIAL_SUPPORT
781         imply USB_GADGET
782
783 config TARGET_TS4600
784         bool "Support TS4600"
785         select CPU_ARM926EJS
786         select SUPPORT_SPL
787         select PL011_SERIAL
788
789 config ARCH_VF610
790         bool "Freescale Vybrid"
791         select CPU_V7
792         select SYS_FSL_ERRATUM_ESDHC111
793         imply CMD_MTDPARTS
794         imply NAND
795
796 config ARCH_ZYNQ
797         bool "Xilinx Zynq based platform"
798         select BOARD_LATE_INIT
799         select CPU_V7
800         select SUPPORT_SPL
801         select OF_CONTROL
802         select SPL_BOARD_INIT if SPL
803         select SPL_OF_CONTROL if SPL
804         select DM
805         select DM_ETH
806         select DM_GPIO
807         select SPL_DM if SPL
808         select DM_MMC
809         select DM_SPI
810         select DM_SERIAL
811         select DM_SPI_FLASH
812         select SPL_SEPARATE_BSS if SPL
813         select DM_USB if USB
814         select BLK
815         select CLK
816         select SPL_CLK
817         select CLK_ZYNQ
818         imply CMD_CLK
819         imply FAT_WRITE
820         imply CMD_SPL
821
822 config ARCH_ZYNQMP
823         bool "Xilinx ZynqMP based platform"
824         select ARM64
825         select BOARD_LATE_INIT
826         select DM
827         select OF_CONTROL
828         select DM_SERIAL
829         select SUPPORT_SPL
830         select CLK
831         select SPL_BOARD_INIT if SPL
832         select SPL_CLK if SPL
833         select DM_USB if USB
834         imply FAT_WRITE
835
836 config TEGRA
837         bool "NVIDIA Tegra"
838         imply FAT_WRITE
839
840 config TARGET_VEXPRESS64_AEMV8A
841         bool "Support vexpress_aemv8a"
842         select ARM64
843         select PL01X_SERIAL
844
845 config TARGET_VEXPRESS64_BASE_FVP
846         bool "Support Versatile Express ARMv8a FVP BASE model"
847         select ARM64
848         select SEMIHOSTING
849         select PL01X_SERIAL
850
851 config TARGET_VEXPRESS64_BASE_FVP_DRAM
852         bool "Support Versatile Express ARMv8a FVP BASE model booting from DRAM"
853         select ARM64
854         select PL01X_SERIAL
855         help
856           This target is derived from TARGET_VEXPRESS64_BASE_FVP and over-rides
857           the default config to allow the user to load the images directly into
858           DRAM using model parameters rather than by using semi-hosting to load
859           the files from the host filesystem.
860
861 config TARGET_VEXPRESS64_JUNO
862         bool "Support Versatile Express Juno Development Platform"
863         select ARM64
864         select PL01X_SERIAL
865
866 config TARGET_LS2080A_EMU
867         bool "Support ls2080a_emu"
868         select ARCH_LS2080A
869         select ARM64
870         select ARMV8_MULTIENTRY
871         select ARCH_MISC_INIT
872         help
873           Support for Freescale LS2080A_EMU platform
874           The LS2080A Development System (EMULATOR) is a pre silicon
875           development platform that supports the QorIQ LS2080A
876           Layerscape Architecture processor.
877
878 config TARGET_LS2080A_SIMU
879         bool "Support ls2080a_simu"
880         select ARCH_LS2080A
881         select ARM64
882         select ARMV8_MULTIENTRY
883         select ARCH_MISC_INIT
884         help
885           Support for Freescale LS2080A_SIMU platform
886           The LS2080A Development System (QDS) is a pre silicon
887           development platform that supports the QorIQ LS2080A
888           Layerscape Architecture processor.
889
890 config TARGET_LS1088AQDS
891         bool "Support ls1088aqds"
892         select ARCH_LS1088A
893         select ARM64
894         select ARMV8_MULTIENTRY
895         select ARCH_MISC_INIT
896         select BOARD_LATE_INIT
897         select SUPPORT_SPL
898         help
899           Support for NXP LS1088AQDS platform
900           The LS1088A Development System (QDS) is a high-performance
901           development platform that supports the QorIQ LS1088A
902           Layerscape Architecture processor.
903
904 config TARGET_LS2080AQDS
905         bool "Support ls2080aqds"
906         select ARCH_LS2080A
907         select ARM64
908         select ARMV8_MULTIENTRY
909         select BOARD_LATE_INIT
910         select SUPPORT_SPL
911         select ARCH_MISC_INIT
912         imply SCSI
913         imply SCSI_AHCI
914         help
915           Support for Freescale LS2080AQDS platform
916           The LS2080A Development System (QDS) is a high-performance
917           development platform that supports the QorIQ LS2080A
918           Layerscape Architecture processor.
919
920 config TARGET_LS2080ARDB
921         bool "Support ls2080ardb"
922         select ARCH_LS2080A
923         select ARM64
924         select ARMV8_MULTIENTRY
925         select BOARD_LATE_INIT
926         select SUPPORT_SPL
927         select ARCH_MISC_INIT
928         imply SCSI
929         imply SCSI_AHCI
930         help
931           Support for Freescale LS2080ARDB platform.
932           The LS2080A Reference design board (RDB) is a high-performance
933           development platform that supports the QorIQ LS2080A
934           Layerscape Architecture processor.
935
936 config TARGET_LS2081ARDB
937         bool "Support ls2081ardb"
938         select ARCH_LS2080A
939         select ARM64
940         select ARMV8_MULTIENTRY
941         select BOARD_LATE_INIT
942         select SUPPORT_SPL
943         select ARCH_MISC_INIT
944         help
945           Support for Freescale LS2081ARDB platform.
946           The LS2081A Reference design board (RDB) is a high-performance
947           development platform that supports the QorIQ LS2081A/LS2041A
948           Layerscape Architecture processor.
949
950 config TARGET_HIKEY
951         bool "Support HiKey 96boards Consumer Edition Platform"
952         select ARM64
953         select DM
954         select DM_GPIO
955         select DM_SERIAL
956         select OF_CONTROL
957         select PL01X_SERIAL
958           help
959           Support for HiKey 96boards platform. It features a HI6220
960           SoC, with 8xA53 CPU, mali450 gpu, and 1GB RAM.
961
962 config TARGET_POPLAR
963         bool "Support Poplar 96boards Enterprise Edition Platform"
964         select ARM64
965         select DM
966         select OF_CONTROL
967         select DM_SERIAL
968         select DM_USB
969         select PL01X_SERIAL
970           help
971           Support for Poplar 96boards EE platform. It features a HI3798cv200
972           SoC, with 4xA53 CPU, 1GB RAM and the high performance Mali T720 GPU
973           making it capable of running any commercial set-top solution based on
974           Linux or Android.
975
976 config TARGET_LS1012AQDS
977         bool "Support ls1012aqds"
978         select ARCH_LS1012A
979         select ARM64
980         select BOARD_LATE_INIT
981         help
982           Support for Freescale LS1012AQDS platform.
983           The LS1012A Development System (QDS) is a high-performance
984           development platform that supports the QorIQ LS1012A
985           Layerscape Architecture processor.
986
987 config TARGET_LS1012ARDB
988         bool "Support ls1012ardb"
989         select ARCH_LS1012A
990         select ARM64
991         select BOARD_LATE_INIT
992         imply SCSI
993         imply SCSI_AHCI
994         help
995           Support for Freescale LS1012ARDB platform.
996           The LS1012A Reference design board (RDB) is a high-performance
997           development platform that supports the QorIQ LS1012A
998           Layerscape Architecture processor.
999
1000 config TARGET_LS1012A2G5RDB
1001         bool "Support ls1012a2g5rdb"
1002         select ARCH_LS1012A
1003         select ARM64
1004         select BOARD_LATE_INIT
1005         imply SCSI
1006         help
1007           Support for Freescale LS1012A2G5RDB platform.
1008           The LS1012A 2G5 Reference design board (RDB) is a high-performance
1009           development platform that supports the QorIQ LS1012A
1010           Layerscape Architecture processor.
1011
1012 config TARGET_LS1012AFRDM
1013         bool "Support ls1012afrdm"
1014         select ARCH_LS1012A
1015         select ARM64
1016         help
1017           Support for Freescale LS1012AFRDM platform.
1018           The LS1012A Freedom  board (FRDM) is a high-performance
1019           development platform that supports the QorIQ LS1012A
1020           Layerscape Architecture processor.
1021
1022 config TARGET_LS1088ARDB
1023         bool "Support ls1088ardb"
1024         select ARCH_LS1088A
1025         select ARM64
1026         select ARMV8_MULTIENTRY
1027         select ARCH_MISC_INIT
1028         select BOARD_LATE_INIT
1029         select SUPPORT_SPL
1030         help
1031           Support for NXP LS1088ARDB platform.
1032           The LS1088A Reference design board (RDB) is a high-performance
1033           development platform that supports the QorIQ LS1088A
1034           Layerscape Architecture processor.
1035
1036 config TARGET_LS1021AQDS
1037         bool "Support ls1021aqds"
1038         select BOARD_LATE_INIT
1039         select CPU_V7
1040         select CPU_V7_HAS_NONSEC
1041         select CPU_V7_HAS_VIRT
1042         select SUPPORT_SPL
1043         select ARCH_LS1021A
1044         select ARCH_SUPPORT_PSCI
1045         select LS1_DEEP_SLEEP
1046         select SYS_FSL_DDR
1047         select BOARD_EARLY_INIT_F
1048         imply SCSI
1049
1050 config TARGET_LS1021ATWR
1051         bool "Support ls1021atwr"
1052         select BOARD_LATE_INIT
1053         select CPU_V7
1054         select CPU_V7_HAS_NONSEC
1055         select CPU_V7_HAS_VIRT
1056         select SUPPORT_SPL
1057         select ARCH_LS1021A
1058         select ARCH_SUPPORT_PSCI
1059         select LS1_DEEP_SLEEP
1060         select BOARD_EARLY_INIT_F
1061         imply SCSI
1062
1063 config TARGET_LS1021AIOT
1064         bool "Support ls1021aiot"
1065         select BOARD_LATE_INIT
1066         select CPU_V7
1067         select CPU_V7_HAS_NONSEC
1068         select CPU_V7_HAS_VIRT
1069         select SUPPORT_SPL
1070         select ARCH_LS1021A
1071         select ARCH_SUPPORT_PSCI
1072         imply SCSI
1073         help
1074           Support for Freescale LS1021AIOT platform.
1075           The LS1021A Freescale board (IOT) is a high-performance
1076           development platform that supports the QorIQ LS1021A
1077           Layerscape Architecture processor.
1078
1079 config TARGET_LS1043AQDS
1080         bool "Support ls1043aqds"
1081         select ARCH_LS1043A
1082         select ARM64
1083         select ARMV8_MULTIENTRY
1084         select BOARD_LATE_INIT
1085         select SUPPORT_SPL
1086         select BOARD_EARLY_INIT_F
1087         imply SCSI
1088         help
1089           Support for Freescale LS1043AQDS platform.
1090
1091 config TARGET_LS1043ARDB
1092         bool "Support ls1043ardb"
1093         select ARCH_LS1043A
1094         select ARM64
1095         select ARMV8_MULTIENTRY
1096         select BOARD_LATE_INIT
1097         select SUPPORT_SPL
1098         select BOARD_EARLY_INIT_F
1099         imply SCSI
1100         help
1101           Support for Freescale LS1043ARDB platform.
1102
1103 config TARGET_LS1046AQDS
1104         bool "Support ls1046aqds"
1105         select ARCH_LS1046A
1106         select ARM64
1107         select ARMV8_MULTIENTRY
1108         select BOARD_LATE_INIT
1109         select SUPPORT_SPL
1110         select DM_SPI_FLASH if DM_SPI
1111         select BOARD_EARLY_INIT_F
1112         imply SCSI
1113         help
1114           Support for Freescale LS1046AQDS platform.
1115           The LS1046A Development System (QDS) is a high-performance
1116           development platform that supports the QorIQ LS1046A
1117           Layerscape Architecture processor.
1118
1119 config TARGET_LS1046ARDB
1120         bool "Support ls1046ardb"
1121         select ARCH_LS1046A
1122         select ARM64
1123         select ARMV8_MULTIENTRY
1124         select BOARD_LATE_INIT
1125         select SUPPORT_SPL
1126         select DM_SPI_FLASH if DM_SPI
1127         select POWER_MC34VR500
1128         select BOARD_EARLY_INIT_F
1129         imply SCSI
1130         help
1131           Support for Freescale LS1046ARDB platform.
1132           The LS1046A Reference Design Board (RDB) is a high-performance
1133           development platform that supports the QorIQ LS1046A
1134           Layerscape Architecture processor.
1135
1136 config TARGET_H2200
1137         bool "Support h2200"
1138         select CPU_PXA
1139
1140 config TARGET_ZIPITZ2
1141         bool "Support zipitz2"
1142         select CPU_PXA
1143
1144 config TARGET_COLIBRI_PXA270
1145         bool "Support colibri_pxa270"
1146         select CPU_PXA
1147
1148 config ARCH_UNIPHIER
1149         bool "Socionext UniPhier SoCs"
1150         select BOARD_LATE_INIT
1151         select DM
1152         select DM_GPIO
1153         select DM_I2C
1154         select DM_MMC
1155         select DM_RESET
1156         select DM_SERIAL
1157         select DM_USB
1158         select OF_CONTROL
1159         select OF_LIBFDT
1160         select PINCTRL
1161         select SPL_BOARD_INIT if SPL
1162         select SPL_DM if SPL
1163         select SPL_LIBCOMMON_SUPPORT if SPL
1164         select SPL_LIBGENERIC_SUPPORT if SPL
1165         select SPL_OF_CONTROL if SPL
1166         select SPL_PINCTRL if SPL
1167         select SUPPORT_SPL
1168         imply FAT_WRITE
1169         help
1170           Support for UniPhier SoC family developed by Socionext Inc.
1171           (formerly, System LSI Business Division of Panasonic Corporation)
1172
1173 config STM32
1174         bool "Support STM32"
1175         select CPU_V7M
1176         select DM
1177         select DM_SERIAL
1178         select SYS_THUMB_BUILD
1179
1180 config ARCH_STI
1181         bool "Support STMicrolectronics SoCs"
1182         select CPU_V7
1183         select DM
1184         select DM_SERIAL
1185         select BLK
1186         select DM_MMC
1187         select DM_RESET
1188         help
1189           Support for STMicroelectronics STiH407/10 SoC family.
1190           This SoC is used on Linaro 96Board STiH410-B2260
1191
1192 config ARCH_ROCKCHIP
1193         bool "Support Rockchip SoCs"
1194         select OF_CONTROL
1195         select BLK
1196         select DM
1197         select SPL_DM if SPL
1198         select SYS_MALLOC_F
1199         select SYS_THUMB_BUILD if !ARM64
1200         select SPL_SYS_MALLOC_SIMPLE if SPL
1201         select DM_GPIO
1202         select DM_I2C
1203         select DM_MMC
1204         select DM_SERIAL
1205         select DM_SPI
1206         select DM_SPI_FLASH
1207         select DM_USB if USB
1208         select DM_PWM
1209         select DM_REGULATOR
1210         select ENABLE_ARM_SOC_BOOT0_HOOK
1211         imply CMD_FASTBOOT
1212         imply FASTBOOT
1213         imply FAT_WRITE
1214         imply USB_FUNCTION_FASTBOOT
1215         imply SPL_SYSRESET
1216         imply TPL_SYSRESET
1217         imply ADC
1218         imply SARADC_ROCKCHIP
1219
1220 config TARGET_THUNDERX_88XX
1221         bool "Support ThunderX 88xx"
1222         select ARM64
1223         select OF_CONTROL
1224         select SYS_CACHE_SHIFT_7
1225         select PL01X_SERIAL
1226
1227 config ARCH_ASPEED
1228         bool "Support Aspeed SoCs"
1229         select OF_CONTROL
1230         select DM
1231
1232 endchoice
1233
1234 source "arch/arm/mach-aspeed/Kconfig"
1235
1236 source "arch/arm/mach-at91/Kconfig"
1237
1238 source "arch/arm/mach-bcm283x/Kconfig"
1239
1240 source "arch/arm/mach-davinci/Kconfig"
1241
1242 source "arch/arm/mach-exynos/Kconfig"
1243
1244 source "arch/arm/mach-highbank/Kconfig"
1245
1246 source "arch/arm/mach-integrator/Kconfig"
1247
1248 source "arch/arm/mach-keystone/Kconfig"
1249
1250 source "arch/arm/mach-kirkwood/Kconfig"
1251
1252 source "arch/arm/mach-mvebu/Kconfig"
1253
1254 source "arch/arm/cpu/armv7/ls102xa/Kconfig"
1255
1256 source "arch/arm/mach-imx/mx2/Kconfig"
1257
1258 source "arch/arm/mach-imx/mx7ulp/Kconfig"
1259
1260 source "arch/arm/mach-imx/mx7/Kconfig"
1261
1262 source "arch/arm/mach-imx/mx6/Kconfig"
1263
1264 source "arch/arm/mach-imx/mx5/Kconfig"
1265
1266 source "arch/arm/mach-omap2/Kconfig"
1267
1268 source "arch/arm/cpu/armv8/fsl-layerscape/Kconfig"
1269
1270 source "arch/arm/mach-orion5x/Kconfig"
1271
1272 source "arch/arm/mach-rmobile/Kconfig"
1273
1274 source "arch/arm/mach-meson/Kconfig"
1275
1276 source "arch/arm/mach-qemu/Kconfig"
1277
1278 source "arch/arm/mach-rockchip/Kconfig"
1279
1280 source "arch/arm/mach-s5pc1xx/Kconfig"
1281
1282 source "arch/arm/mach-snapdragon/Kconfig"
1283
1284 source "arch/arm/mach-socfpga/Kconfig"
1285
1286 source "arch/arm/mach-sti/Kconfig"
1287
1288 source "arch/arm/mach-stm32/Kconfig"
1289
1290 source "arch/arm/mach-sunxi/Kconfig"
1291
1292 source "arch/arm/mach-tegra/Kconfig"
1293
1294 source "arch/arm/mach-uniphier/Kconfig"
1295
1296 source "arch/arm/cpu/armv7/vf610/Kconfig"
1297
1298 source "arch/arm/mach-zynq/Kconfig"
1299
1300 source "arch/arm/cpu/armv7/Kconfig"
1301
1302 source "arch/arm/cpu/armv8/zynqmp/Kconfig"
1303
1304 source "arch/arm/cpu/armv8/Kconfig"
1305
1306 source "arch/arm/mach-imx/Kconfig"
1307
1308 source "board/aries/m28evk/Kconfig"
1309 source "board/bosch/shc/Kconfig"
1310 source "board/CarMediaLab/flea3/Kconfig"
1311 source "board/Marvell/aspenite/Kconfig"
1312 source "board/Marvell/gplugd/Kconfig"
1313 source "board/armadeus/apf27/Kconfig"
1314 source "board/armltd/vexpress/Kconfig"
1315 source "board/armltd/vexpress64/Kconfig"
1316 source "board/bluegiga/apx4devkit/Kconfig"
1317 source "board/broadcom/bcm23550_w1d/Kconfig"
1318 source "board/broadcom/bcm28155_ap/Kconfig"
1319 source "board/broadcom/bcmcygnus/Kconfig"
1320 source "board/broadcom/bcmnsp/Kconfig"
1321 source "board/broadcom/bcmns2/Kconfig"
1322 source "board/cavium/thunderx/Kconfig"
1323 source "board/cirrus/edb93xx/Kconfig"
1324 source "board/creative/xfi3/Kconfig"
1325 source "board/eets/pdu001/Kconfig"
1326 source "board/freescale/ls2080a/Kconfig"
1327 source "board/freescale/ls2080aqds/Kconfig"
1328 source "board/freescale/ls2080ardb/Kconfig"
1329 source "board/freescale/ls1088a/Kconfig"
1330 source "board/freescale/ls1021aqds/Kconfig"
1331 source "board/freescale/ls1043aqds/Kconfig"
1332 source "board/freescale/ls1021atwr/Kconfig"
1333 source "board/freescale/ls1021aiot/Kconfig"
1334 source "board/freescale/ls1046aqds/Kconfig"
1335 source "board/freescale/ls1043ardb/Kconfig"
1336 source "board/freescale/ls1046ardb/Kconfig"
1337 source "board/freescale/ls1012aqds/Kconfig"
1338 source "board/freescale/ls1012ardb/Kconfig"
1339 source "board/freescale/ls1012afrdm/Kconfig"
1340 source "board/freescale/mx23evk/Kconfig"
1341 source "board/freescale/mx28evk/Kconfig"
1342 source "board/freescale/mx31ads/Kconfig"
1343 source "board/freescale/mx31pdk/Kconfig"
1344 source "board/freescale/mx35pdk/Kconfig"
1345 source "board/freescale/s32v234evb/Kconfig"
1346 source "board/gdsys/a38x/Kconfig"
1347 source "board/grinn/chiliboard/Kconfig"
1348 source "board/gumstix/pepper/Kconfig"
1349 source "board/h2200/Kconfig"
1350 source "board/hisilicon/hikey/Kconfig"
1351 source "board/hisilicon/poplar/Kconfig"
1352 source "board/imx31_phycore/Kconfig"
1353 source "board/isee/igep003x/Kconfig"
1354 source "board/olimex/mx23_olinuxino/Kconfig"
1355 source "board/phytec/pcm051/Kconfig"
1356 source "board/ppcag/bg0900/Kconfig"
1357 source "board/sandisk/sansa_fuze_plus/Kconfig"
1358 source "board/schulercontrol/sc_sps_1/Kconfig"
1359 source "board/silica/pengwyn/Kconfig"
1360 source "board/spear/spear300/Kconfig"
1361 source "board/spear/spear310/Kconfig"
1362 source "board/spear/spear320/Kconfig"
1363 source "board/spear/spear600/Kconfig"
1364 source "board/spear/x600/Kconfig"
1365 source "board/st/stv0991/Kconfig"
1366 source "board/tcl/sl50/Kconfig"
1367 source "board/birdland/bav335x/Kconfig"
1368 source "board/timll/devkit3250/Kconfig"
1369 source "board/toradex/colibri_pxa270/Kconfig"
1370 source "board/technologic/ts4600/Kconfig"
1371 source "board/vscom/baltos/Kconfig"
1372 source "board/woodburn/Kconfig"
1373 source "board/work-microwave/work_92105/Kconfig"
1374 source "board/zipitz2/Kconfig"
1375
1376 source "arch/arm/Kconfig.debug"
1377
1378 endmenu
1379
1380 config SPL_LDSCRIPT
1381         default "arch/arm/cpu/arm926ejs/mxs/u-boot-spl.lds" if TARGET_APX4DEVKIT || TARGET_BG0900 || TARGET_M28EVK || TARGET_MX23_OLINUXINO || TARGET_MX23EVK || TARGET_MX28EVK || TARGET_SANSA_FUZE_PLUS || TARGET_SC_SPS_1 || TARGET_TS4600 || TARGET_XFI3
1382         default "arch/arm/cpu/arm1136/u-boot-spl.lds" if CPU_ARM1136
1383         default "arch/arm/cpu/armv8/u-boot-spl.lds" if ARM64
1384
1385