xref: /openbmc/linux/arch/arm/mach-spear/Kconfig (revision d2999e1b)
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 CLKSRC_MMIO
11
12if PLAT_SPEAR
13
14config ARCH_SPEAR13XX
15	bool "ST SPEAr13xx"
16	depends on ARCH_MULTI_V7 || PLAT_SPEAR_SINGLE
17	select ARM_GIC
18	select GPIO_SPEAR_SPICS
19	select HAVE_ARM_SCU if SMP
20	select HAVE_ARM_TWD if SMP
21	select PINCTRL
22	help
23	  Supports for ARM's SPEAR13XX family
24
25if ARCH_SPEAR13XX
26
27config MACH_SPEAR1310
28	bool "SPEAr1310 Machine support with Device Tree"
29	select PINCTRL_SPEAR1310
30	help
31	  Supports ST SPEAr1310 machine configured via the device-tree
32
33config MACH_SPEAR1340
34	bool "SPEAr1340 Machine support with Device Tree"
35	select PINCTRL_SPEAR1340
36	help
37	  Supports ST SPEAr1340 machine configured via the device-tree
38
39endif #ARCH_SPEAR13XX
40
41config ARCH_SPEAR3XX
42	bool "ST SPEAr3xx"
43	depends on ARCH_MULTI_V5 || PLAT_SPEAR_SINGLE
44	depends on !ARCH_SPEAR13XX
45	select ARM_VIC
46	select PINCTRL
47	help
48	  Supports for ARM's SPEAR3XX family
49
50if ARCH_SPEAR3XX
51
52config MACH_SPEAR300
53	bool "SPEAr300 Machine support with Device Tree"
54	select PINCTRL_SPEAR300
55	help
56	  Supports ST SPEAr300 machine configured via the device-tree
57
58config MACH_SPEAR310
59	bool "SPEAr310 Machine support with Device Tree"
60	select PINCTRL_SPEAR310
61	help
62	  Supports ST SPEAr310 machine configured via the device-tree
63
64config MACH_SPEAR320
65	bool "SPEAr320 Machine support with Device Tree"
66	select PINCTRL_SPEAR320
67	help
68	  Supports ST SPEAr320 machine configured via the device-tree
69
70endif
71
72config ARCH_SPEAR6XX
73	bool "ST SPEAr6XX"
74	depends on ARCH_MULTI_V5 || PLAT_SPEAR_SINGLE
75	depends on !ARCH_SPEAR13XX
76	select ARM_VIC
77	help
78	  Supports for ARM's SPEAR6XX family
79
80config MACH_SPEAR600
81	def_bool y
82	depends on ARCH_SPEAR6XX
83	help
84	  Supports ST SPEAr600 boards configured via the device-tree
85
86config ARCH_SPEAR_AUTO
87	def_bool PLAT_SPEAR_SINGLE
88	depends on !ARCH_SPEAR13XX && !ARCH_SPEAR6XX
89	select ARCH_SPEAR3XX
90
91endif
92
93