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