initial commit with v2.6.9
[linux-2.6.9-moxart.git] / arch / sh64 / Kconfig
blob551ba9a2054359520839094f79bdb1f893acce58
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 UID16
21         bool
22         default y
24 config RWSEM_GENERIC_SPINLOCK
25         bool
26         default y
28 config LOG_BUF_SHIFT
29         int
30         default 14
32 config RWSEM_XCHGADD_ALGORITHM
33         bool
35 config GENERIC_ISA_DMA
36         bool
38 source init/Kconfig
40 menu "System type"
42 choice
43         prompt "SuperH system type"
44         default SH_SIMULATOR
46 config SH_GENERIC
47         bool "Generic"
49 config SH_SIMULATOR
50         bool "Simulator"
52 config SH_CAYMAN
53         bool "Cayman"
55 config SH_ROMRAM
56         bool "ROM/RAM"
58 config SH_HARP
59         bool "ST50-Harp"
61 endchoice
63 choice
64         prompt "Processor family"
65         default CPU_SH5
67 config CPU_SH5
68         bool "SH-5"
70 endchoice
72 choice
73         prompt "Processor type"
75 config CPU_SUBTYPE_SH5_101
76         bool "SH5-101"
77         depends on CPU_SH5
79 config CPU_SUBTYPE_SH5_103
80         bool "SH5-103"
81         depends on CPU_SH5
83 endchoice
85 choice
86         prompt "Endianness"
87         default LITTLE_ENDIAN
89 config LITTLE_ENDIAN
90         bool "Little-Endian"
92 config BIG_ENDIAN
93         bool "Big-Endian"
95 endchoice
97 config SH64_FPU_DENORM_FLUSH
98         bool "Flush floating point denorms to zero"
100 choice
101         prompt "Page table levels"
102         default SH64_PGTABLE_2_LEVEL
104 config SH64_PGTABLE_2_LEVEL
105         bool "2"
107 config SH64_PGTABLE_3_LEVEL
108         bool "3"
110 endchoice
112 choice
113         prompt "HugeTLB page size"
114         depends on HUGETLB_PAGE && MMU
115         default HUGETLB_PAGE_SIZE_64K
117 config HUGETLB_PAGE_SIZE_64K
118         bool "64K"
120 config HUGETLB_PAGE_SIZE_1MB
121         bool "1MB"
123 config HUGETLB_PAGE_SIZE_512MB
124         bool "512MB"
126 endchoice
128 config SH64_USER_MISALIGNED_FIXUP
129         bool "Fixup misaligned loads/stores occurring in user mode"
131 comment "Memory options"
133 config CACHED_MEMORY_OFFSET
134         hex "Cached Area Offset"
135         depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
136         default "20000000"
138 config MEMORY_START
139         hex "Physical memory start address"
140         depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
141         default "80000000"
143 config MEMORY_SIZE_IN_MB
144         int "Memory size (in MB)" if SH_HARP || SH_CAYMAN || SH_SIMULATOR
145         default "64" if SH_HARP || SH_CAYMAN
146         default "8" if SH_SIMULATOR
148 comment "Cache options"
150 config DCACHE_DISABLED
151         bool "DCache Disabling"
152         depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
154 choice
155         prompt "DCache mode"
156         depends on !DCACHE_DISABLED && !SH_SIMULATOR
157         default DCACHE_WRITE_BACK
159 config DCACHE_WRITE_BACK
160         bool "Write-back"
162 config DCACHE_WRITE_THROUGH
163         bool "Write-through"
165 endchoice
167 config ICACHE_DISABLED
168         bool "ICache Disabling"
169         depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
171 config PCIDEVICE_MEMORY_START
172         hex
173         depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
174         default "C0000000"
176 config DEVICE_MEMORY_START
177         hex
178         depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
179         default "E0000000"
181 config FLASH_MEMORY_START
182         hex "Flash memory/on-chip devices start address"
183         depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
184         default "00000000"
186 config PCI_BLOCK_START
187         hex "PCI block start address"
188         depends on SH_HARP || SH_CAYMAN || SH_SIMULATOR
189         default "40000000"
191 comment "CPU Subtype specific options"
193 config SH64_ID2815_WORKAROUND
194         bool "Include workaround for SH5-101 cut2 silicon defect ID2815"
196 comment "Misc options"
197 config HEARTBEAT
198         bool "Heartbeat LED"
200 config HDSP253_LED
201         bool "Support for HDSP-253 LED"
202         depends on SH_CAYMAN
204 config SH_DMA
205         tristate "DMA controller (DMAC) support"
207 config PREEMPT
208         bool "Preemptible Kernel (EXPERIMENTAL)"
209         depends on EXPERIMENTAL
211 endmenu
213 menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
215 config ISA
216         bool
218 config SBUS
219         bool
221 config PCI
222         bool "PCI support"
223         help
224           Find out whether you have a PCI motherboard. PCI is the name of a
225           bus system, i.e. the way the CPU talks to the other stuff inside
226           your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
227           VESA. If you have PCI, say Y, otherwise N.
229           The PCI-HOWTO, available from
230           <http://www.tldp.org/docs.html#howto>, contains valuable
231           information about which PCI hardware does work under Linux and which
232           doesn't.
234 config SH_PCIDMA_NONCOHERENT
235         bool "Cache and PCI noncoherent"
236         depends on PCI
237         default y
238         help
239           Enable this option if your platform does not have a CPU cache which
240           remains coherent with PCI DMA. It is safest to say 'Y', although you
241           will see better performance if you can say 'N', because the PCI DMA
242           code will not have to flush the CPU's caches. If you have a PCI host
243           bridge integrated with your SH CPU, refer carefully to the chip specs
244           to see if you can say 'N' here. Otherwise, leave it as 'Y'.
246 source "drivers/pci/Kconfig"
248 source "drivers/pcmcia/Kconfig"
250 source "drivers/pci/hotplug/Kconfig"
252 endmenu
254 menu "Executable file formats"
256 source "fs/Kconfig.binfmt"
258 endmenu
260 source "drivers/Kconfig"
262 source "fs/Kconfig"
264 source "arch/sh64/oprofile/Kconfig"
266 source "arch/sh64/Kconfig.debug"
268 source "security/Kconfig"
270 source "crypto/Kconfig"
272 source "lib/Kconfig"