aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2012-12-02 08:51:55 -0500
committerArnd Bergmann <arnd@arndb.de>2013-03-12 12:39:36 -0400
commit4b6effb6ff38aab60d224cefba76b016552f8bf8 (patch)
tree176c300163c884c5390a188c2c29d6bba66f30a4
parentd42799b7827bcb92c47de26f900e75885bcb447b (diff)
ARM: spear: merge Kconfig files
As a preparation to merging the spear platforms into one directory, this merges the four Kconfig files into one. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
-rw-r--r--arch/arm/mach-spear13xx/Kconfig20
-rw-r--r--arch/arm/mach-spear3xx/Kconfig26
-rw-r--r--arch/arm/mach-spear6xx/Kconfig10
-rw-r--r--arch/arm/plat-spear/Kconfig51
4 files changed, 47 insertions, 60 deletions
diff --git a/arch/arm/mach-spear13xx/Kconfig b/arch/arm/mach-spear13xx/Kconfig
deleted file mode 100644
index eaadc66d96b3..000000000000
--- a/arch/arm/mach-spear13xx/Kconfig
+++ /dev/null
@@ -1,20 +0,0 @@
1#
2# SPEAr13XX Machine configuration file
3#
4
5if ARCH_SPEAR13XX
6
7menu "SPEAr13xx Implementations"
8config MACH_SPEAR1310
9 bool "SPEAr1310 Machine support with Device Tree"
10 select PINCTRL_SPEAR1310
11 help
12 Supports ST SPEAr1310 machine configured via the device-tree
13
14config MACH_SPEAR1340
15 bool "SPEAr1340 Machine support with Device Tree"
16 select PINCTRL_SPEAR1340
17 help
18 Supports ST SPEAr1340 machine configured via the device-tree
19endmenu
20endif #ARCH_SPEAR13XX
diff --git a/arch/arm/mach-spear3xx/Kconfig b/arch/arm/mach-spear3xx/Kconfig
deleted file mode 100644
index 8bd37291fa4f..000000000000
--- a/arch/arm/mach-spear3xx/Kconfig
+++ /dev/null
@@ -1,26 +0,0 @@
1#
2# SPEAr3XX Machine configuration file
3#
4
5if ARCH_SPEAR3XX
6
7menu "SPEAr3xx Implementations"
8config MACH_SPEAR300
9 bool "SPEAr300 Machine support with Device Tree"
10 select PINCTRL_SPEAR300
11 help
12 Supports ST SPEAr300 machine configured via the device-tree
13
14config MACH_SPEAR310
15 bool "SPEAr310 Machine support with Device Tree"
16 select PINCTRL_SPEAR310
17 help
18 Supports ST SPEAr310 machine configured via the device-tree
19
20config MACH_SPEAR320
21 bool "SPEAr320 Machine support with Device Tree"
22 select PINCTRL_SPEAR320
23 help
24 Supports ST SPEAr320 machine configured via the device-tree
25endmenu
26endif #ARCH_SPEAR3XX
diff --git a/arch/arm/mach-spear6xx/Kconfig b/arch/arm/mach-spear6xx/Kconfig
deleted file mode 100644
index 339f397dea70..000000000000
--- a/arch/arm/mach-spear6xx/Kconfig
+++ /dev/null
@@ -1,10 +0,0 @@
1#
2# SPEAr6XX Machine configuration file
3#
4
5config MACH_SPEAR600
6 def_bool y
7 depends on ARCH_SPEAR6XX
8 select USE_OF
9 help
10 Supports ST SPEAr600 boards configured via the device-tree
diff --git a/arch/arm/plat-spear/Kconfig b/arch/arm/plat-spear/Kconfig
index 739d016eb273..e288df90c746 100644
--- a/arch/arm/plat-spear/Kconfig
+++ b/arch/arm/plat-spear/Kconfig
@@ -39,9 +39,52 @@ config ARCH_SPEAR6XX
39 39
40endchoice 40endchoice
41 41
42# Adding SPEAr machine specific configuration files 42if ARCH_SPEAR13XX
43source "arch/arm/mach-spear13xx/Kconfig" 43
44source "arch/arm/mach-spear3xx/Kconfig" 44menu "SPEAr13xx Implementations"
45source "arch/arm/mach-spear6xx/Kconfig" 45config MACH_SPEAR1310
46 bool "SPEAr1310 Machine support with Device Tree"
47 select PINCTRL_SPEAR1310
48 help
49 Supports ST SPEAr1310 machine configured via the device-tree
50
51config MACH_SPEAR1340
52 bool "SPEAr1340 Machine support with Device Tree"
53 select PINCTRL_SPEAR1340
54 help
55 Supports ST SPEAr1340 machine configured via the device-tree
56endmenu
57endif #ARCH_SPEAR13XX
58
59if ARCH_SPEAR3XX
60
61menu "SPEAr3xx Implementations"
62config MACH_SPEAR300
63 bool "SPEAr300 Machine support with Device Tree"
64 select PINCTRL_SPEAR300
65 help
66 Supports ST SPEAr300 machine configured via the device-tree
67
68config MACH_SPEAR310
69 bool "SPEAr310 Machine support with Device Tree"
70 select PINCTRL_SPEAR310
71 help
72 Supports ST SPEAr310 machine configured via the device-tree
73
74config MACH_SPEAR320
75 bool "SPEAr320 Machine support with Device Tree"
76 select PINCTRL_SPEAR320
77 help
78 Supports ST SPEAr320 machine configured via the device-tree
79endmenu
80
81endif
82
83config MACH_SPEAR600
84 def_bool y
85 depends on ARCH_SPEAR6XX
86 select USE_OF
87 help
88 Supports ST SPEAr600 boards configured via the device-treesource "arch/arm/mach-spear6xx/Kconfig"
46 89
47endif 90endif