aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-11-08 04:54:16 -0500
committerPaul Mundt <lethal@linux-sh.org>2008-01-27 23:18:39 -0500
commita09063da33a222adaceea85c9d168cbbb3e626b0 (patch)
tree93e836e3b3927439ff960f02e4ee670d8d40d37a
parentc20c20047b1aa4ba6fc2bb4e9ab91402026c3e71 (diff)
sh: Switch Kconfig.sh64 to use arch/sh/mm/Kconfig.
Consolidates the HUGETLB definitions and others. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r--arch/sh/Kconfig.sh6425
-rw-r--r--arch/sh/mm/Kconfig10
2 files changed, 14 insertions, 21 deletions
diff --git a/arch/sh/Kconfig.sh64 b/arch/sh/Kconfig.sh64
index 6884d5a518ad..20db5e0c1401 100644
--- a/arch/sh/Kconfig.sh64
+++ b/arch/sh/Kconfig.sh64
@@ -131,22 +131,6 @@ config SH64_PGTABLE_3_LEVEL
131 131
132endchoice 132endchoice
133 133
134choice
135 prompt "HugeTLB page size"
136 depends on HUGETLB_PAGE && MMU
137 default HUGETLB_PAGE_SIZE_64K
138
139config HUGETLB_PAGE_SIZE_64K
140 bool "64K"
141
142config HUGETLB_PAGE_SIZE_1MB
143 bool "1MB"
144
145config HUGETLB_PAGE_SIZE_512MB
146 bool "512MB"
147
148endchoice
149
150config SH64_USER_MISALIGNED_FIXUP 134config SH64_USER_MISALIGNED_FIXUP
151 bool "Fixup misaligned loads/stores occurring in user mode" 135 bool "Fixup misaligned loads/stores occurring in user mode"
152 136
@@ -226,7 +210,12 @@ config PREEMPT
226 bool "Preemptible Kernel (EXPERIMENTAL)" 210 bool "Preemptible Kernel (EXPERIMENTAL)"
227 depends on EXPERIMENTAL 211 depends on EXPERIMENTAL
228 212
229source "mm/Kconfig" 213config SH_PCLK_FREQ
214 int "Peripheral clock frequency (in Hz)"
215 default "50000000"
216
217source "kernel/Kconfig.hz"
218source "arch/sh/mm/Kconfig"
230 219
231endmenu 220endmenu
232 221
@@ -286,7 +275,7 @@ source "fs/Kconfig"
286 275
287source "kernel/Kconfig.instrumentation" 276source "kernel/Kconfig.instrumentation"
288 277
289source "arch/sh64/Kconfig.debug" 278source "arch/sh/Kconfig.debug"
290 279
291source "security/Kconfig" 280source "security/Kconfig"
292 281
diff --git a/arch/sh/mm/Kconfig b/arch/sh/mm/Kconfig
index 998c5c86346f..a7bbc2cbbf8c 100644
--- a/arch/sh/mm/Kconfig
+++ b/arch/sh/mm/Kconfig
@@ -66,7 +66,7 @@ config X2TLB
66 66
67config VSYSCALL 67config VSYSCALL
68 bool "Support vsyscall page" 68 bool "Support vsyscall page"
69 depends on MMU 69 depends on MMU && (CPU_SH3 || CPU_SH4)
70 default y 70 default y
71 help 71 help
72 This will enable support for the kernel mapping a vDSO page 72 This will enable support for the kernel mapping a vDSO page
@@ -175,6 +175,10 @@ config HUGETLB_PAGE_SIZE_64MB
175 bool "64MB" 175 bool "64MB"
176 depends on X2TLB 176 depends on X2TLB
177 177
178config HUGETLB_PAGE_SIZE_512MB
179 bool "512MB"
180 depends on CPU_SH5
181
178endchoice 182endchoice
179 183
180source "mm/Kconfig" 184source "mm/Kconfig"
@@ -202,12 +206,12 @@ config SH_DIRECT_MAPPED
202 206
203choice 207choice
204 prompt "Cache mode" 208 prompt "Cache mode"
205 default CACHE_WRITEBACK if CPU_SH2A || CPU_SH3 || CPU_SH4 209 default CACHE_WRITEBACK if CPU_SH2A || CPU_SH3 || CPU_SH4 || CPU_SH5
206 default CACHE_WRITETHROUGH if (CPU_SH2 && !CPU_SH2A) 210 default CACHE_WRITETHROUGH if (CPU_SH2 && !CPU_SH2A)
207 211
208config CACHE_WRITEBACK 212config CACHE_WRITEBACK
209 bool "Write-back" 213 bool "Write-back"
210 depends on CPU_SH2A || CPU_SH3 || CPU_SH4 214 depends on CPU_SH2A || CPU_SH3 || CPU_SH4 || CPU_SH5
211 215
212config CACHE_WRITETHROUGH 216config CACHE_WRITETHROUGH
213 bool "Write-through" 217 bool "Write-through"