xref: /openbmc/linux/arch/arm/mach-spear/Kconfig (revision ee89bd6b)
1#
2# SPEAr Platform configuration file
3#
4
5menuconfig PLAT_SPEAR
6	bool "ST SPEAr Family" if ARCH_MULTI_V7 || ARCH_MULTI_V5
7	default PLAT_SPEAR_SINGLE
8	select ARCH_REQUIRE_GPIOLIB
9	select ARM_AMBA
10	select CLKDEV_LOOKUP
11	select CLKSRC_MMIO
12	select COMMON_CLK
13	select GENERIC_CLOCKEVENTS
14	select HAVE_CLK
15
16if PLAT_SPEAR
17
18config ARCH_SPEAR13XX
19	bool "ST SPEAr13xx"
20	depends on ARCH_MULTI_V7 || PLAT_SPEAR_SINGLE
21	select ARCH_HAS_CPUFREQ
22	select ARM_GIC
23	select CPU_V7
24	select GPIO_SPEAR_SPICS
25	select HAVE_ARM_SCU if SMP
26	select HAVE_ARM_TWD if LOCAL_TIMERS
27	select HAVE_SMP
28	select MIGHT_HAVE_CACHE_L2X0
29	select PINCTRL
30	select USE_OF
31	help
32	  Supports for ARM's SPEAR13XX family
33
34if ARCH_SPEAR13XX
35
36config MACH_SPEAR1310
37	bool "SPEAr1310 Machine support with Device Tree"
38	select PINCTRL_SPEAR1310
39	help
40	  Supports ST SPEAr1310 machine configured via the device-tree
41
42config MACH_SPEAR1340
43	bool "SPEAr1340 Machine support with Device Tree"
44	select PINCTRL_SPEAR1340
45	help
46	  Supports ST SPEAr1340 machine configured via the device-tree
47
48endif #ARCH_SPEAR13XX
49
50config ARCH_SPEAR3XX
51	bool "ST SPEAr3xx"
52	depends on ARCH_MULTI_V5 || PLAT_SPEAR_SINGLE
53	depends on !ARCH_SPEAR13XX
54	select ARM_VIC
55	select CPU_ARM926T
56	select PINCTRL
57	select USE_OF
58	help
59	  Supports for ARM's SPEAR3XX family
60
61if ARCH_SPEAR3XX
62
63config MACH_SPEAR300
64	bool "SPEAr300 Machine support with Device Tree"
65	select PINCTRL_SPEAR300
66	help
67	  Supports ST SPEAr300 machine configured via the device-tree
68
69config MACH_SPEAR310
70	bool "SPEAr310 Machine support with Device Tree"
71	select PINCTRL_SPEAR310
72	help
73	  Supports ST SPEAr310 machine configured via the device-tree
74
75config MACH_SPEAR320
76	bool "SPEAr320 Machine support with Device Tree"
77	select PINCTRL_SPEAR320
78	help
79	  Supports ST SPEAr320 machine configured via the device-tree
80
81endif
82
83config ARCH_SPEAR6XX
84	bool "ST SPEAr6XX"
85	depends on ARCH_MULTI_V5 || PLAT_SPEAR_SINGLE
86	depends on !ARCH_SPEAR13XX
87	select ARM_VIC
88	select CPU_ARM926T
89	help
90	  Supports for ARM's SPEAR6XX family
91
92config MACH_SPEAR600
93	def_bool y
94	depends on ARCH_SPEAR6XX
95	select USE_OF
96	help
97	  Supports ST SPEAr600 boards configured via the device-treesource "arch/arm/mach-spear6xx/Kconfig"
98
99config ARCH_SPEAR_AUTO
100	def_bool PLAT_SPEAR_SINGLE
101	depends on !ARCH_SPEAR13XX && !ARCH_SPEAR6XX
102	select ARCH_SPEAR3XX
103
104endif
105
106