FRV: fix the extern declaration of kallsyms_num_syms
[linux-2.6/btrfs-unstable.git] / arch / sh64 / Kconfig
blob6884d5a518ad78315ec8fcf107da8661c82d933d
2 # For a description of the syntax of this configuration file,
3 # see Documentation/kbuild/kconfig-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 QUICKLIST
21         def_bool y
23 config RWSEM_GENERIC_SPINLOCK
24         bool
25         default y
27 config GENERIC_FIND_NEXT_BIT
28         bool
29         default y
31 config GENERIC_HWEIGHT
32         bool
33         default y
35 config GENERIC_CALIBRATE_DELAY
36         bool
37         default y
39 config GENERIC_HARDIRQS
40         bool
41         default y
43 config GENERIC_IRQ_PROBE
44         bool
45         default y
47 config RWSEM_XCHGADD_ALGORITHM
48         bool
50 config ARCH_HAS_ILOG2_U32
51         bool
52         default n
54 config ARCH_HAS_ILOG2_U64
55         bool
56         default n
58 config ARCH_NO_VIRT_TO_BUS
59         def_bool y
61 source init/Kconfig
63 menu "System type"
65 choice
66         prompt "SuperH system type"
67         default SH_SIMULATOR
69 config SH_SIMULATOR
70         bool "Simulator"
72 config SH_CAYMAN
73         bool "Cayman"
75 config SH_HARP
76         bool "ST50-Harp"
78 endchoice
80 choice
81         prompt "Processor family"
82         default CPU_SH5
84 config CPU_SH5
85         bool "SH-5"
87 endchoice
89 choice
90         prompt "Processor type"
92 config CPU_SUBTYPE_SH5_101
93         bool "SH5-101"
94         depends on CPU_SH5
96 config CPU_SUBTYPE_SH5_103
97         bool "SH5-103"
98         depends on CPU_SH5
100 endchoice
102 choice
103         prompt "Endianness"
104         default LITTLE_ENDIAN
106 config LITTLE_ENDIAN
107         bool "Little-Endian"
109 config BIG_ENDIAN
110         bool "Big-Endian"
112 endchoice
114 config SH_FPU
115         bool "FPU support"
116         default y
118 config SH64_FPU_DENORM_FLUSH
119         depends on SH_FPU
120         bool "Flush floating point denorms to zero"
122 choice
123         prompt "Page table levels"
124         default SH64_PGTABLE_2_LEVEL
126 config SH64_PGTABLE_2_LEVEL
127         bool "2"
129 config SH64_PGTABLE_3_LEVEL
130         bool "3"
132 endchoice
134 choice
135         prompt "HugeTLB page size"
136         depends on HUGETLB_PAGE && MMU
137         default HUGETLB_PAGE_SIZE_64K
139 config HUGETLB_PAGE_SIZE_64K
140         bool "64K"
142 config HUGETLB_PAGE_SIZE_1MB
143         bool "1MB"
145 config HUGETLB_PAGE_SIZE_512MB
146         bool "512MB"
148 endchoice
150 config SH64_USER_MISALIGNED_FIXUP
151         bool "Fixup misaligned loads/stores occurring in user mode"
153 comment "Memory options"
155 config CACHED_MEMORY_OFFSET
156         hex "Cached Area Offset"
157         default "20000000"
159 config MEMORY_START
160         hex "Physical memory start address"
161         default "80000000"
163 config MEMORY_SIZE_IN_MB
164         int "Memory size (in MB)"
165         default "8" if SH_SIMULATOR
166         default "64"
168 comment "Cache options"
170 choice
171         prompt "DCache mode"
172         default DCACHE_DISABLED if SH_SIMULATOR
173         default DCACHE_WRITE_BACK
175 config DCACHE_WRITE_BACK
176         bool "Write-back"
177         depends on !SH_SIMULATOR
179 config DCACHE_WRITE_THROUGH
180         bool "Write-through"
181         depends on !SH_SIMULATOR
183 config DCACHE_DISABLED
184         bool "Disabled"
186 endchoice
188 config ICACHE_DISABLED
189         bool "ICache Disabling"
191 config PCIDEVICE_MEMORY_START
192         hex
193         default "C0000000"
195 config DEVICE_MEMORY_START
196         hex
197         default "E0000000"
199 config FLASH_MEMORY_START
200         hex "Flash memory/on-chip devices start address"
201         default "00000000"
203 config PCI_BLOCK_START
204         hex "PCI block start address"
205         default "40000000"
207 comment "CPU Subtype specific options"
209 config SH64_ID2815_WORKAROUND
210         bool "Include workaround for SH5-101 cut2 silicon defect ID2815"
212 comment "Misc options"
214 config HEARTBEAT
215         bool "Heartbeat LED"
216         depends on SH_CAYMAN
218 config HDSP253_LED
219         bool "Support for HDSP-253 LED"
220         depends on SH_CAYMAN
222 config SH_DMA
223         tristate "DMA controller (DMAC) support"
225 config PREEMPT
226         bool "Preemptible Kernel (EXPERIMENTAL)"
227         depends on EXPERIMENTAL
229 source "mm/Kconfig"
231 endmenu
233 menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
235 config ISA
236         bool
238 config SBUS
239         bool
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.
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.
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'.
267 source "drivers/pci/Kconfig"
269 source "drivers/pcmcia/Kconfig"
271 source "drivers/pci/hotplug/Kconfig"
273 endmenu
275 menu "Executable file formats"
277 source "fs/Kconfig.binfmt"
279 endmenu
281 source "net/Kconfig"
283 source "drivers/Kconfig"
285 source "fs/Kconfig"
287 source "kernel/Kconfig.instrumentation"
289 source "arch/sh64/Kconfig.debug"
291 source "security/Kconfig"
293 source "crypto/Kconfig"
295 source "lib/Kconfig"