xref: /openbmc/u-boot/arch/arm/Kconfig (revision bf9012b8)
1menu "ARM architecture"
2	depends on ARM
3
4config SYS_ARCH
5	default "arm"
6
7config ARM64
8	bool
9	select PHYS_64BIT
10	select SYS_CACHE_SHIFT_6
11
12config DMA_ADDR_T_64BIT
13	bool
14	default y if ARM64
15
16config HAS_VBAR
17	bool
18
19config 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
34config ARM_ERRATA_430973
35	bool
36
37config ARM_ERRATA_454179
38	bool
39
40config ARM_ERRATA_621766
41	bool
42
43config ARM_ERRATA_716044
44	bool
45
46config ARM_ERRATA_725233
47	bool
48
49config ARM_ERRATA_742230
50	bool
51
52config ARM_ERRATA_743622
53	bool
54
55config ARM_ERRATA_751472
56	bool
57
58config ARM_ERRATA_761320
59	bool
60
61config ARM_ERRATA_773022
62	bool
63
64config ARM_ERRATA_774769
65	bool
66
67config ARM_ERRATA_794072
68	bool
69
70config ARM_ERRATA_798870
71	bool
72
73config ARM_ERRATA_801819
74	bool
75
76config ARM_ERRATA_826974
77	bool
78
79config ARM_ERRATA_828024
80	bool
81
82config ARM_ERRATA_829520
83	bool
84
85config ARM_ERRATA_833069
86	bool
87
88config ARM_ERRATA_833471
89	bool
90
91config ARM_ERRATA_852421
92	bool
93
94config ARM_ERRATA_852423
95	bool
96
97config CPU_ARM720T
98	bool
99	select SYS_CACHE_SHIFT_5
100
101config CPU_ARM920T
102	bool
103	select SYS_CACHE_SHIFT_5
104
105config CPU_ARM926EJS
106	bool
107	select SYS_CACHE_SHIFT_5
108
109config CPU_ARM946ES
110	bool
111	select SYS_CACHE_SHIFT_5
112
113config CPU_ARM1136
114	bool
115	select SYS_CACHE_SHIFT_5
116
117config CPU_ARM1176
118	bool
119	select HAS_VBAR
120	select SYS_CACHE_SHIFT_5
121
122config CPU_V7
123	bool
124	select HAS_VBAR
125	select HAS_THUMB2
126	select SYS_CACHE_SHIFT_6
127
128config CPU_V7M
129	bool
130	select HAS_THUMB2
131	select SYS_CACHE_SHIFT_5
132
133config CPU_PXA
134	bool
135	select SYS_CACHE_SHIFT_5
136
137config CPU_SA1100
138	bool
139	select SYS_CACHE_SHIFT_5
140
141config 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
154config 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
168config SYS_CACHE_SHIFT_5
169	bool
170
171config SYS_CACHE_SHIFT_6
172	bool
173
174config SYS_CACHE_SHIFT_7
175	bool
176
177config 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
183config 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
192config 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
199config 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
208config 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
218config 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
224config 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
232config ARM_CORTEX_CPU_IS_UP
233	bool
234	default n
235
236config 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
245config 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
254config 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
263config 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
272config 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
278choice
279	prompt "Target select"
280	default TARGET_HIKEY
281
282config ARCH_AT91
283	bool "Atmel AT91"
284	select SPL_BOARD_INIT if SPL
285
286config TARGET_EDB93XX
287	bool "Support edb93xx"
288	select CPU_ARM920T
289
290config TARGET_ASPENITE
291	bool "Support aspenite"
292	select CPU_ARM926EJS
293
294config TARGET_GPLUGD
295	bool "Support gplugd"
296	select CPU_ARM926EJS
297
298config ARCH_DAVINCI
299	bool "TI DaVinci"
300	select CPU_ARM926EJS
301	help
302	  Support for TI's DaVinci platform.
303
304config KIRKWOOD
305	bool "Marvell Kirkwood"
306	select CPU_ARM926EJS
307	select BOARD_EARLY_INIT_F
308	select ARCH_MISC_INIT
309
310config 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
320config TARGET_DEVKIT3250
321	bool "Support devkit3250"
322	select CPU_ARM926EJS
323	select SUPPORT_SPL
324
325config TARGET_WORK_92105
326	bool "Support work_92105"
327	select CPU_ARM926EJS
328	select SUPPORT_SPL
329
330config TARGET_MX25PDK
331	bool "Support mx25pdk"
332	select BOARD_LATE_INIT
333	select CPU_ARM926EJS
334	select BOARD_EARLY_INIT_F
335
336config TARGET_ZMX25
337	bool "Support zmx25"
338	select BOARD_LATE_INIT
339	select CPU_ARM926EJS
340
341config TARGET_APF27
342	bool "Support apf27"
343	select CPU_ARM926EJS
344	select SUPPORT_SPL
345
346config TARGET_APX4DEVKIT
347	bool "Support apx4devkit"
348	select CPU_ARM926EJS
349	select SUPPORT_SPL
350
351config TARGET_XFI3
352	bool "Support xfi3"
353	select CPU_ARM926EJS
354	select SUPPORT_SPL
355
356config TARGET_M28EVK
357	bool "Support m28evk"
358	select CPU_ARM926EJS
359	select SUPPORT_SPL
360
361config TARGET_MX23EVK
362	bool "Support mx23evk"
363	select CPU_ARM926EJS
364	select SUPPORT_SPL
365	select BOARD_EARLY_INIT_F
366
367config TARGET_MX28EVK
368	bool "Support mx28evk"
369	select CPU_ARM926EJS
370	select SUPPORT_SPL
371	select BOARD_EARLY_INIT_F
372
373config TARGET_MX23_OLINUXINO
374	bool "Support mx23_olinuxino"
375	select CPU_ARM926EJS
376	select SUPPORT_SPL
377	select BOARD_EARLY_INIT_F
378
379config TARGET_BG0900
380	bool "Support bg0900"
381	select CPU_ARM926EJS
382	select SUPPORT_SPL
383
384config TARGET_SANSA_FUZE_PLUS
385	bool "Support sansa_fuze_plus"
386	select CPU_ARM926EJS
387	select SUPPORT_SPL
388
389config TARGET_SC_SPS_1
390	bool "Support sc_sps_1"
391	select CPU_ARM926EJS
392	select SUPPORT_SPL
393
394config ORION5X
395	bool "Marvell Orion"
396	select CPU_ARM926EJS
397
398config TARGET_SPEAR300
399	bool "Support spear300"
400	select CPU_ARM926EJS
401	select BOARD_EARLY_INIT_F
402
403config TARGET_SPEAR310
404	bool "Support spear310"
405	select CPU_ARM926EJS
406	select BOARD_EARLY_INIT_F
407
408config TARGET_SPEAR320
409	bool "Support spear320"
410	select CPU_ARM926EJS
411	select BOARD_EARLY_INIT_F
412
413config TARGET_SPEAR600
414	bool "Support spear600"
415	select CPU_ARM926EJS
416	select BOARD_EARLY_INIT_F
417
418config 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
427config TARGET_X600
428	bool "Support x600"
429	select BOARD_LATE_INIT
430	select CPU_ARM926EJS
431	select SUPPORT_SPL
432
433config TARGET_IMX31_PHYCORE
434	bool "Support imx31_phycore_eet"
435	select CPU_ARM1136
436	select BOARD_EARLY_INIT_F
437
438config 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
444config TARGET_MX31ADS
445	bool "Support mx31ads"
446	select CPU_ARM1136
447	select BOARD_EARLY_INIT_F
448
449config 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
456config TARGET_WOODBURN
457	bool "Support woodburn"
458	select CPU_ARM1136
459
460config TARGET_WOODBURN_SD
461	bool "Support woodburn_sd"
462	select CPU_ARM1136
463	select SUPPORT_SPL
464
465config TARGET_FLEA3
466	bool "Support flea3"
467	select CPU_ARM1136
468
469config TARGET_MX35PDK
470	bool "Support mx35pdk"
471	select BOARD_LATE_INIT
472	select CPU_ARM1136
473
474config ARCH_BCM283X
475	bool "Broadcom BCM283X family"
476	select DM
477	select DM_SERIAL
478	select DM_GPIO
479	select OF_CONTROL
480
481config 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
487config TARGET_VEXPRESS_CA5X2
488	bool "Support vexpress_ca5x2"
489	select CPU_V7
490
491config TARGET_VEXPRESS_CA9X4
492	bool "Support vexpress_ca9x4"
493	select CPU_V7
494
495config TARGET_BCM23550_W1D
496	bool "Support bcm23550_w1d"
497	select CPU_V7
498
499config TARGET_BCM28155_AP
500	bool "Support bcm28155_ap"
501	select CPU_V7
502
503config TARGET_BCMCYGNUS
504	bool "Support bcmcygnus"
505	select CPU_V7
506	imply CMD_HASH
507
508config TARGET_BCMNSP
509	bool "Support bcmnsp"
510	select CPU_V7
511
512config 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
520config 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
530config 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
538config ARCH_HIGHBANK
539	bool "Calxeda Highbank"
540	select CPU_V7
541
542config ARCH_INTEGRATOR
543	bool "ARM Ltd. Integrator family"
544	select DM
545	select DM_SERIAL
546
547config 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
555config 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
562config 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
569config ARCH_MX7ULP
570        bool "NXP MX7ULP"
571        select CPU_V7
572	select ROM_UNIFIED_SECTIONS
573
574config 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
583config 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
591config ARCH_MX5
592	bool "Freescale MX5"
593	select CPU_V7
594	select BOARD_EARLY_INIT_F
595
596config 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
603config TARGET_S32V234EVB
604	bool "Support s32v234evb"
605	select ARM64
606	select SYS_FSL_ERRATUM_ESDHC111
607
608config 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
618config 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
633config 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
664config TARGET_TS4600
665	bool "Support TS4600"
666	select CPU_ARM926EJS
667	select SUPPORT_SPL
668
669config ARCH_VF610
670	bool "Freescale Vybrid"
671	select CPU_V7
672	select SYS_FSL_ERRATUM_ESDHC111
673
674config 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
699config 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
712config TEGRA
713	bool "NVIDIA Tegra"
714
715config TARGET_VEXPRESS64_AEMV8A
716	bool "Support vexpress_aemv8a"
717	select ARM64
718
719config TARGET_VEXPRESS64_BASE_FVP
720	bool "Support Versatile Express ARMv8a FVP BASE model"
721	select ARM64
722	select SEMIHOSTING
723
724config 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
733config TARGET_VEXPRESS64_JUNO
734	bool "Support Versatile Express Juno Development Platform"
735	select ARM64
736
737config 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
749config 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
761config 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
775config 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
789config 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
803config 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
814config 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
825config 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
836config 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
846config 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
859config 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
871config 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
886config 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
897config 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
908config 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
923config 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
939config TARGET_H2200
940	bool "Support h2200"
941	select CPU_PXA
942
943config TARGET_ZIPITZ2
944	bool "Support zipitz2"
945	select CPU_PXA
946
947config TARGET_COLIBRI_PXA270
948	bool "Support colibri_pxa270"
949	select CPU_PXA
950
951config 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
976config STM32
977	bool "Support STM32"
978	select CPU_V7M
979	select DM
980	select DM_SERIAL
981	select SYS_THUMB_BUILD
982
983config 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
995config 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
1015config TARGET_THUNDERX_88XX
1016	bool "Support ThunderX 88xx"
1017	select ARM64
1018	select OF_CONTROL
1019	select SYS_CACHE_SHIFT_7
1020
1021config ARCH_ASPEED
1022	bool "Support Aspeed SoCs"
1023	select OF_CONTROL
1024	select DM
1025
1026endchoice
1027
1028source "arch/arm/mach-aspeed/Kconfig"
1029
1030source "arch/arm/mach-at91/Kconfig"
1031
1032source "arch/arm/mach-bcm283x/Kconfig"
1033
1034source "arch/arm/mach-davinci/Kconfig"
1035
1036source "arch/arm/mach-exynos/Kconfig"
1037
1038source "arch/arm/mach-highbank/Kconfig"
1039
1040source "arch/arm/mach-integrator/Kconfig"
1041
1042source "arch/arm/mach-keystone/Kconfig"
1043
1044source "arch/arm/mach-kirkwood/Kconfig"
1045
1046source "arch/arm/mach-mvebu/Kconfig"
1047
1048source "arch/arm/cpu/armv7/ls102xa/Kconfig"
1049
1050source "arch/arm/cpu/armv7/mx7ulp/Kconfig"
1051
1052source "arch/arm/cpu/armv7/mx7/Kconfig"
1053
1054source "arch/arm/cpu/armv7/mx6/Kconfig"
1055
1056source "arch/arm/cpu/armv7/mx5/Kconfig"
1057
1058source "arch/arm/mach-omap2/Kconfig"
1059
1060source "arch/arm/cpu/armv8/fsl-layerscape/Kconfig"
1061
1062source "arch/arm/mach-orion5x/Kconfig"
1063
1064source "arch/arm/mach-rmobile/Kconfig"
1065
1066source "arch/arm/mach-meson/Kconfig"
1067
1068source "arch/arm/mach-rockchip/Kconfig"
1069
1070source "arch/arm/mach-s5pc1xx/Kconfig"
1071
1072source "arch/arm/mach-snapdragon/Kconfig"
1073
1074source "arch/arm/mach-socfpga/Kconfig"
1075
1076source "arch/arm/mach-sti/Kconfig"
1077
1078source "arch/arm/mach-stm32/Kconfig"
1079
1080source "arch/arm/mach-sunxi/Kconfig"
1081
1082source "arch/arm/mach-tegra/Kconfig"
1083
1084source "arch/arm/mach-uniphier/Kconfig"
1085
1086source "arch/arm/cpu/armv7/vf610/Kconfig"
1087
1088source "arch/arm/mach-zynq/Kconfig"
1089
1090source "arch/arm/cpu/armv7/Kconfig"
1091
1092source "arch/arm/cpu/armv8/zynqmp/Kconfig"
1093
1094source "arch/arm/cpu/armv8/Kconfig"
1095
1096source "arch/arm/imx-common/Kconfig"
1097
1098source "board/aries/m28evk/Kconfig"
1099source "board/bosch/shc/Kconfig"
1100source "board/CarMediaLab/flea3/Kconfig"
1101source "board/Marvell/aspenite/Kconfig"
1102source "board/Marvell/gplugd/Kconfig"
1103source "board/armadeus/apf27/Kconfig"
1104source "board/armltd/vexpress/Kconfig"
1105source "board/armltd/vexpress64/Kconfig"
1106source "board/bluegiga/apx4devkit/Kconfig"
1107source "board/broadcom/bcm23550_w1d/Kconfig"
1108source "board/broadcom/bcm28155_ap/Kconfig"
1109source "board/broadcom/bcmcygnus/Kconfig"
1110source "board/broadcom/bcmnsp/Kconfig"
1111source "board/broadcom/bcmns2/Kconfig"
1112source "board/cavium/thunderx/Kconfig"
1113source "board/cirrus/edb93xx/Kconfig"
1114source "board/creative/xfi3/Kconfig"
1115source "board/freescale/ls2080a/Kconfig"
1116source "board/freescale/ls2080aqds/Kconfig"
1117source "board/freescale/ls2080ardb/Kconfig"
1118source "board/freescale/ls1021aqds/Kconfig"
1119source "board/freescale/ls1043aqds/Kconfig"
1120source "board/freescale/ls1021atwr/Kconfig"
1121source "board/freescale/ls1021aiot/Kconfig"
1122source "board/freescale/ls1046aqds/Kconfig"
1123source "board/freescale/ls1043ardb/Kconfig"
1124source "board/freescale/ls1046ardb/Kconfig"
1125source "board/freescale/ls1012aqds/Kconfig"
1126source "board/freescale/ls1012ardb/Kconfig"
1127source "board/freescale/ls1012afrdm/Kconfig"
1128source "board/freescale/mx23evk/Kconfig"
1129source "board/freescale/mx25pdk/Kconfig"
1130source "board/freescale/mx28evk/Kconfig"
1131source "board/freescale/mx31ads/Kconfig"
1132source "board/freescale/mx31pdk/Kconfig"
1133source "board/freescale/mx35pdk/Kconfig"
1134source "board/freescale/s32v234evb/Kconfig"
1135source "board/gdsys/a38x/Kconfig"
1136source "board/grinn/chiliboard/Kconfig"
1137source "board/gumstix/pepper/Kconfig"
1138source "board/h2200/Kconfig"
1139source "board/hisilicon/hikey/Kconfig"
1140source "board/imx31_phycore/Kconfig"
1141source "board/isee/igep003x/Kconfig"
1142source "board/olimex/mx23_olinuxino/Kconfig"
1143source "board/phytec/pcm051/Kconfig"
1144source "board/ppcag/bg0900/Kconfig"
1145source "board/sandisk/sansa_fuze_plus/Kconfig"
1146source "board/schulercontrol/sc_sps_1/Kconfig"
1147source "board/silica/pengwyn/Kconfig"
1148source "board/spear/spear300/Kconfig"
1149source "board/spear/spear310/Kconfig"
1150source "board/spear/spear320/Kconfig"
1151source "board/spear/spear600/Kconfig"
1152source "board/spear/x600/Kconfig"
1153source "board/st/stv0991/Kconfig"
1154source "board/syteco/zmx25/Kconfig"
1155source "board/tcl/sl50/Kconfig"
1156source "board/birdland/bav335x/Kconfig"
1157source "board/timll/devkit3250/Kconfig"
1158source "board/toradex/colibri_pxa270/Kconfig"
1159source "board/technologic/ts4600/Kconfig"
1160source "board/vscom/baltos/Kconfig"
1161source "board/woodburn/Kconfig"
1162source "board/work-microwave/work_92105/Kconfig"
1163source "board/zipitz2/Kconfig"
1164
1165source "arch/arm/Kconfig.debug"
1166
1167endmenu
1168