diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-11-08 04:46:51 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-01-27 23:18:38 -0500 |
commit | 2c6deb5ea414c26483578d41d8537d54dd2d282f (patch) | |
tree | 10eb84d2cac3ffa2ac0fa54fb8347c49f3a61b8e /arch/sh | |
parent | 8d5fb297cc8f9f7de2840864e497bc38330abba6 (diff) |
sh: Move the sh64 Kconfig to arch/sh/Kconfig.sh64.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/Kconfig.sh64 | 295 |
1 files changed, 295 insertions, 0 deletions
diff --git a/arch/sh/Kconfig.sh64 b/arch/sh/Kconfig.sh64 new file mode 100644 index 000000000000..6884d5a518ad --- /dev/null +++ b/arch/sh/Kconfig.sh64 | |||
@@ -0,0 +1,295 @@ | |||
1 | # | ||
2 | # For a description of the syntax of this configuration file, | ||
3 | # see Documentation/kbuild/kconfig-language.txt. | ||
4 | # | ||
5 | |||
6 | mainmenu "Linux/SH64 Kernel Configuration" | ||
7 | |||
8 | config SUPERH | ||
9 | bool | ||
10 | default y | ||
11 | |||
12 | config SUPERH64 | ||
13 | bool | ||
14 | default y | ||
15 | |||
16 | config MMU | ||
17 | bool | ||
18 | default y | ||
19 | |||
20 | config QUICKLIST | ||
21 | def_bool y | ||
22 | |||
23 | config RWSEM_GENERIC_SPINLOCK | ||
24 | bool | ||
25 | default y | ||
26 | |||
27 | config GENERIC_FIND_NEXT_BIT | ||
28 | bool | ||
29 | default y | ||
30 | |||
31 | config GENERIC_HWEIGHT | ||
32 | bool | ||
33 | default y | ||
34 | |||
35 | config GENERIC_CALIBRATE_DELAY | ||
36 | bool | ||
37 | default y | ||
38 | |||
39 | config GENERIC_HARDIRQS | ||
40 | bool | ||
41 | default y | ||
42 | |||
43 | config GENERIC_IRQ_PROBE | ||
44 | bool | ||
45 | default y | ||
46 | |||
47 | config RWSEM_XCHGADD_ALGORITHM | ||
48 | bool | ||
49 | |||
50 | config ARCH_HAS_ILOG2_U32 | ||
51 | bool | ||
52 | default n | ||
53 | |||
54 | config ARCH_HAS_ILOG2_U64 | ||
55 | bool | ||
56 | default n | ||
57 | |||
58 | config ARCH_NO_VIRT_TO_BUS | ||
59 | def_bool y | ||
60 | |||
61 | source init/Kconfig | ||
62 | |||
63 | menu "System type" | ||
64 | |||
65 | choice | ||
66 | prompt "SuperH system type" | ||
67 | default SH_SIMULATOR | ||
68 | |||
69 | config SH_SIMULATOR | ||
70 | bool "Simulator" | ||
71 | |||
72 | config SH_CAYMAN | ||
73 | bool "Cayman" | ||
74 | |||
75 | config SH_HARP | ||
76 | bool "ST50-Harp" | ||
77 | |||
78 | endchoice | ||
79 | |||
80 | choice | ||
81 | prompt "Processor family" | ||
82 | default CPU_SH5 | ||
83 | |||
84 | config CPU_SH5 | ||
85 | bool "SH-5" | ||
86 | |||
87 | endchoice | ||
88 | |||
89 | choice | ||
90 | prompt "Processor type" | ||
91 | |||
92 | config CPU_SUBTYPE_SH5_101 | ||
93 | bool "SH5-101" | ||
94 | depends on CPU_SH5 | ||
95 | |||
96 | config CPU_SUBTYPE_SH5_103 | ||
97 | bool "SH5-103" | ||
98 | depends on CPU_SH5 | ||
99 | |||
100 | endchoice | ||
101 | |||
102 | choice | ||
103 | prompt "Endianness" | ||
104 | default LITTLE_ENDIAN | ||
105 | |||
106 | config LITTLE_ENDIAN | ||
107 | bool "Little-Endian" | ||
108 | |||
109 | config BIG_ENDIAN | ||
110 | bool "Big-Endian" | ||
111 | |||
112 | endchoice | ||
113 | |||
114 | config SH_FPU | ||
115 | bool "FPU support" | ||
116 | default y | ||
117 | |||
118 | config SH64_FPU_DENORM_FLUSH | ||
119 | depends on SH_FPU | ||
120 | bool "Flush floating point denorms to zero" | ||
121 | |||
122 | choice | ||
123 | prompt "Page table levels" | ||
124 | default SH64_PGTABLE_2_LEVEL | ||
125 | |||
126 | config SH64_PGTABLE_2_LEVEL | ||
127 | bool "2" | ||
128 | |||
129 | config SH64_PGTABLE_3_LEVEL | ||
130 | bool "3" | ||
131 | |||
132 | endchoice | ||
133 | |||
134 | choice | ||
135 | prompt "HugeTLB page size" | ||
136 | depends on HUGETLB_PAGE && MMU | ||
137 | default HUGETLB_PAGE_SIZE_64K | ||
138 | |||
139 | config HUGETLB_PAGE_SIZE_64K | ||
140 | bool "64K" | ||
141 | |||
142 | config HUGETLB_PAGE_SIZE_1MB | ||
143 | bool "1MB" | ||
144 | |||
145 | config HUGETLB_PAGE_SIZE_512MB | ||
146 | bool "512MB" | ||
147 | |||
148 | endchoice | ||
149 | |||
150 | config SH64_USER_MISALIGNED_FIXUP | ||
151 | bool "Fixup misaligned loads/stores occurring in user mode" | ||
152 | |||
153 | comment "Memory options" | ||
154 | |||
155 | config CACHED_MEMORY_OFFSET | ||
156 | hex "Cached Area Offset" | ||
157 | default "20000000" | ||
158 | |||
159 | config MEMORY_START | ||
160 | hex "Physical memory start address" | ||
161 | default "80000000" | ||
162 | |||
163 | config MEMORY_SIZE_IN_MB | ||
164 | int "Memory size (in MB)" | ||
165 | default "8" if SH_SIMULATOR | ||
166 | default "64" | ||
167 | |||
168 | comment "Cache options" | ||
169 | |||
170 | choice | ||
171 | prompt "DCache mode" | ||
172 | default DCACHE_DISABLED if SH_SIMULATOR | ||
173 | default DCACHE_WRITE_BACK | ||
174 | |||
175 | config DCACHE_WRITE_BACK | ||
176 | bool "Write-back" | ||
177 | depends on !SH_SIMULATOR | ||
178 | |||
179 | config DCACHE_WRITE_THROUGH | ||
180 | bool "Write-through" | ||
181 | depends on !SH_SIMULATOR | ||
182 | |||
183 | config DCACHE_DISABLED | ||
184 | bool "Disabled" | ||
185 | |||
186 | endchoice | ||
187 | |||
188 | config ICACHE_DISABLED | ||
189 | bool "ICache Disabling" | ||
190 | |||
191 | config PCIDEVICE_MEMORY_START | ||
192 | hex | ||
193 | default "C0000000" | ||
194 | |||
195 | config DEVICE_MEMORY_START | ||
196 | hex | ||
197 | default "E0000000" | ||
198 | |||
199 | config FLASH_MEMORY_START | ||
200 | hex "Flash memory/on-chip devices start address" | ||
201 | default "00000000" | ||
202 | |||
203 | config PCI_BLOCK_START | ||
204 | hex "PCI block start address" | ||
205 | default "40000000" | ||
206 | |||
207 | comment "CPU Subtype specific options" | ||
208 | |||
209 | config SH64_ID2815_WORKAROUND | ||
210 | bool "Include workaround for SH5-101 cut2 silicon defect ID2815" | ||
211 | |||
212 | comment "Misc options" | ||
213 | |||
214 | config HEARTBEAT | ||
215 | bool "Heartbeat LED" | ||
216 | depends on SH_CAYMAN | ||
217 | |||
218 | config HDSP253_LED | ||
219 | bool "Support for HDSP-253 LED" | ||
220 | depends on SH_CAYMAN | ||
221 | |||
222 | config SH_DMA | ||
223 | tristate "DMA controller (DMAC) support" | ||
224 | |||
225 | config PREEMPT | ||
226 | bool "Preemptible Kernel (EXPERIMENTAL)" | ||
227 | depends on EXPERIMENTAL | ||
228 | |||
229 | source "mm/Kconfig" | ||
230 | |||
231 | endmenu | ||
232 | |||
233 | menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)" | ||
234 | |||
235 | config ISA | ||
236 | bool | ||
237 | |||
238 | config SBUS | ||
239 | bool | ||
240 | |||
241 | config PCI | ||
242 | bool "PCI support" | ||
243 | depends on SH_CAYMAN | ||
244 | help | ||
245 | Find out whether you have a PCI motherboard. PCI is the name of a | ||
246 | bus system, i.e. the way the CPU talks to the other stuff inside | ||
247 | your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or | ||
248 | VESA. If you have PCI, say Y, otherwise N. | ||
249 | |||
250 | The PCI-HOWTO, available from | ||
251 | <http://www.tldp.org/docs.html#howto>, contains valuable | ||
252 | information about which PCI hardware does work under Linux and which | ||
253 | doesn't. | ||
254 | |||
255 | config SH_PCIDMA_NONCOHERENT | ||
256 | bool "Cache and PCI noncoherent" | ||
257 | depends on PCI | ||
258 | default y | ||
259 | help | ||
260 | Enable this option if your platform does not have a CPU cache which | ||
261 | remains coherent with PCI DMA. It is safest to say 'Y', although you | ||
262 | will see better performance if you can say 'N', because the PCI DMA | ||
263 | code will not have to flush the CPU's caches. If you have a PCI host | ||
264 | bridge integrated with your SH CPU, refer carefully to the chip specs | ||
265 | to see if you can say 'N' here. Otherwise, leave it as 'Y'. | ||
266 | |||
267 | source "drivers/pci/Kconfig" | ||
268 | |||
269 | source "drivers/pcmcia/Kconfig" | ||
270 | |||
271 | source "drivers/pci/hotplug/Kconfig" | ||
272 | |||
273 | endmenu | ||
274 | |||
275 | menu "Executable file formats" | ||
276 | |||
277 | source "fs/Kconfig.binfmt" | ||
278 | |||
279 | endmenu | ||
280 | |||
281 | source "net/Kconfig" | ||
282 | |||
283 | source "drivers/Kconfig" | ||
284 | |||
285 | source "fs/Kconfig" | ||
286 | |||
287 | source "kernel/Kconfig.instrumentation" | ||
288 | |||
289 | source "arch/sh64/Kconfig.debug" | ||
290 | |||
291 | source "security/Kconfig" | ||
292 | |||
293 | source "crypto/Kconfig" | ||
294 | |||
295 | source "lib/Kconfig" | ||