aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/mm
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-05-14 04:29:12 -0400
committerPaul Mundt <lethal@hera.kernel.org>2007-06-07 22:43:38 -0400
commitf3d2229852697062d530f19742f0ab792b92873d (patch)
treefe7f1a56d87b5bea39a60f46b04308a7eab4e98c /arch/sh/mm
parent882c12c4e1a95e55227f06dbb99eca90f237c018 (diff)
sh: Rework CPU/board dependencies.
This was a big mess, rework the logic a bit so that we constrain to a particular subtype and figure out the board support based on that. This makes building subtype specific kernels supporting multiple boards possible again. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/mm')
-rw-r--r--arch/sh/mm/Kconfig21
1 files changed, 11 insertions, 10 deletions
diff --git a/arch/sh/mm/Kconfig b/arch/sh/mm/Kconfig
index 253346d7b31..8f826b03f9f 100644
--- a/arch/sh/mm/Kconfig
+++ b/arch/sh/mm/Kconfig
@@ -1,5 +1,3 @@
1menu "Processor selection"
2
3# 1#
4# Processor families 2# Processor families
5# 3#
@@ -38,11 +36,14 @@ config CPU_SUBTYPE_ST40
38config CPU_SHX2 36config CPU_SHX2
39 bool 37 bool
40 38
39choice
40 prompt "Processor sub-type selection"
41
41# 42#
42# Processor subtypes 43# Processor subtypes
43# 44#
44 45
45comment "SH-2 Processor Support" 46# SH-2 Processor Support
46 47
47config CPU_SUBTYPE_SH7604 48config CPU_SUBTYPE_SH7604
48 bool "Support SH7604 processor" 49 bool "Support SH7604 processor"
@@ -52,13 +53,13 @@ config CPU_SUBTYPE_SH7619
52 bool "Support SH7619 processor" 53 bool "Support SH7619 processor"
53 select CPU_SH2 54 select CPU_SH2
54 55
55comment "SH-2A Processor Support" 56# SH-2A Processor Support
56 57
57config CPU_SUBTYPE_SH7206 58config CPU_SUBTYPE_SH7206
58 bool "Support SH7206 processor" 59 bool "Support SH7206 processor"
59 select CPU_SH2A 60 select CPU_SH2A
60 61
61comment "SH-3 Processor Support" 62# SH-3 Processor Support
62 63
63config CPU_SUBTYPE_SH7300 64config CPU_SUBTYPE_SH7300
64 bool "Support SH7300 processor" 65 bool "Support SH7300 processor"
@@ -113,7 +114,7 @@ config CPU_SUBTYPE_SH7712
113 help 114 help
114 Select SH7712 if you have a SH3-DSP SH7712 CPU. 115 Select SH7712 if you have a SH3-DSP SH7712 CPU.
115 116
116comment "SH-4 Processor Support" 117# SH-4 Processor Support
117 118
118config CPU_SUBTYPE_SH7750 119config CPU_SUBTYPE_SH7750
119 bool "Support SH7750 processor" 120 bool "Support SH7750 processor"
@@ -166,7 +167,7 @@ config CPU_SUBTYPE_SH4_202
166 bool "Support SH4-202 processor" 167 bool "Support SH4-202 processor"
167 select CPU_SH4 168 select CPU_SH4
168 169
169comment "ST40 Processor Support" 170# ST40 Processor Support
170 171
171config CPU_SUBTYPE_ST40STB1 172config CPU_SUBTYPE_ST40STB1
172 bool "Support ST40STB1/ST40RA processors" 173 bool "Support ST40STB1/ST40RA processors"
@@ -181,7 +182,7 @@ config CPU_SUBTYPE_ST40GX1
181 help 182 help
182 Select ST40GX1 if you have a ST40GX1 CPU. 183 Select ST40GX1 if you have a ST40GX1 CPU.
183 184
184comment "SH-4A Processor Support" 185# SH-4A Processor Support
185 186
186config CPU_SUBTYPE_SH7770 187config CPU_SUBTYPE_SH7770
187 bool "Support SH7770 processor" 188 bool "Support SH7770 processor"
@@ -198,7 +199,7 @@ config CPU_SUBTYPE_SH7785
198 select CPU_SHX2 199 select CPU_SHX2
199 select CPU_HAS_INTC2_IRQ 200 select CPU_HAS_INTC2_IRQ
200 201
201comment "SH4AL-DSP Processor Support" 202# SH4AL-DSP Processor Support
202 203
203config CPU_SUBTYPE_SH73180 204config CPU_SUBTYPE_SH73180
204 bool "Support SH73180 processor" 205 bool "Support SH73180 processor"
@@ -214,7 +215,7 @@ config CPU_SUBTYPE_SH7722
214 select CPU_SHX2 215 select CPU_SHX2
215 select CPU_HAS_IPR_IRQ 216 select CPU_HAS_IPR_IRQ
216 217
217endmenu 218endchoice
218 219
219menu "Memory management options" 220menu "Memory management options"
220 221