kprobes: use hlist_for_each_entry
[linux-2.6/verdex.git] / arch / sh64 / Kconfig
blobe14b533558c8a87fc712c17252dc22ea140318cd
2 # For a description of the syntax of this configuration file,
3 # see Documentation/kbuild/config-language.txt.
6 mainmenu "Linux/SH64 Kernel Configuration"
8 config SUPERH
9         bool
10         default y
12 config SUPERH64
13         bool
14         default y
16 config MMU
17         bool
18         default y
20 config RWSEM_GENERIC_SPINLOCK
21         bool
22         default y
24 config GENERIC_FIND_NEXT_BIT
25         bool
26         default y
28 config GENERIC_HWEIGHT
29         bool
30         default y
32 config GENERIC_CALIBRATE_DELAY
33         bool
34         default y
36 config RWSEM_XCHGADD_ALGORITHM
37         bool
39 config ARCH_HAS_ILOG2_U32
40         bool
41         default n
43 config ARCH_HAS_ILOG2_U64
44         bool
45         default n
47 source init/Kconfig
49 menu "System type"
51 choice
52         prompt "SuperH system type"
53         default SH_SIMULATOR
55 config SH_GENERIC
56         bool "Generic"
58 config SH_SIMULATOR
59         bool "Simulator"
61 config SH_CAYMAN
62         bool "Cayman"
64 config SH_ROMRAM
65         bool "ROM/RAM"
67 config SH_HARP
68         bool "ST50-Harp"
70 endchoice
72 choice
73         prompt "Processor family"
74         default CPU_SH5
76 config CPU_SH5
77         bool "SH-5"
79 endchoice
81 choice
82         prompt "Processor type"
84 config CPU_SUBTYPE_SH5_101
85         bool "SH5-101"
86         depends on CPU_SH5
88 config CPU_SUBTYPE_SH5_103
89         bool "SH5-103"
90         depends on CPU_SH5
92 endchoice
94 choice
95         prompt "Endianness"
96         default LITTLE_ENDIAN
98 config LITTLE_ENDIAN
99         bool "Little-Endian"
101 config BIG_ENDIAN
102         bool "Big-Endian"
104 endchoice
106 config SH_FPU
107         bool "FPU support"
108         default y
110 config SH64_FPU_DENORM_FLUSH
111         depends on SH_FPU
112         bool "Flush floating point denorms to zero"
114 choice
115         prompt "Page table levels"
116         default SH64_PGTABLE_2_LEVEL
118 config SH64_PGTABLE_2_LEVEL
119         bool "2"
121 config SH64_PGTABLE_3_LEVEL
122         bool "3"
124 endchoice
126 choice
127         prompt "HugeTLB page size"
128         depends on HUGETLB_PAGE && MMU
129         default HUGETLB_PAGE_SIZE_64K
131 config HUGETLB_PAGE_SIZE_64K
132         bool "64K"
134 config HUGETLB_PAGE_SIZE_1MB
135         bool "1MB"
137 config HUGETLB_PAGE_SIZE_512MB
138         bool "512MB"
140 endchoice
142 config SH64_USER_MISALIGNED_FIXUP
143         bool "Fixup misaligned loads/stores occurring in user mode"
145 comment "Memory options"
147 config CACHED_MEMORY_OFFSET
148         hex "Cached Area Offset"
149         depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
150         default "20000000"
152 config MEMORY_START
153         hex "Physical memory start address"
154         depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
155         default "80000000"
157 config MEMORY_SIZE_IN_MB
158         int "Memory size (in MB)" if SH_HARP || SH_CAYMAN || SH_SIMULATOR
159         default "64" if SH_HARP || SH_CAYMAN
160         default "8" if SH_SIMULATOR
162 comment "Cache options"
164 config DCACHE_DISABLED
165         bool "DCache Disabling"
166         depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
168 choice
169         prompt "DCache mode"
170         depends on !DCACHE_DISABLED && !SH_SIMULATOR
171         default DCACHE_WRITE_BACK
173 config DCACHE_WRITE_BACK
174         bool "Write-back"
176 config DCACHE_WRITE_THROUGH
177         bool "Write-through"
179 endchoice
181 config ICACHE_DISABLED
182         bool "ICache Disabling"
183         depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
185 config PCIDEVICE_MEMORY_START
186         hex
187         depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
188         default "C0000000"
190 config DEVICE_MEMORY_START
191         hex
192         depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
193         default "E0000000"
195 config FLASH_MEMORY_START
196         hex "Flash memory/on-chip devices start address"
197         depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
198         default "00000000"
200 config PCI_BLOCK_START
201         hex "PCI block start address"
202         depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
203         default "40000000"
205 comment "CPU Subtype specific options"
207 config SH64_ID2815_WORKAROUND
208         bool "Include workaround for SH5-101 cut2 silicon defect ID2815"
210 comment "Misc options"
211 config HEARTBEAT
212         bool "Heartbeat LED"
214 config HDSP253_LED
215         bool "Support for HDSP-253 LED"
216         depends on SH_CAYMAN
218 config SH_DMA
219         tristate "DMA controller (DMAC) support"
221 config PREEMPT
222         bool "Preemptible Kernel (EXPERIMENTAL)"
223         depends on EXPERIMENTAL
225 source "mm/Kconfig"
227 endmenu
229 menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
231 config ISA
232         bool
234 config SBUS
235         bool
237 config PCI
238         bool "PCI support"
239         help
240           Find out whether you have a PCI motherboard. PCI is the name of a
241           bus system, i.e. the way the CPU talks to the other stuff inside
242           your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
243           VESA. If you have PCI, say Y, otherwise N.
245           The PCI-HOWTO, available from
246           <http://www.tldp.org/docs.html#howto>, contains valuable
247           information about which PCI hardware does work under Linux and which
248           doesn't.
250 config SH_PCIDMA_NONCOHERENT
251         bool "Cache and PCI noncoherent"
252         depends on PCI
253         default y
254         help
255           Enable this option if your platform does not have a CPU cache which
256           remains coherent with PCI DMA. It is safest to say 'Y', although you
257           will see better performance if you can say 'N', because the PCI DMA
258           code will not have to flush the CPU's caches. If you have a PCI host
259           bridge integrated with your SH CPU, refer carefully to the chip specs
260           to see if you can say 'N' here. Otherwise, leave it as 'Y'.
262 source "drivers/pci/Kconfig"
264 source "drivers/pcmcia/Kconfig"
266 source "drivers/pci/hotplug/Kconfig"
268 endmenu
270 menu "Executable file formats"
272 source "fs/Kconfig.binfmt"
274 endmenu
276 source "net/Kconfig"
278 source "drivers/Kconfig"
280 source "fs/Kconfig"
282 source "arch/sh64/oprofile/Kconfig"
284 source "arch/sh64/Kconfig.debug"
286 source "security/Kconfig"
288 source "crypto/Kconfig"
290 source "lib/Kconfig"
293 # Use the generic interrupt handling code in kernel/irq/:
295 config GENERIC_HARDIRQS
296         bool
297         default y
299 config GENERIC_IRQ_PROBE
300         bool
301         default y