[MIPS] Replace __attribute_used__ with __used
[linux-2.6/mini2440.git] / arch / sh64 / Kconfig
blobff654204b7d489343855e32ec297dc6e47f02605
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 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 RWSEM_XCHGADD_ALGORITHM
40         bool
42 config ARCH_HAS_ILOG2_U32
43         bool
44         default n
46 config ARCH_HAS_ILOG2_U64
47         bool
48         default n
50 source init/Kconfig
52 menu "System type"
54 choice
55         prompt "SuperH system type"
56         default SH_SIMULATOR
58 config SH_GENERIC
59         bool "Generic"
61 config SH_SIMULATOR
62         bool "Simulator"
64 config SH_CAYMAN
65         bool "Cayman"
67 config SH_ROMRAM
68         bool "ROM/RAM"
70 config SH_HARP
71         bool "ST50-Harp"
73 endchoice
75 choice
76         prompt "Processor family"
77         default CPU_SH5
79 config CPU_SH5
80         bool "SH-5"
82 endchoice
84 choice
85         prompt "Processor type"
87 config CPU_SUBTYPE_SH5_101
88         bool "SH5-101"
89         depends on CPU_SH5
91 config CPU_SUBTYPE_SH5_103
92         bool "SH5-103"
93         depends on CPU_SH5
95 endchoice
97 choice
98         prompt "Endianness"
99         default LITTLE_ENDIAN
101 config LITTLE_ENDIAN
102         bool "Little-Endian"
104 config BIG_ENDIAN
105         bool "Big-Endian"
107 endchoice
109 config SH_FPU
110         bool "FPU support"
111         default y
113 config SH64_FPU_DENORM_FLUSH
114         depends on SH_FPU
115         bool "Flush floating point denorms to zero"
117 choice
118         prompt "Page table levels"
119         default SH64_PGTABLE_2_LEVEL
121 config SH64_PGTABLE_2_LEVEL
122         bool "2"
124 config SH64_PGTABLE_3_LEVEL
125         bool "3"
127 endchoice
129 choice
130         prompt "HugeTLB page size"
131         depends on HUGETLB_PAGE && MMU
132         default HUGETLB_PAGE_SIZE_64K
134 config HUGETLB_PAGE_SIZE_64K
135         bool "64K"
137 config HUGETLB_PAGE_SIZE_1MB
138         bool "1MB"
140 config HUGETLB_PAGE_SIZE_512MB
141         bool "512MB"
143 endchoice
145 config SH64_USER_MISALIGNED_FIXUP
146         bool "Fixup misaligned loads/stores occurring in user mode"
148 comment "Memory options"
150 config CACHED_MEMORY_OFFSET
151         hex "Cached Area Offset"
152         depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
153         default "20000000"
155 config MEMORY_START
156         hex "Physical memory start address"
157         depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
158         default "80000000"
160 config MEMORY_SIZE_IN_MB
161         int "Memory size (in MB)" if SH_HARP || SH_CAYMAN || SH_SIMULATOR
162         default "64" if SH_HARP || SH_CAYMAN
163         default "8" if SH_SIMULATOR
165 comment "Cache options"
167 config DCACHE_DISABLED
168         bool "DCache Disabling"
169         depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
171 choice
172         prompt "DCache mode"
173         depends on !DCACHE_DISABLED && !SH_SIMULATOR
174         default DCACHE_WRITE_BACK
176 config DCACHE_WRITE_BACK
177         bool "Write-back"
179 config DCACHE_WRITE_THROUGH
180         bool "Write-through"
182 endchoice
184 config ICACHE_DISABLED
185         bool "ICache Disabling"
186         depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
188 config PCIDEVICE_MEMORY_START
189         hex
190         depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
191         default "C0000000"
193 config DEVICE_MEMORY_START
194         hex
195         depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
196         default "E0000000"
198 config FLASH_MEMORY_START
199         hex "Flash memory/on-chip devices start address"
200         depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
201         default "00000000"
203 config PCI_BLOCK_START
204         hex "PCI block start address"
205         depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
206         default "40000000"
208 comment "CPU Subtype specific options"
210 config SH64_ID2815_WORKAROUND
211         bool "Include workaround for SH5-101 cut2 silicon defect ID2815"
213 comment "Misc options"
214 config HEARTBEAT
215         bool "Heartbeat LED"
217 config HDSP253_LED
218         bool "Support for HDSP-253 LED"
219         depends on SH_CAYMAN
221 config SH_DMA
222         tristate "DMA controller (DMAC) support"
224 config PREEMPT
225         bool "Preemptible Kernel (EXPERIMENTAL)"
226         depends on EXPERIMENTAL
228 source "mm/Kconfig"
230 endmenu
232 menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
234 config ISA
235         bool
237 config SBUS
238         bool
240 config PCI
241         bool "PCI support"
242         help
243           Find out whether you have a PCI motherboard. PCI is the name of a
244           bus system, i.e. the way the CPU talks to the other stuff inside
245           your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
246           VESA. If you have PCI, say Y, otherwise N.
248           The PCI-HOWTO, available from
249           <http://www.tldp.org/docs.html#howto>, contains valuable
250           information about which PCI hardware does work under Linux and which
251           doesn't.
253 config SH_PCIDMA_NONCOHERENT
254         bool "Cache and PCI noncoherent"
255         depends on PCI
256         default y
257         help
258           Enable this option if your platform does not have a CPU cache which
259           remains coherent with PCI DMA. It is safest to say 'Y', although you
260           will see better performance if you can say 'N', because the PCI DMA
261           code will not have to flush the CPU's caches. If you have a PCI host
262           bridge integrated with your SH CPU, refer carefully to the chip specs
263           to see if you can say 'N' here. Otherwise, leave it as 'Y'.
265 source "drivers/pci/Kconfig"
267 source "drivers/pcmcia/Kconfig"
269 source "drivers/pci/hotplug/Kconfig"
271 endmenu
273 menu "Executable file formats"
275 source "fs/Kconfig.binfmt"
277 endmenu
279 source "net/Kconfig"
281 source "drivers/Kconfig"
283 source "fs/Kconfig"
285 source "arch/sh64/oprofile/Kconfig"
287 source "arch/sh64/Kconfig.debug"
289 source "security/Kconfig"
291 source "crypto/Kconfig"
293 source "lib/Kconfig"
296 # Use the generic interrupt handling code in kernel/irq/:
298 config GENERIC_HARDIRQS
299         bool
300         default y
302 config GENERIC_IRQ_PROBE
303         bool
304         default y