diff options
author | Paul Mundt <lethal@linux-sh.org> | 2010-02-12 01:40:00 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-02-12 01:40:00 -0500 |
commit | b0f3ae03aca0f331b851ae94bc066124e7f104df (patch) | |
tree | 510b641df1414800abcbe022986d5c9075017759 /arch/sh/mm/Kconfig | |
parent | a4dad4c75c4ae378c2a5d66938b8467802c2e98f (diff) |
sh: Isolate uncached mapping support.
This splits out the uncached mapping support under its own config option,
presently only used by 29-bit mode and 32-bit + PMB. This will make it
possible to optionally add an uncached mapping on sh64 as well as booting
without an uncached mapping for 32-bit.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/mm/Kconfig')
-rw-r--r-- | arch/sh/mm/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/sh/mm/Kconfig b/arch/sh/mm/Kconfig index b89075256b70..65cb5b83e072 100644 --- a/arch/sh/mm/Kconfig +++ b/arch/sh/mm/Kconfig | |||
@@ -75,6 +75,7 @@ config MEMORY_SIZE | |||
75 | config 29BIT | 75 | config 29BIT |
76 | def_bool !32BIT | 76 | def_bool !32BIT |
77 | depends on SUPERH32 | 77 | depends on SUPERH32 |
78 | select UNCACHED_MAPPING | ||
78 | 79 | ||
79 | config 32BIT | 80 | config 32BIT |
80 | bool | 81 | bool |
@@ -84,6 +85,7 @@ config PMB | |||
84 | bool "Support 32-bit physical addressing through PMB" | 85 | bool "Support 32-bit physical addressing through PMB" |
85 | depends on MMU && EXPERIMENTAL && CPU_SH4A && !CPU_SH4AL_DSP | 86 | depends on MMU && EXPERIMENTAL && CPU_SH4A && !CPU_SH4AL_DSP |
86 | select 32BIT | 87 | select 32BIT |
88 | select UNCACHED_MAPPING | ||
87 | help | 89 | help |
88 | If you say Y here, physical addressing will be extended to | 90 | If you say Y here, physical addressing will be extended to |
89 | 32-bits through the SH-4A PMB. If this is not set, legacy | 91 | 32-bits through the SH-4A PMB. If this is not set, legacy |
@@ -173,6 +175,9 @@ config IOREMAP_FIXED | |||
173 | def_bool y | 175 | def_bool y |
174 | depends on X2TLB || SUPERH64 | 176 | depends on X2TLB || SUPERH64 |
175 | 177 | ||
178 | config UNCACHED_MAPPING | ||
179 | bool | ||
180 | |||
176 | choice | 181 | choice |
177 | prompt "Kernel page size" | 182 | prompt "Kernel page size" |
178 | default PAGE_SIZE_4KB | 183 | default PAGE_SIZE_4KB |