diff options
Diffstat (limited to 'arch/sh/mm/Kconfig')
-rw-r--r-- | arch/sh/mm/Kconfig | 78 |
1 files changed, 72 insertions, 6 deletions
diff --git a/arch/sh/mm/Kconfig b/arch/sh/mm/Kconfig index fb586b1cf8bb..9dd606464d23 100644 --- a/arch/sh/mm/Kconfig +++ b/arch/sh/mm/Kconfig | |||
@@ -20,7 +20,10 @@ config CPU_SH4 | |||
20 | config CPU_SH4A | 20 | config CPU_SH4A |
21 | bool | 21 | bool |
22 | select CPU_SH4 | 22 | select CPU_SH4 |
23 | select CPU_HAS_INTC2_IRQ | 23 | |
24 | config CPU_SH4AL_DSP | ||
25 | bool | ||
26 | select CPU_SH4A | ||
24 | 27 | ||
25 | config CPU_SUBTYPE_ST40 | 28 | config CPU_SUBTYPE_ST40 |
26 | bool | 29 | bool |
@@ -48,6 +51,12 @@ config CPU_SUBTYPE_SH7705 | |||
48 | select CPU_SH3 | 51 | select CPU_SH3 |
49 | select CPU_HAS_PINT_IRQ | 52 | select CPU_HAS_PINT_IRQ |
50 | 53 | ||
54 | config CPU_SUBTYPE_SH7706 | ||
55 | bool "Support SH7706 processor" | ||
56 | select CPU_SH3 | ||
57 | help | ||
58 | Select SH7706 if you have a 133 Mhz SH-3 HD6417706 CPU. | ||
59 | |||
51 | config CPU_SUBTYPE_SH7707 | 60 | config CPU_SUBTYPE_SH7707 |
52 | bool "Support SH7707 processor" | 61 | bool "Support SH7707 processor" |
53 | select CPU_SH3 | 62 | select CPU_SH3 |
@@ -69,6 +78,12 @@ config CPU_SUBTYPE_SH7709 | |||
69 | help | 78 | help |
70 | Select SH7709 if you have a 80 Mhz SH-3 HD6417709 CPU. | 79 | Select SH7709 if you have a 80 Mhz SH-3 HD6417709 CPU. |
71 | 80 | ||
81 | config CPU_SUBTYPE_SH7710 | ||
82 | bool "Support SH7710 processor" | ||
83 | select CPU_SH3 | ||
84 | help | ||
85 | Select SH7710 if you have a SH3-DSP SH7710 CPU. | ||
86 | |||
72 | comment "SH-4 Processor Support" | 87 | comment "SH-4 Processor Support" |
73 | 88 | ||
74 | config CPU_SUBTYPE_SH7750 | 89 | config CPU_SUBTYPE_SH7750 |
@@ -133,10 +148,6 @@ config CPU_SUBTYPE_ST40GX1 | |||
133 | 148 | ||
134 | comment "SH-4A Processor Support" | 149 | comment "SH-4A Processor Support" |
135 | 150 | ||
136 | config CPU_SUBTYPE_SH73180 | ||
137 | bool "Support SH73180 processor" | ||
138 | select CPU_SH4A | ||
139 | |||
140 | config CPU_SUBTYPE_SH7770 | 151 | config CPU_SUBTYPE_SH7770 |
141 | bool "Support SH7770 processor" | 152 | bool "Support SH7770 processor" |
142 | select CPU_SH4A | 153 | select CPU_SH4A |
@@ -144,6 +155,17 @@ config CPU_SUBTYPE_SH7770 | |||
144 | config CPU_SUBTYPE_SH7780 | 155 | config CPU_SUBTYPE_SH7780 |
145 | bool "Support SH7780 processor" | 156 | bool "Support SH7780 processor" |
146 | select CPU_SH4A | 157 | select CPU_SH4A |
158 | select CPU_HAS_INTC2_IRQ | ||
159 | |||
160 | comment "SH4AL-DSP Processor Support" | ||
161 | |||
162 | config CPU_SUBTYPE_SH73180 | ||
163 | bool "Support SH73180 processor" | ||
164 | select CPU_SH4AL_DSP | ||
165 | |||
166 | config CPU_SUBTYPE_SH7343 | ||
167 | bool "Support SH7343 processor" | ||
168 | select CPU_SH4AL_DSP | ||
147 | 169 | ||
148 | endmenu | 170 | endmenu |
149 | 171 | ||
@@ -161,15 +183,59 @@ config MMU | |||
161 | turning this off will boot the kernel on these machines with the | 183 | turning this off will boot the kernel on these machines with the |
162 | MMU implicitly switched off. | 184 | MMU implicitly switched off. |
163 | 185 | ||
186 | config PAGE_OFFSET | ||
187 | hex | ||
188 | default "0x80000000" if MMU | ||
189 | default "0x00000000" | ||
190 | |||
191 | config MEMORY_START | ||
192 | hex "Physical memory start address" | ||
193 | default "0x08000000" | ||
194 | ---help--- | ||
195 | Computers built with Hitachi SuperH processors always | ||
196 | map the ROM starting at address zero. But the processor | ||
197 | does not specify the range that RAM takes. | ||
198 | |||
199 | The physical memory (RAM) start address will be automatically | ||
200 | set to 08000000. Other platforms, such as the Solution Engine | ||
201 | boards typically map RAM at 0C000000. | ||
202 | |||
203 | Tweak this only when porting to a new machine which does not | ||
204 | already have a defconfig. Changing it from the known correct | ||
205 | value on any of the known systems will only lead to disaster. | ||
206 | |||
207 | config MEMORY_SIZE | ||
208 | hex "Physical memory size" | ||
209 | default "0x00400000" | ||
210 | help | ||
211 | This sets the default memory size assumed by your SH kernel. It can | ||
212 | be overridden as normal by the 'mem=' argument on the kernel command | ||
213 | line. If unsure, consult your board specifications or just leave it | ||
214 | as 0x00400000 which was the default value before this became | ||
215 | configurable. | ||
216 | |||
164 | config 32BIT | 217 | config 32BIT |
165 | bool "Support 32-bit physical addressing through PMB" | 218 | bool "Support 32-bit physical addressing through PMB" |
166 | depends on CPU_SH4A | 219 | depends on CPU_SH4A && MMU |
167 | default y | 220 | default y |
168 | help | 221 | help |
169 | If you say Y here, physical addressing will be extended to | 222 | If you say Y here, physical addressing will be extended to |
170 | 32-bits through the SH-4A PMB. If this is not set, legacy | 223 | 32-bits through the SH-4A PMB. If this is not set, legacy |
171 | 29-bit physical addressing will be used. | 224 | 29-bit physical addressing will be used. |
172 | 225 | ||
226 | config VSYSCALL | ||
227 | bool "Support vsyscall page" | ||
228 | depends on MMU | ||
229 | default y | ||
230 | help | ||
231 | This will enable support for the kernel mapping a vDSO page | ||
232 | in process space, and subsequently handing down the entry point | ||
233 | to the libc through the ELF auxiliary vector. | ||
234 | |||
235 | From the kernel side this is used for the signal trampoline. | ||
236 | For systems with an MMU that can afford to give up a page, | ||
237 | (the default value) say Y. | ||
238 | |||
173 | choice | 239 | choice |
174 | prompt "HugeTLB page size" | 240 | prompt "HugeTLB page size" |
175 | depends on HUGETLB_PAGE && CPU_SH4 && MMU | 241 | depends on HUGETLB_PAGE && CPU_SH4 && MMU |