diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-05-14 04:29:12 -0400 |
---|---|---|
committer | Paul Mundt <lethal@hera.kernel.org> | 2007-06-07 22:43:38 -0400 |
commit | f3d2229852697062d530f19742f0ab792b92873d (patch) | |
tree | fe7f1a56d87b5bea39a60f46b04308a7eab4e98c /arch/sh/mm | |
parent | 882c12c4e1a95e55227f06dbb99eca90f237c018 (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/Kconfig | 21 |
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 @@ | |||
1 | menu "Processor selection" | ||
2 | |||
3 | # | 1 | # |
4 | # Processor families | 2 | # Processor families |
5 | # | 3 | # |
@@ -38,11 +36,14 @@ config CPU_SUBTYPE_ST40 | |||
38 | config CPU_SHX2 | 36 | config CPU_SHX2 |
39 | bool | 37 | bool |
40 | 38 | ||
39 | choice | ||
40 | prompt "Processor sub-type selection" | ||
41 | |||
41 | # | 42 | # |
42 | # Processor subtypes | 43 | # Processor subtypes |
43 | # | 44 | # |
44 | 45 | ||
45 | comment "SH-2 Processor Support" | 46 | # SH-2 Processor Support |
46 | 47 | ||
47 | config CPU_SUBTYPE_SH7604 | 48 | config 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 | ||
55 | comment "SH-2A Processor Support" | 56 | # SH-2A Processor Support |
56 | 57 | ||
57 | config CPU_SUBTYPE_SH7206 | 58 | config CPU_SUBTYPE_SH7206 |
58 | bool "Support SH7206 processor" | 59 | bool "Support SH7206 processor" |
59 | select CPU_SH2A | 60 | select CPU_SH2A |
60 | 61 | ||
61 | comment "SH-3 Processor Support" | 62 | # SH-3 Processor Support |
62 | 63 | ||
63 | config CPU_SUBTYPE_SH7300 | 64 | config 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 | ||
116 | comment "SH-4 Processor Support" | 117 | # SH-4 Processor Support |
117 | 118 | ||
118 | config CPU_SUBTYPE_SH7750 | 119 | config 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 | ||
169 | comment "ST40 Processor Support" | 170 | # ST40 Processor Support |
170 | 171 | ||
171 | config CPU_SUBTYPE_ST40STB1 | 172 | config 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 | ||
184 | comment "SH-4A Processor Support" | 185 | # SH-4A Processor Support |
185 | 186 | ||
186 | config CPU_SUBTYPE_SH7770 | 187 | config 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 | ||
201 | comment "SH4AL-DSP Processor Support" | 202 | # SH4AL-DSP Processor Support |
202 | 203 | ||
203 | config CPU_SUBTYPE_SH73180 | 204 | config 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 | ||
217 | endmenu | 218 | endchoice |
218 | 219 | ||
219 | menu "Memory management options" | 220 | menu "Memory management options" |
220 | 221 | ||