diff options
Diffstat (limited to 'arch/sh/mm')
-rw-r--r-- | arch/sh/mm/Kconfig | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/arch/sh/mm/Kconfig b/arch/sh/mm/Kconfig index a953989ada47..d186c5067fad 100644 --- a/arch/sh/mm/Kconfig +++ b/arch/sh/mm/Kconfig | |||
@@ -336,25 +336,27 @@ config ARCH_MEMORY_PROBE | |||
336 | 336 | ||
337 | choice | 337 | choice |
338 | prompt "Kernel page size" | 338 | prompt "Kernel page size" |
339 | default PAGE_SIZE_8KB if X2TLB | ||
339 | default PAGE_SIZE_4KB | 340 | default PAGE_SIZE_4KB |
340 | 341 | ||
341 | config PAGE_SIZE_4KB | 342 | config PAGE_SIZE_4KB |
342 | bool "4kB" | 343 | bool "4kB" |
344 | depends on !X2TLB | ||
343 | help | 345 | help |
344 | This is the default page size used by all SuperH CPUs. | 346 | This is the default page size used by all SuperH CPUs. |
345 | 347 | ||
346 | config PAGE_SIZE_8KB | 348 | config PAGE_SIZE_8KB |
347 | bool "8kB" | 349 | bool "8kB" |
348 | depends on EXPERIMENTAL && X2TLB | 350 | depends on X2TLB |
349 | help | 351 | help |
350 | This enables 8kB pages as supported by SH-X2 and later MMUs. | 352 | This enables 8kB pages as supported by SH-X2 and later MMUs. |
351 | 353 | ||
352 | config PAGE_SIZE_64KB | 354 | config PAGE_SIZE_64KB |
353 | bool "64kB" | 355 | bool "64kB" |
354 | depends on EXPERIMENTAL && CPU_SH4 | 356 | depends on CPU_SH4 |
355 | help | 357 | help |
356 | This enables support for 64kB pages, possible on all SH-4 | 358 | This enables support for 64kB pages, possible on all SH-4 |
357 | CPUs and later. Highly experimental, not recommended. | 359 | CPUs and later. |
358 | 360 | ||
359 | endchoice | 361 | endchoice |
360 | 362 | ||