diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2008-08-07 04:55:03 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-08-07 04:55:03 -0400 |
commit | 4fb8af10d0fd09372d52966b76922b9e82bbc950 (patch) | |
tree | d240e4d40357583e3f3eb228dccf20122a5b31ed /arch/sh/mm/Kconfig | |
parent | f44f82e8a20b98558486eb14497b2f71c78fa325 (diff) | |
parent | 64a99d2a8c3ed5c4e39f3ae1cc682aa8fd3977fc (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fixes
Diffstat (limited to 'arch/sh/mm/Kconfig')
-rw-r--r-- | arch/sh/mm/Kconfig | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/arch/sh/mm/Kconfig b/arch/sh/mm/Kconfig index 5fd218430b19..9c131cac91a4 100644 --- a/arch/sh/mm/Kconfig +++ b/arch/sh/mm/Kconfig | |||
@@ -145,25 +145,39 @@ choice | |||
145 | 145 | ||
146 | config PAGE_SIZE_4KB | 146 | config PAGE_SIZE_4KB |
147 | bool "4kB" | 147 | bool "4kB" |
148 | depends on !X2TLB | 148 | depends on !MMU || !X2TLB |
149 | help | 149 | help |
150 | This is the default page size used by all SuperH CPUs. | 150 | This is the default page size used by all SuperH CPUs. |
151 | 151 | ||
152 | config PAGE_SIZE_8KB | 152 | config PAGE_SIZE_8KB |
153 | bool "8kB" | 153 | bool "8kB" |
154 | depends on X2TLB | 154 | depends on !MMU || X2TLB |
155 | help | 155 | help |
156 | This enables 8kB pages as supported by SH-X2 and later MMUs. | 156 | This enables 8kB pages as supported by SH-X2 and later MMUs. |
157 | 157 | ||
158 | config PAGE_SIZE_16KB | ||
159 | bool "16kB" | ||
160 | depends on !MMU | ||
161 | help | ||
162 | This enables 16kB pages on MMU-less SH systems. | ||
163 | |||
158 | config PAGE_SIZE_64KB | 164 | config PAGE_SIZE_64KB |
159 | bool "64kB" | 165 | bool "64kB" |
160 | depends on CPU_SH4 || CPU_SH5 | 166 | depends on !MMU || CPU_SH4 || CPU_SH5 |
161 | help | 167 | help |
162 | This enables support for 64kB pages, possible on all SH-4 | 168 | This enables support for 64kB pages, possible on all SH-4 |
163 | CPUs and later. | 169 | CPUs and later. |
164 | 170 | ||
165 | endchoice | 171 | endchoice |
166 | 172 | ||
173 | config ENTRY_OFFSET | ||
174 | hex | ||
175 | default "0x00001000" if PAGE_SIZE_4KB | ||
176 | default "0x00002000" if PAGE_SIZE_8KB | ||
177 | default "0x00004000" if PAGE_SIZE_16KB | ||
178 | default "0x00010000" if PAGE_SIZE_64KB | ||
179 | default "0x00000000" | ||
180 | |||
167 | choice | 181 | choice |
168 | prompt "HugeTLB page size" | 182 | prompt "HugeTLB page size" |
169 | depends on HUGETLB_PAGE && (CPU_SH4 || CPU_SH5) && MMU | 183 | depends on HUGETLB_PAGE && (CPU_SH4 || CPU_SH5) && MMU |
@@ -223,7 +237,6 @@ choice | |||
223 | 237 | ||
224 | config CACHE_WRITEBACK | 238 | config CACHE_WRITEBACK |
225 | bool "Write-back" | 239 | bool "Write-back" |
226 | depends on CPU_SH2A || CPU_SH3 || CPU_SH4 || CPU_SH5 | ||
227 | 240 | ||
228 | config CACHE_WRITETHROUGH | 241 | config CACHE_WRITETHROUGH |
229 | bool "Write-through" | 242 | bool "Write-through" |