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