blob: f7b171b92ea2bad7ae134ea0cc5b04cc71f5d1a0 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# For a description of the syntax of this configuration file,
3# see Documentation/kbuild/kconfig-language.txt.
4#
5config FRV
6 bool
7 default y
8
Linus Torvalds1da177e2005-04-16 15:20:36 -07009config RWSEM_GENERIC_SPINLOCK
10 bool
11 default y
12
13config RWSEM_XCHGADD_ALGORITHM
14 bool
15
16config GENERIC_FIND_NEXT_BIT
17 bool
18 default y
19
Akinobu Mita1f6d7a92006-03-26 01:39:22 -080020config GENERIC_HWEIGHT
21 bool
22 default y
23
Linus Torvalds1da177e2005-04-16 15:20:36 -070024config GENERIC_CALIBRATE_DELAY
25 bool
26 default n
27
28config GENERIC_HARDIRQS
29 bool
David Howells1bcbba32006-09-25 23:32:04 -070030 default y
Linus Torvalds1da177e2005-04-16 15:20:36 -070031
David Howellsaf8c65b2006-09-25 23:32:07 -070032config GENERIC_HARDIRQS_NO__DO_IRQ
33 bool
34 default y
35
john stultzebd6c172006-09-06 11:02:45 +010036config GENERIC_TIME
37 bool
38 default y
39
Ingo Molnar06027bd2006-02-14 13:53:15 -080040config TIME_LOW_RES
41 bool
42 default y
43
Linus Torvalds1da177e2005-04-16 15:20:36 -070044mainmenu "Fujitsu FR-V Kernel Configuration"
45
46source "init/Kconfig"
47
48
49menu "Fujitsu FR-V system setup"
50
51config MMU
52 bool "MMU support"
53 help
54 This options switches on and off support for the FR-V MMU
55 (effectively switching between vmlinux and uClinux). Not all FR-V
56 CPUs support this. Currently only the FR451 has a sufficiently
57 featured MMU.
58
59config FRV_OUTOFLINE_ATOMIC_OPS
60 bool "Out-of-line the FRV atomic operations"
61 default n
62 help
63 Setting this option causes the FR-V atomic operations to be mostly
64 implemented out-of-line.
65
66 See Documentation/fujitsu/frv/atomic-ops.txt for more information.
67
68config HIGHMEM
69 bool "High memory support"
70 depends on MMU
71 default y
72 help
73 If you wish to use more than 256MB of memory with your MMU based
74 system, you will need to select this option. The kernel can only see
75 the memory between 0xC0000000 and 0xD0000000 directly... everything
76 else must be kmapped.
77
78 The arch is, however, capable of supporting up to 3GB of SDRAM.
79
80config HIGHPTE
81 bool "Allocate page tables in highmem"
82 depends on HIGHMEM
83 default y
84 help
85 The VM uses one page of memory for each page table. For systems
86 with a lot of RAM, this can be wasteful of precious low memory.
87 Setting this option will put user-space page tables in high memory.
88
Dave Hansen3f22ab22005-06-23 00:07:43 -070089source "mm/Kconfig"
90
Linus Torvalds1da177e2005-04-16 15:20:36 -070091choice
92 prompt "uClinux kernel load address"
93 depends on !MMU
94 default UCPAGE_OFFSET_C0000000
95 help
96 This option sets the base address for the uClinux kernel. The kernel
97 will rearrange the SDRAM layout to start at this address, and move
98 itself to start there. It must be greater than 0, and it must be
99 sufficiently less than 0xE0000000 that the SDRAM does not intersect
100 the I/O region.
101
102 The base address must also be aligned such that the SDRAM controller
103 can decode it. For instance, a 512MB SDRAM bank must be 512MB aligned.
104
105config UCPAGE_OFFSET_20000000
106 bool "0x20000000"
107
108config UCPAGE_OFFSET_40000000
109 bool "0x40000000"
110
111config UCPAGE_OFFSET_60000000
112 bool "0x60000000"
113
114config UCPAGE_OFFSET_80000000
115 bool "0x80000000"
116
117config UCPAGE_OFFSET_A0000000
118 bool "0xA0000000"
119
120config UCPAGE_OFFSET_C0000000
121 bool "0xC0000000 (Recommended)"
122
123endchoice
124
125config PROTECT_KERNEL
126 bool "Protect core kernel against userspace"
127 depends on !MMU
128 default y
129 help
130 Selecting this option causes the uClinux kernel to change the
131 permittivity of DAMPR register covering the core kernel image to
132 prevent userspace accessing the underlying memory directly.
133
134choice
135 prompt "CPU Caching mode"
136 default FRV_DEFL_CACHE_WBACK
137 help
138 This option determines the default caching mode for the kernel.
139
140 Write-Back caching mode involves the all reads and writes causing
141 the affected cacheline to be read into the cache first before being
142 operated upon. Memory is not then updated by a write until the cache
143 is filled and a cacheline needs to be displaced from the cache to
144 make room. Only at that point is it written back.
145
146 Write-Behind caching is similar to Write-Back caching, except that a
147 write won't fetch a cacheline into the cache if there isn't already
148 one there; it will write directly to memory instead.
149
150 Write-Through caching only fetches cachelines from memory on a
151 read. Writes always get written directly to memory. If the affected
152 cacheline is also in cache, it will be updated too.
153
154 The final option is to turn of caching entirely.
155
156 Note that not all CPUs support Write-Behind caching. If the CPU on
157 which the kernel is running doesn't, it'll fall back to Write-Back
158 caching.
159
160config FRV_DEFL_CACHE_WBACK
161 bool "Write-Back"
162
163config FRV_DEFL_CACHE_WBEHIND
164 bool "Write-Behind"
165
166config FRV_DEFL_CACHE_WTHRU
167 bool "Write-Through"
168
169config FRV_DEFL_CACHE_DISABLED
170 bool "Disabled"
171
172endchoice
173
174menu "CPU core support"
175
176config CPU_FR401
177 bool "Include FR401 core support"
178 depends on !MMU
179 default y
180 help
181 This enables support for the FR401, FR401A and FR403 CPUs
182
183config CPU_FR405
184 bool "Include FR405 core support"
185 depends on !MMU
186 default y
187 help
188 This enables support for the FR405 CPU
189
190config CPU_FR451
191 bool "Include FR451 core support"
192 default y
193 help
194 This enables support for the FR451 CPU
195
196config CPU_FR451_COMPILE
197 bool "Specifically compile for FR451 core"
198 depends on CPU_FR451 && !CPU_FR401 && !CPU_FR405 && !CPU_FR551
199 default y
200 help
201 This causes appropriate flags to be passed to the compiler to
202 optimise for the FR451 CPU
203
204config CPU_FR551
205 bool "Include FR551 core support"
206 depends on !MMU
207 default y
208 help
209 This enables support for the FR555 CPU
210
211config CPU_FR551_COMPILE
212 bool "Specifically compile for FR551 core"
213 depends on CPU_FR551 && !CPU_FR401 && !CPU_FR405 && !CPU_FR451
214 default y
215 help
216 This causes appropriate flags to be passed to the compiler to
217 optimise for the FR555 CPU
218
219config FRV_L1_CACHE_SHIFT
220 int
221 default "5" if CPU_FR401 || CPU_FR405 || CPU_FR451
222 default "6" if CPU_FR551
223
224endmenu
225
226choice
227 prompt "System support"
228 default MB93091_VDK
229
230config MB93091_VDK
231 bool "MB93091 CPU board with or without motherboard"
232
233config MB93093_PDK
234 bool "MB93093 PDK unit"
235
236endchoice
237
238if MB93091_VDK
239choice
240 prompt "Motherboard support"
241 default MB93090_MB00
242
243config MB93090_MB00
244 bool "Use the MB93090-MB00 motherboard"
245 help
246 Select this option if the MB93091 CPU board is going to be used with
247 a MB93090-MB00 VDK motherboard
248
249config MB93091_NO_MB
250 bool "Use standalone"
251 help
252 Select this option if the MB93091 CPU board is going to be used
253 without a motherboard
254
255endchoice
256endif
257
David Howells1bcbba32006-09-25 23:32:04 -0700258config FUJITSU_MB93493
259 bool "MB93493 Multimedia chip"
260 help
261 Select this option if the MB93493 multimedia chip is going to be
262 used.
263
Linus Torvalds1da177e2005-04-16 15:20:36 -0700264choice
265 prompt "GP-Relative data support"
266 default GPREL_DATA_8
267 help
268 This option controls what data, if any, should be placed in the GP
269 relative data sections. Using this means that the compiler can
270 generate accesses to the data using GR16-relative addressing which
271 is faster than absolute instructions and saves space (2 instructions
272 per access).
273
274 However, the GPREL region is limited in size because the immediate
275 value used in the load and store instructions is limited to a 12-bit
276 signed number.
277
278 So if the linker starts complaining that accesses to GPREL data are
279 out of range, try changing this option from the default.
280
281 Note that modules will always be compiled with this feature disabled
282 as the module data will not be in range of the GP base address.
283
284config GPREL_DATA_8
285 bool "Put data objects of up to 8 bytes into GP-REL"
286
287config GPREL_DATA_4
288 bool "Put data objects of up to 4 bytes into GP-REL"
289
290config GPREL_DATA_NONE
291 bool "Don't use GP-REL"
292
293endchoice
294
David Howellsf8aec752006-01-08 01:01:23 -0800295config FRV_ONCPU_SERIAL
296 bool "Use on-CPU serial ports"
297 select SERIAL_8250
298 default y
299
Linus Torvalds1da177e2005-04-16 15:20:36 -0700300config PCI
301 bool "Use PCI"
302 depends on MB93090_MB00
303 default y
304 help
305 Some FR-V systems (such as the MB93090-MB00 VDK) have PCI
306 onboard. If you have one of these boards and you wish to use the PCI
307 facilities, say Y here.
308
309 The PCI-HOWTO, available from
310 <http://www.tldp.org/docs.html#howto>, contains valuable
311 information about which PCI hardware does work under Linux and which
312 doesn't.
313
314config RESERVE_DMA_COHERENT
315 bool "Reserve DMA coherent memory"
316 depends on PCI && !MMU
317 default y
318 help
319 Many PCI drivers require access to uncached memory for DMA device
320 communications (such as is done with some Ethernet buffer rings). If
321 a fully featured MMU is available, this can be done through page
322 table settings, but if not, a region has to be set aside and marked
323 with a special DAMPR register.
324
325 Setting this option causes uClinux to set aside a portion of the
326 available memory for use in this manner. The memory will then be
327 unavailable for normal kernel use.
328
329source "drivers/pci/Kconfig"
330
David Howells7a758312006-01-08 01:01:22 -0800331source "drivers/pcmcia/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700332
333#config MATH_EMULATION
334# bool "Math emulation support (EXPERIMENTAL)"
335# depends on EXPERIMENTAL
336# help
337# At some point in the future, this will cause floating-point math
338# instructions to be emulated by the kernel on machines that lack a
339# floating-point math coprocessor. Thrill-seekers and chronically
340# sleep-deprived psychotic hacker types can say Y now, everyone else
341# should probably wait a while.
342
343menu "Power management options"
344source kernel/power/Kconfig
345endmenu
346
347endmenu
348
349
350menu "Executable formats"
351
352source "fs/Kconfig.binfmt"
353
354endmenu
355
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700356source "net/Kconfig"
357
Linus Torvalds1da177e2005-04-16 15:20:36 -0700358source "drivers/Kconfig"
359
360source "fs/Kconfig"
361
362source "arch/frv/Kconfig.debug"
363
364source "security/Kconfig"
365
366source "crypto/Kconfig"
367
368source "lib/Kconfig"