[SPARC64]: Randomize mm->mmap_base when PF_RANDOMIZE is set.
[linux-2.6/openmoko-kernel/knife-kernel.git] / arch / sh64 / Kconfig
blob07b172deb872b46478d5d44df926efcddf2acc98
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_CALIBRATE_DELAY
25         bool
26         default y
28 config RWSEM_XCHGADD_ALGORITHM
29         bool
31 config GENERIC_ISA_DMA
32         bool
34 source init/Kconfig
36 menu "System type"
38 choice
39         prompt "SuperH system type"
40         default SH_SIMULATOR
42 config SH_GENERIC
43         bool "Generic"
45 config SH_SIMULATOR
46         bool "Simulator"
48 config SH_CAYMAN
49         bool "Cayman"
51 config SH_ROMRAM
52         bool "ROM/RAM"
54 config SH_HARP
55         bool "ST50-Harp"
57 endchoice
59 choice
60         prompt "Processor family"
61         default CPU_SH5
63 config CPU_SH5
64         bool "SH-5"
66 endchoice
68 choice
69         prompt "Processor type"
71 config CPU_SUBTYPE_SH5_101
72         bool "SH5-101"
73         depends on CPU_SH5
75 config CPU_SUBTYPE_SH5_103
76         bool "SH5-103"
77         depends on CPU_SH5
79 endchoice
81 choice
82         prompt "Endianness"
83         default LITTLE_ENDIAN
85 config LITTLE_ENDIAN
86         bool "Little-Endian"
88 config BIG_ENDIAN
89         bool "Big-Endian"
91 endchoice
93 config SH_FPU
94         bool "FPU support"
95         default y
97 config SH64_FPU_DENORM_FLUSH
98         depends on SH_FPU
99         bool "Flush floating point denorms to zero"
101 choice
102         prompt "Page table levels"
103         default SH64_PGTABLE_2_LEVEL
105 config SH64_PGTABLE_2_LEVEL
106         bool "2"
108 config SH64_PGTABLE_3_LEVEL
109         bool "3"
111 endchoice
113 choice
114         prompt "HugeTLB page size"
115         depends on HUGETLB_PAGE && MMU
116         default HUGETLB_PAGE_SIZE_64K
118 config HUGETLB_PAGE_SIZE_64K
119         bool "64K"
121 config HUGETLB_PAGE_SIZE_1MB
122         bool "1MB"
124 config HUGETLB_PAGE_SIZE_512MB
125         bool "512MB"
127 endchoice
129 config SH64_USER_MISALIGNED_FIXUP
130         bool "Fixup misaligned loads/stores occurring in user mode"
132 comment "Memory options"
134 config CACHED_MEMORY_OFFSET
135         hex "Cached Area Offset"
136         depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
137         default "20000000"
139 config MEMORY_START
140         hex "Physical memory start address"
141         depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
142         default "80000000"
144 config MEMORY_SIZE_IN_MB
145         int "Memory size (in MB)" if SH_HARP || SH_CAYMAN || SH_SIMULATOR
146         default "64" if SH_HARP || SH_CAYMAN
147         default "8" if SH_SIMULATOR
149 comment "Cache options"
151 config DCACHE_DISABLED
152         bool "DCache Disabling"
153         depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
155 choice
156         prompt "DCache mode"
157         depends on !DCACHE_DISABLED && !SH_SIMULATOR
158         default DCACHE_WRITE_BACK
160 config DCACHE_WRITE_BACK
161         bool "Write-back"
163 config DCACHE_WRITE_THROUGH
164         bool "Write-through"
166 endchoice
168 config ICACHE_DISABLED
169         bool "ICache Disabling"
170         depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
172 config PCIDEVICE_MEMORY_START
173         hex
174         depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
175         default "C0000000"
177 config DEVICE_MEMORY_START
178         hex
179         depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
180         default "E0000000"
182 config FLASH_MEMORY_START
183         hex "Flash memory/on-chip devices start address"
184         depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
185         default "00000000"
187 config PCI_BLOCK_START
188         hex "PCI block start address"
189         depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
190         default "40000000"
192 comment "CPU Subtype specific options"
194 config SH64_ID2815_WORKAROUND
195         bool "Include workaround for SH5-101 cut2 silicon defect ID2815"
197 comment "Misc options"
198 config HEARTBEAT
199         bool "Heartbeat LED"
201 config HDSP253_LED
202         bool "Support for HDSP-253 LED"
203         depends on SH_CAYMAN
205 config SH_DMA
206         tristate "DMA controller (DMAC) support"
208 config PREEMPT
209         bool "Preemptible Kernel (EXPERIMENTAL)"
210         depends on EXPERIMENTAL
212 source "mm/Kconfig"
214 endmenu
216 menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
218 config ISA
219         bool
221 config SBUS
222         bool
224 config PCI
225         bool "PCI support"
226         help
227           Find out whether you have a PCI motherboard. PCI is the name of a
228           bus system, i.e. the way the CPU talks to the other stuff inside
229           your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
230           VESA. If you have PCI, say Y, otherwise N.
232           The PCI-HOWTO, available from
233           <http://www.tldp.org/docs.html#howto>, contains valuable
234           information about which PCI hardware does work under Linux and which
235           doesn't.
237 config SH_PCIDMA_NONCOHERENT
238         bool "Cache and PCI noncoherent"
239         depends on PCI
240         default y
241         help
242           Enable this option if your platform does not have a CPU cache which
243           remains coherent with PCI DMA. It is safest to say 'Y', although you
244           will see better performance if you can say 'N', because the PCI DMA
245           code will not have to flush the CPU's caches. If you have a PCI host
246           bridge integrated with your SH CPU, refer carefully to the chip specs
247           to see if you can say 'N' here. Otherwise, leave it as 'Y'.
249 source "drivers/pci/Kconfig"
251 source "drivers/pcmcia/Kconfig"
253 source "drivers/pci/hotplug/Kconfig"
255 endmenu
257 menu "Executable file formats"
259 source "fs/Kconfig.binfmt"
261 endmenu
263 source "net/Kconfig"
265 source "drivers/Kconfig"
267 source "fs/Kconfig"
269 source "arch/sh64/oprofile/Kconfig"
271 source "arch/sh64/Kconfig.debug"
273 source "security/Kconfig"
275 source "crypto/Kconfig"
277 source "lib/Kconfig"
280 # Use the generic interrupt handling code in kernel/irq/:
282 config GENERIC_HARDIRQS
283         bool
284         default y
286 config GENERIC_IRQ_PROBE
287         bool
288         default y