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