diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-02-26 19:54:27 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-02-26 19:54:27 -0500 |
commit | 64d497f55379b1e320a08ec2426468d96f5642ec (patch) | |
tree | 22b9ab3c5e69c5cc2728cbc2ca7fc7623beef8f1 /arch/sh/mm/Kconfig | |
parent | 37d4008484977f60d5d37499a2670c79b214dd46 (diff) | |
parent | b5f5fe80fa98a60daa0fa94512d1599b1e26674c (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6: (187 commits)
sh: remove dead LED code for migo-r and ms7724se
sh: ecovec build fix for CONFIG_I2C=n
sh: ecovec r-standby support
sh: ms7724se r-standby support
sh: SH-Mobile R-standby register save/restore
clocksource: Fix up a registration/IRQ race in the sh drivers.
sh: ms7724: modify scan_timing for KEYSC
sh: ms7724: Add sh_sir support
sh: mach-ecovec24: Add sh_sir support
sh: wire up SET/GET_UNALIGN_CTL.
sh: allow alignment fault mode to be configured at kernel boot.
sh: sh7724: Update FSI/SPU2 clock
sh: always enable sh7724 vpu_clk and set to 166MHz on Ecovec
sh: add sh7724 kick callback to clk_div4_table
sh: introduce struct clk_div4_table
sh: clock-cpg div4 set_rate() shift fix
sh: Turn on speculative return for SH7785 and SH7786
sh: Merge legacy and dynamic PMB modes.
sh: Use uncached I/O helpers in PMB setup.
sh: Provide uncached I/O helpers.
...
Diffstat (limited to 'arch/sh/mm/Kconfig')
-rw-r--r-- | arch/sh/mm/Kconfig | 48 |
1 files changed, 13 insertions, 35 deletions
diff --git a/arch/sh/mm/Kconfig b/arch/sh/mm/Kconfig index 986a71b88ca3..1445ca6257df 100644 --- a/arch/sh/mm/Kconfig +++ b/arch/sh/mm/Kconfig | |||
@@ -75,52 +75,25 @@ 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 |
81 | default y if CPU_SH5 | 82 | default y if CPU_SH5 |
82 | 83 | ||
83 | config PMB_ENABLE | ||
84 | bool "Support 32-bit physical addressing through PMB" | ||
85 | depends on MMU && EXPERIMENTAL && CPU_SH4A && !CPU_SH4AL_DSP | ||
86 | help | ||
87 | If you say Y here, physical addressing will be extended to | ||
88 | 32-bits through the SH-4A PMB. If this is not set, legacy | ||
89 | 29-bit physical addressing will be used. | ||
90 | |||
91 | choice | ||
92 | prompt "PMB handling type" | ||
93 | depends on PMB_ENABLE | ||
94 | default PMB_FIXED | ||
95 | |||
96 | config PMB | 84 | config PMB |
97 | bool "PMB" | 85 | bool "Support 32-bit physical addressing through PMB" |
98 | depends on MMU && EXPERIMENTAL && CPU_SH4A && !CPU_SH4AL_DSP | 86 | depends on MMU && EXPERIMENTAL && CPU_SH4A && !CPU_SH4AL_DSP |
87 | select 32BIT | ||
88 | select UNCACHED_MAPPING | ||
99 | help | 89 | help |
100 | If you say Y here, physical addressing will be extended to | 90 | If you say Y here, physical addressing will be extended to |
101 | 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 |
102 | 29-bit physical addressing will be used. | 92 | 29-bit physical addressing will be used. |
103 | 93 | ||
104 | config PMB_FIXED | ||
105 | bool "fixed PMB" | ||
106 | depends on MMU && EXPERIMENTAL && CPU_SH4A && !CPU_SH4AL_DSP | ||
107 | select 32BIT | ||
108 | help | ||
109 | If this option is enabled, fixed PMB mappings are inherited | ||
110 | from the boot loader, and the kernel does not attempt dynamic | ||
111 | management. This is the closest to legacy 29-bit physical mode, | ||
112 | and allows systems to support up to 512MiB of system memory. | ||
113 | |||
114 | endchoice | ||
115 | |||
116 | config X2TLB | 94 | config X2TLB |
117 | bool "Enable extended TLB mode" | 95 | def_bool y |
118 | depends on (CPU_SHX2 || CPU_SHX3) && MMU && EXPERIMENTAL | 96 | depends on (CPU_SHX2 || CPU_SHX3) && MMU |
119 | help | ||
120 | Selecting this option will enable the extended mode of the SH-X2 | ||
121 | TLB. For legacy SH-X behaviour and interoperability, say N. For | ||
122 | all of the fun new features and a willingless to submit bug reports, | ||
123 | say Y. | ||
124 | 97 | ||
125 | config VSYSCALL | 98 | config VSYSCALL |
126 | bool "Support vsyscall page" | 99 | bool "Support vsyscall page" |
@@ -188,14 +161,19 @@ config ARCH_MEMORY_PROBE | |||
188 | def_bool y | 161 | def_bool y |
189 | depends on MEMORY_HOTPLUG | 162 | depends on MEMORY_HOTPLUG |
190 | 163 | ||
164 | config IOREMAP_FIXED | ||
165 | def_bool y | ||
166 | depends on X2TLB || SUPERH64 | ||
167 | |||
168 | config UNCACHED_MAPPING | ||
169 | bool | ||
170 | |||
191 | choice | 171 | choice |
192 | prompt "Kernel page size" | 172 | prompt "Kernel page size" |
193 | default PAGE_SIZE_8KB if X2TLB | ||
194 | default PAGE_SIZE_4KB | 173 | default PAGE_SIZE_4KB |
195 | 174 | ||
196 | config PAGE_SIZE_4KB | 175 | config PAGE_SIZE_4KB |
197 | bool "4kB" | 176 | bool "4kB" |
198 | depends on !MMU || !X2TLB | ||
199 | help | 177 | help |
200 | This is the default page size used by all SuperH CPUs. | 178 | This is the default page size used by all SuperH CPUs. |
201 | 179 | ||