blob: a949c4fbbddd4cb428c5cd21fd9a9557db9a5eb4 [file] [log] [blame]
Bryan Wu1394f032007-05-06 14:50:22 -07001#
2# For a description of the syntax of this configuration file,
3# see Documentation/kbuild/kconfig-language.txt.
4#
5
Mike Frysinger53f8a252007-11-15 15:48:01 +08006mainmenu "Blackfin Kernel Configuration"
Bryan Wu1394f032007-05-06 14:50:22 -07007
8config MMU
9 bool
10 default n
11
12config FPU
13 bool
14 default n
15
16config RWSEM_GENERIC_SPINLOCK
17 bool
18 default y
19
20config RWSEM_XCHGADD_ALGORITHM
21 bool
22 default n
23
24config BLACKFIN
25 bool
26 default y
Sam Ravnborgec7748b2008-02-09 10:46:40 +010027 select HAVE_IDE
Mathieu Desnoyers42d4b832008-02-02 15:10:34 -050028 select HAVE_OPROFILE
Michael Hennericha4f0b32c2008-11-18 17:48:22 +080029 select ARCH_WANT_OPTIONAL_GPIOLIB
Bryan Wu1394f032007-05-06 14:50:22 -070030
Aubrey Lie3defff2007-05-21 18:09:11 +080031config ZONE_DMA
32 bool
33 default y
34
Bryan Wu1394f032007-05-06 14:50:22 -070035config GENERIC_FIND_NEXT_BIT
36 bool
37 default y
38
39config GENERIC_HWEIGHT
40 bool
41 default y
42
43config GENERIC_HARDIRQS
44 bool
45 default y
46
47config GENERIC_IRQ_PROBE
Mike Frysingere4e9a7a2007-11-15 20:39:34 +080048 bool
Bryan Wu1394f032007-05-06 14:50:22 -070049 default y
50
Michael Hennerichb2d15832007-07-24 15:46:36 +080051config GENERIC_GPIO
Bryan Wu1394f032007-05-06 14:50:22 -070052 bool
53 default y
54
55config FORCE_MAX_ZONEORDER
56 int
57 default "14"
58
59config GENERIC_CALIBRATE_DELAY
60 bool
61 default y
62
Bryan Wu1394f032007-05-06 14:50:22 -070063source "init/Kconfig"
Matt Helsleydc52ddc2008-10-18 20:27:21 -070064
Bryan Wu1394f032007-05-06 14:50:22 -070065source "kernel/Kconfig.preempt"
66
Matt Helsleydc52ddc2008-10-18 20:27:21 -070067source "kernel/Kconfig.freezer"
68
Bryan Wu1394f032007-05-06 14:50:22 -070069menu "Blackfin Processor Options"
70
71comment "Processor and Board Settings"
72
73choice
74 prompt "CPU"
75 default BF533
76
Bryan Wu2f6f4bc2008-11-18 17:48:21 +080077config BF512
78 bool "BF512"
79 help
80 BF512 Processor Support.
81
82config BF514
83 bool "BF514"
84 help
85 BF514 Processor Support.
86
87config BF516
88 bool "BF516"
89 help
90 BF516 Processor Support.
91
92config BF518
93 bool "BF518"
94 help
95 BF518 Processor Support.
96
Michael Hennerich59003142007-10-21 16:54:27 +080097config BF522
98 bool "BF522"
99 help
100 BF522 Processor Support.
101
Mike Frysinger1545a112007-12-24 16:54:48 +0800102config BF523
103 bool "BF523"
104 help
105 BF523 Processor Support.
106
107config BF524
108 bool "BF524"
109 help
110 BF524 Processor Support.
111
Michael Hennerich59003142007-10-21 16:54:27 +0800112config BF525
113 bool "BF525"
114 help
115 BF525 Processor Support.
116
Mike Frysinger1545a112007-12-24 16:54:48 +0800117config BF526
118 bool "BF526"
119 help
120 BF526 Processor Support.
121
Michael Hennerich59003142007-10-21 16:54:27 +0800122config BF527
123 bool "BF527"
124 help
125 BF527 Processor Support.
126
Bryan Wu1394f032007-05-06 14:50:22 -0700127config BF531
128 bool "BF531"
129 help
130 BF531 Processor Support.
131
132config BF532
133 bool "BF532"
134 help
135 BF532 Processor Support.
136
137config BF533
138 bool "BF533"
139 help
140 BF533 Processor Support.
141
142config BF534
143 bool "BF534"
144 help
145 BF534 Processor Support.
146
147config BF536
148 bool "BF536"
149 help
150 BF536 Processor Support.
151
152config BF537
153 bool "BF537"
154 help
155 BF537 Processor Support.
156
Michael Hennerichdc26aec2008-11-18 17:48:22 +0800157config BF538
158 bool "BF538"
159 help
160 BF538 Processor Support.
161
162config BF539
163 bool "BF539"
164 help
165 BF539 Processor Support.
166
Roy Huang24a07a12007-07-12 22:41:45 +0800167config BF542
168 bool "BF542"
169 help
170 BF542 Processor Support.
171
172config BF544
173 bool "BF544"
174 help
175 BF544 Processor Support.
176
Mike Frysinger7c7fd172007-11-15 21:10:21 +0800177config BF547
178 bool "BF547"
179 help
180 BF547 Processor Support.
181
Roy Huang24a07a12007-07-12 22:41:45 +0800182config BF548
183 bool "BF548"
184 help
185 BF548 Processor Support.
186
187config BF549
188 bool "BF549"
189 help
190 BF549 Processor Support.
191
Bryan Wu1394f032007-05-06 14:50:22 -0700192config BF561
193 bool "BF561"
194 help
Mike Frysingercd88b4d2008-10-09 12:03:22 +0800195 BF561 Processor Support.
Bryan Wu1394f032007-05-06 14:50:22 -0700196
197endchoice
198
Graf Yang46fa5ee2009-01-07 23:14:39 +0800199config SMP
200 depends on BF561
201 bool "Symmetric multi-processing support"
202 ---help---
203 This enables support for systems with more than one CPU,
204 like the dual core BF561. If you have a system with only one
205 CPU, say N. If you have a system with more than one CPU, say Y.
206
207 If you don't know what to do here, say N.
208
209config NR_CPUS
210 int
211 depends on SMP
212 default 2 if BF561
213
214config IRQ_PER_CPU
215 bool
216 depends on SMP
217 default y
218
219config TICK_SOURCE_SYSTMR0
220 bool
221 select BFIN_GPTIMERS
222 depends on SMP
223 default y
224
Mike Frysinger0c0497c2008-10-09 17:32:28 +0800225config BF_REV_MIN
226 int
Bryan Wu2f6f4bc2008-11-18 17:48:21 +0800227 default 0 if (BF51x || BF52x || BF54x)
Mike Frysinger0c0497c2008-10-09 17:32:28 +0800228 default 2 if (BF537 || BF536 || BF534)
229 default 3 if (BF561 ||BF533 || BF532 || BF531)
Bryan Wu2f6f4bc2008-11-18 17:48:21 +0800230 default 4 if (BF538 || BF539)
Mike Frysinger0c0497c2008-10-09 17:32:28 +0800231
232config BF_REV_MAX
233 int
Bryan Wu2f6f4bc2008-11-18 17:48:21 +0800234 default 2 if (BF51x || BF52x || BF54x)
Mike Frysinger0c0497c2008-10-09 17:32:28 +0800235 default 3 if (BF537 || BF536 || BF534)
Bryan Wu2f6f4bc2008-11-18 17:48:21 +0800236 default 5 if (BF561 || BF538 || BF539)
Mike Frysinger0c0497c2008-10-09 17:32:28 +0800237 default 6 if (BF533 || BF532 || BF531)
238
Bryan Wu1394f032007-05-06 14:50:22 -0700239choice
240 prompt "Silicon Rev"
Bryan Wu2f6f4bc2008-11-18 17:48:21 +0800241 default BF_REV_0_1 if (BF51x || BF52x || BF54x)
Mike Frysinger46ce0d92008-10-09 12:05:31 +0800242 default BF_REV_0_2 if (BF534 || BF536 || BF537)
243 default BF_REV_0_3 if (BF531 || BF532 || BF533 || BF561)
Roy Huang24a07a12007-07-12 22:41:45 +0800244
245config BF_REV_0_0
246 bool "0.0"
Bryan Wu2f6f4bc2008-11-18 17:48:21 +0800247 depends on (BF51x || BF52x || BF54x)
Michael Hennerich59003142007-10-21 16:54:27 +0800248
249config BF_REV_0_1
Mike Frysingerd07f4382007-11-15 15:49:17 +0800250 bool "0.1"
251 depends on (BF52x || BF54x)
Bryan Wu1394f032007-05-06 14:50:22 -0700252
253config BF_REV_0_2
254 bool "0.2"
Mike Frysinger49f72532008-10-09 12:06:27 +0800255 depends on (BF52x || BF537 || BF536 || BF534 || BF54x)
Bryan Wu1394f032007-05-06 14:50:22 -0700256
257config BF_REV_0_3
258 bool "0.3"
259 depends on (BF561 || BF537 || BF536 || BF534 || BF533 || BF532 || BF531)
260
261config BF_REV_0_4
262 bool "0.4"
Michael Hennerichdc26aec2008-11-18 17:48:22 +0800263 depends on (BF561 || BF533 || BF532 || BF531 || BF538 || BF539)
Bryan Wu1394f032007-05-06 14:50:22 -0700264
265config BF_REV_0_5
266 bool "0.5"
Michael Hennerichdc26aec2008-11-18 17:48:22 +0800267 depends on (BF561 || BF533 || BF532 || BF531 || BF538 || BF539)
Bryan Wu1394f032007-05-06 14:50:22 -0700268
Mike Frysinger49f72532008-10-09 12:06:27 +0800269config BF_REV_0_6
270 bool "0.6"
271 depends on (BF533 || BF532 || BF531)
272
Jie Zhangde3025f2007-06-25 18:04:12 +0800273config BF_REV_ANY
274 bool "any"
275
276config BF_REV_NONE
277 bool "none"
278
Bryan Wu1394f032007-05-06 14:50:22 -0700279endchoice
280
Bryan Wu2f6f4bc2008-11-18 17:48:21 +0800281config BF51x
282 bool
283 depends on (BF512 || BF514 || BF516 || BF518)
284 default y
285
Michael Hennerich59003142007-10-21 16:54:27 +0800286config BF52x
287 bool
Mike Frysinger1545a112007-12-24 16:54:48 +0800288 depends on (BF522 || BF523 || BF524 || BF525 || BF526 || BF527)
Michael Hennerich59003142007-10-21 16:54:27 +0800289 default y
290
Roy Huang24a07a12007-07-12 22:41:45 +0800291config BF53x
292 bool
293 depends on (BF531 || BF532 || BF533 || BF534 || BF536 || BF537)
294 default y
295
296config BF54x
297 bool
Mike Frysinger7c7fd172007-11-15 21:10:21 +0800298 depends on (BF542 || BF544 || BF547 || BF548 || BF549)
Roy Huang24a07a12007-07-12 22:41:45 +0800299 default y
300
Bryan Wu1394f032007-05-06 14:50:22 -0700301config MEM_GENERIC_BOARD
302 bool
303 depends on GENERIC_BOARD
304 default y
305
306config MEM_MT48LC64M4A2FB_7E
307 bool
308 depends on (BFIN533_STAMP)
309 default y
310
311config MEM_MT48LC16M16A2TG_75
312 bool
313 depends on (BFIN533_EZKIT || BFIN561_EZKIT \
Javier Herreroab472a02007-10-29 16:14:44 +0800314 || BFIN533_BLUETECHNIX_CM || BFIN537_BLUETECHNIX_CM \
Michael Hennerich9db144f2008-07-19 17:16:07 +0800315 || H8606_HVSISTEMAS || BFIN527_BLUETECHNIX_CM)
Bryan Wu1394f032007-05-06 14:50:22 -0700316 default y
317
318config MEM_MT48LC32M8A2_75
319 bool
Michael Hennerichdc26aec2008-11-18 17:48:22 +0800320 depends on (BFIN537_STAMP || PNAV10 || BFIN538_EZKIT)
Bryan Wu1394f032007-05-06 14:50:22 -0700321 default y
322
323config MEM_MT48LC8M32B2B5_7
324 bool
325 depends on (BFIN561_BLUETECHNIX_CM)
326 default y
327
Michael Hennerich59003142007-10-21 16:54:27 +0800328config MEM_MT48LC32M16A2TG_75
329 bool
Michael Hennerich8cc71172008-10-13 14:45:06 +0800330 depends on (BFIN527_EZKIT || BFIN532_IP0X || BLACKSTAMP || BFIN526_EZBRD)
Michael Hennerich59003142007-10-21 16:54:27 +0800331 default y
332
Sonic Zhang49345402009-01-07 23:14:38 +0800333config MEM_MT48LC32M8A2_75
334 bool
335 depends on (BFIN518F_EZBRD)
336 default y
337
Bryan Wu2f6f4bc2008-11-18 17:48:21 +0800338source "arch/blackfin/mach-bf518/Kconfig"
Michael Hennerich59003142007-10-21 16:54:27 +0800339source "arch/blackfin/mach-bf527/Kconfig"
Bryan Wu1394f032007-05-06 14:50:22 -0700340source "arch/blackfin/mach-bf533/Kconfig"
341source "arch/blackfin/mach-bf561/Kconfig"
342source "arch/blackfin/mach-bf537/Kconfig"
Michael Hennerichdc26aec2008-11-18 17:48:22 +0800343source "arch/blackfin/mach-bf538/Kconfig"
Roy Huang24a07a12007-07-12 22:41:45 +0800344source "arch/blackfin/mach-bf548/Kconfig"
Bryan Wu1394f032007-05-06 14:50:22 -0700345
346menu "Board customizations"
347
348config CMDLINE_BOOL
349 bool "Default bootloader kernel arguments"
350
351config CMDLINE
352 string "Initial kernel command string"
353 depends on CMDLINE_BOOL
354 default "console=ttyBF0,57600"
355 help
356 If you don't have a boot loader capable of passing a command line string
357 to the kernel, you may specify one here. As a minimum, you should specify
358 the memory size and the root device (e.g., mem=8M, root=/dev/nfs).
359
Mike Frysinger5f004c22008-04-25 02:11:24 +0800360config BOOT_LOAD
361 hex "Kernel load address for booting"
362 default "0x1000"
363 range 0x1000 0x20000000
364 help
365 This option allows you to set the load address of the kernel.
366 This can be useful if you are on a board which has a small amount
367 of memory or you wish to reserve some memory at the beginning of
368 the address space.
369
370 Note that you need to keep this value above 4k (0x1000) as this
371 memory region is used to capture NULL pointer references as well
372 as some core kernel functions.
373
Michael Hennerich8cc71172008-10-13 14:45:06 +0800374config ROM_BASE
375 hex "Kernel ROM Base"
Mike Frysinger86249912008-11-18 17:48:22 +0800376 depends on ROMKERNEL
Michael Hennerich8cc71172008-10-13 14:45:06 +0800377 default "0x20040000"
378 range 0x20000000 0x20400000 if !(BF54x || BF561)
379 range 0x20000000 0x30000000 if (BF54x || BF561)
380 help
381
Robin Getzf16295e2007-08-03 18:07:17 +0800382comment "Clock/PLL Setup"
Bryan Wu1394f032007-05-06 14:50:22 -0700383
384config CLKIN_HZ
Sonic Zhang2fb6cb42008-04-25 04:39:28 +0800385 int "Frequency of the crystal on the board in Hz"
Bryan Wu1394f032007-05-06 14:50:22 -0700386 default "11059200" if BFIN533_STAMP
387 default "27000000" if BFIN533_EZKIT
Bryan Wu2f6f4bc2008-11-18 17:48:21 +0800388 default "25000000" if (BFIN537_STAMP || BFIN527_EZKIT || H8606_HVSISTEMAS || BLACKSTAMP || BFIN526_EZBRD || BFIN538_EZKIT || BFIN518F-EZBRD)
Bryan Wu1394f032007-05-06 14:50:22 -0700389 default "30000000" if BFIN561_EZKIT
390 default "24576000" if PNAV10
Mike Frysinger5d1617b2008-04-24 05:03:26 +0800391 default "10000000" if BFIN532_IP0X
Bryan Wu1394f032007-05-06 14:50:22 -0700392 help
393 The frequency of CLKIN crystal oscillator on the board in Hz.
Sonic Zhang2fb6cb42008-04-25 04:39:28 +0800394 Warning: This value should match the crystal on the board. Otherwise,
395 peripherals won't work properly.
Bryan Wu1394f032007-05-06 14:50:22 -0700396
Robin Getzf16295e2007-08-03 18:07:17 +0800397config BFIN_KERNEL_CLOCK
398 bool "Re-program Clocks while Kernel boots?"
399 default n
400 help
401 This option decides if kernel clocks are re-programed from the
402 bootloader settings. If the clocks are not set, the SDRAM settings
403 are also not changed, and the Bootloader does 100% of the hardware
404 configuration.
405
406config PLL_BYPASS
Mike Frysingere4e9a7a2007-11-15 20:39:34 +0800407 bool "Bypass PLL"
408 depends on BFIN_KERNEL_CLOCK
409 default n
Robin Getzf16295e2007-08-03 18:07:17 +0800410
411config CLKIN_HALF
412 bool "Half Clock In"
413 depends on BFIN_KERNEL_CLOCK && (! PLL_BYPASS)
414 default n
415 help
416 If this is set the clock will be divided by 2, before it goes to the PLL.
417
418config VCO_MULT
419 int "VCO Multiplier"
420 depends on BFIN_KERNEL_CLOCK && (! PLL_BYPASS)
421 range 1 64
422 default "22" if BFIN533_EZKIT
423 default "45" if BFIN533_STAMP
Michael Hennerichdc26aec2008-11-18 17:48:22 +0800424 default "20" if (BFIN537_STAMP || BFIN527_EZKIT || BFIN548_EZKIT || BFIN548_BLUETECHNIX_CM || BFIN538_EZKIT)
Robin Getzf16295e2007-08-03 18:07:17 +0800425 default "22" if BFIN533_BLUETECHNIX_CM
Michael Hennerich9db144f2008-07-19 17:16:07 +0800426 default "20" if (BFIN537_BLUETECHNIX_CM || BFIN527_BLUETECHNIX_CM || BFIN561_BLUETECHNIX_CM)
Robin Getzf16295e2007-08-03 18:07:17 +0800427 default "20" if BFIN561_EZKIT
Bryan Wu2f6f4bc2008-11-18 17:48:21 +0800428 default "16" if (H8606_HVSISTEMAS || BLACKSTAMP || BFIN526_EZBRD || BFIN518F_EZBRD)
Robin Getzf16295e2007-08-03 18:07:17 +0800429 help
430 This controls the frequency of the on-chip PLL. This can be between 1 and 64.
431 PLL Frequency = (Crystal Frequency) * (this setting)
432
433choice
434 prompt "Core Clock Divider"
435 depends on BFIN_KERNEL_CLOCK
436 default CCLK_DIV_1
437 help
438 This sets the frequency of the core. It can be 1, 2, 4 or 8
439 Core Frequency = (PLL frequency) / (this setting)
440
441config CCLK_DIV_1
442 bool "1"
443
444config CCLK_DIV_2
445 bool "2"
446
447config CCLK_DIV_4
448 bool "4"
449
450config CCLK_DIV_8
451 bool "8"
452endchoice
453
454config SCLK_DIV
455 int "System Clock Divider"
456 depends on BFIN_KERNEL_CLOCK
457 range 1 15
Mike Frysinger5f004c22008-04-25 02:11:24 +0800458 default 5
Robin Getzf16295e2007-08-03 18:07:17 +0800459 help
460 This sets the frequency of the system clock (including SDRAM or DDR).
461 This can be between 1 and 15
462 System Clock = (PLL frequency) / (this setting)
463
Mike Frysinger5f004c22008-04-25 02:11:24 +0800464choice
465 prompt "DDR SDRAM Chip Type"
466 depends on BFIN_KERNEL_CLOCK
467 depends on BF54x
468 default MEM_MT46V32M16_5B
469
470config MEM_MT46V32M16_6T
471 bool "MT46V32M16_6T"
472
473config MEM_MT46V32M16_5B
474 bool "MT46V32M16_5B"
475endchoice
476
Michael Hennerich73feb5c2009-01-07 23:14:39 +0800477choice
478 prompt "DDR/SDRAM Timing"
479 depends on BFIN_KERNEL_CLOCK
480 default BFIN_KERNEL_CLOCK_MEMINIT_CALC
481 help
482 This option allows you to specify Blackfin SDRAM/DDR Timing parameters
483 The calculated SDRAM timing parameters may not be 100%
484 accurate - This option is therefore marked experimental.
485
486config BFIN_KERNEL_CLOCK_MEMINIT_CALC
487 bool "Calculate Timings (EXPERIMENTAL)"
488 depends on EXPERIMENTAL
489
490config BFIN_KERNEL_CLOCK_MEMINIT_SPEC
491 bool "Provide accurate Timings based on target SCLK"
492 help
493 Please consult the Blackfin Hardware Reference Manuals as well
494 as the memory device datasheet.
495 http://docs.blackfin.uclinux.org/doku.php?id=bfin:sdram
496endchoice
497
498menu "Memory Init Control"
499 depends on BFIN_KERNEL_CLOCK_MEMINIT_SPEC
500
501config MEM_DDRCTL0
502 depends on BF54x
503 hex "DDRCTL0"
504 default 0x0
505
506config MEM_DDRCTL1
507 depends on BF54x
508 hex "DDRCTL1"
509 default 0x0
510
511config MEM_DDRCTL2
512 depends on BF54x
513 hex "DDRCTL2"
514 default 0x0
515
516config MEM_EBIU_DDRQUE
517 depends on BF54x
518 hex "DDRQUE"
519 default 0x0
520
521config MEM_SDRRC
522 depends on !BF54x
523 hex "SDRRC"
524 default 0x0
525
526config MEM_SDGCTL
527 depends on !BF54x
528 hex "SDGCTL"
529 default 0x0
530endmenu
531
Robin Getzf16295e2007-08-03 18:07:17 +0800532#
533# Max & Min Speeds for various Chips
534#
535config MAX_VCO_HZ
536 int
Bryan Wu2f6f4bc2008-11-18 17:48:21 +0800537 default 400000000 if BF512
538 default 400000000 if BF514
539 default 400000000 if BF516
540 default 400000000 if BF518
Robin Getzf16295e2007-08-03 18:07:17 +0800541 default 600000000 if BF522
Mike Frysinger1545a112007-12-24 16:54:48 +0800542 default 400000000 if BF523
543 default 400000000 if BF524
Robin Getzf16295e2007-08-03 18:07:17 +0800544 default 600000000 if BF525
Mike Frysinger1545a112007-12-24 16:54:48 +0800545 default 400000000 if BF526
Robin Getzf16295e2007-08-03 18:07:17 +0800546 default 600000000 if BF527
547 default 400000000 if BF531
548 default 400000000 if BF532
549 default 750000000 if BF533
550 default 500000000 if BF534
551 default 400000000 if BF536
552 default 600000000 if BF537
Robin Getzf72eecb2007-11-21 16:29:20 +0800553 default 533333333 if BF538
554 default 533333333 if BF539
Robin Getzf16295e2007-08-03 18:07:17 +0800555 default 600000000 if BF542
Robin Getzf72eecb2007-11-21 16:29:20 +0800556 default 533333333 if BF544
Mike Frysinger1545a112007-12-24 16:54:48 +0800557 default 600000000 if BF547
558 default 600000000 if BF548
Robin Getzf72eecb2007-11-21 16:29:20 +0800559 default 533333333 if BF549
Robin Getzf16295e2007-08-03 18:07:17 +0800560 default 600000000 if BF561
561
562config MIN_VCO_HZ
563 int
564 default 50000000
565
566config MAX_SCLK_HZ
567 int
Robin Getzf72eecb2007-11-21 16:29:20 +0800568 default 133333333
Robin Getzf16295e2007-08-03 18:07:17 +0800569
570config MIN_SCLK_HZ
571 int
572 default 27000000
573
574comment "Kernel Timer/Scheduler"
575
576source kernel/Kconfig.hz
577
Vitja Makarov8b5f79f2008-02-29 12:24:23 +0800578config GENERIC_TIME
579 bool "Generic time"
Graf Yang46fa5ee2009-01-07 23:14:39 +0800580 depends on !SMP
Vitja Makarov8b5f79f2008-02-29 12:24:23 +0800581 default y
582
583config GENERIC_CLOCKEVENTS
584 bool "Generic clock events"
585 depends on GENERIC_TIME
586 default y
587
588config CYCLES_CLOCKSOURCE
589 bool "Use 'CYCLES' as a clocksource (EXPERIMENTAL)"
590 depends on EXPERIMENTAL
591 depends on GENERIC_CLOCKEVENTS
592 depends on !BFIN_SCRATCH_REG_CYCLES
593 default n
594 help
595 If you say Y here, you will enable support for using the 'cycles'
596 registers as a clock source. Doing so means you will be unable to
597 safely write to the 'cycles' register during runtime. You will
598 still be able to read it (such as for performance monitoring), but
599 writing the registers will most likely crash the kernel.
600
601source kernel/time/Kconfig
602
Mike Frysinger5f004c22008-04-25 02:11:24 +0800603comment "Misc"
Sonic Zhang971d5bc2008-01-27 16:32:31 +0800604
Mike Frysingerf0b5d122007-08-05 17:03:59 +0800605choice
606 prompt "Blackfin Exception Scratch Register"
607 default BFIN_SCRATCH_REG_RETN
608 help
609 Select the resource to reserve for the Exception handler:
610 - RETN: Non-Maskable Interrupt (NMI)
611 - RETE: Exception Return (JTAG/ICE)
612 - CYCLES: Performance counter
613
614 If you are unsure, please select "RETN".
615
616config BFIN_SCRATCH_REG_RETN
617 bool "RETN"
618 help
619 Use the RETN register in the Blackfin exception handler
620 as a stack scratch register. This means you cannot
621 safely use NMI on the Blackfin while running Linux, but
622 you can debug the system with a JTAG ICE and use the
623 CYCLES performance registers.
624
625 If you are unsure, please select "RETN".
626
627config BFIN_SCRATCH_REG_RETE
628 bool "RETE"
629 help
630 Use the RETE register in the Blackfin exception handler
631 as a stack scratch register. This means you cannot
632 safely use a JTAG ICE while debugging a Blackfin board,
633 but you can safely use the CYCLES performance registers
634 and the NMI.
635
636 If you are unsure, please select "RETN".
637
638config BFIN_SCRATCH_REG_CYCLES
639 bool "CYCLES"
640 help
641 Use the CYCLES register in the Blackfin exception handler
642 as a stack scratch register. This means you cannot
643 safely use the CYCLES performance registers on a Blackfin
644 board at anytime, but you can debug the system with a JTAG
645 ICE and use the NMI.
646
647 If you are unsure, please select "RETN".
648
649endchoice
650
Bryan Wu1394f032007-05-06 14:50:22 -0700651endmenu
652
653
654menu "Blackfin Kernel Optimizations"
Graf Yang46fa5ee2009-01-07 23:14:39 +0800655 depends on !SMP
Bryan Wu1394f032007-05-06 14:50:22 -0700656
Bryan Wu1394f032007-05-06 14:50:22 -0700657comment "Memory Optimizations"
658
659config I_ENTRY_L1
660 bool "Locate interrupt entry code in L1 Memory"
661 default y
662 help
Matt LaPlante01dd2fb2007-10-20 01:34:40 +0200663 If enabled, interrupt entry code (STORE/RESTORE CONTEXT) is linked
664 into L1 instruction memory. (less latency)
Bryan Wu1394f032007-05-06 14:50:22 -0700665
666config EXCPT_IRQ_SYSC_L1
Matt LaPlante01dd2fb2007-10-20 01:34:40 +0200667 bool "Locate entire ASM lowlevel exception / interrupt - Syscall and CPLB handler code in L1 Memory"
Bryan Wu1394f032007-05-06 14:50:22 -0700668 default y
669 help
Matt LaPlante01dd2fb2007-10-20 01:34:40 +0200670 If enabled, the entire ASM lowlevel exception and interrupt entry code
Michael Hennerichcfefe3c2008-02-09 04:12:37 +0800671 (STORE/RESTORE CONTEXT) is linked into L1 instruction memory.
Matt LaPlante01dd2fb2007-10-20 01:34:40 +0200672 (less latency)
Bryan Wu1394f032007-05-06 14:50:22 -0700673
674config DO_IRQ_L1
675 bool "Locate frequently called do_irq dispatcher function in L1 Memory"
676 default y
677 help
Matt LaPlante01dd2fb2007-10-20 01:34:40 +0200678 If enabled, the frequently called do_irq dispatcher function is linked
679 into L1 instruction memory. (less latency)
Bryan Wu1394f032007-05-06 14:50:22 -0700680
681config CORE_TIMER_IRQ_L1
682 bool "Locate frequently called timer_interrupt() function in L1 Memory"
683 default y
684 help
Matt LaPlante01dd2fb2007-10-20 01:34:40 +0200685 If enabled, the frequently called timer_interrupt() function is linked
686 into L1 instruction memory. (less latency)
Bryan Wu1394f032007-05-06 14:50:22 -0700687
688config IDLE_L1
689 bool "Locate frequently idle function in L1 Memory"
690 default y
691 help
Matt LaPlante01dd2fb2007-10-20 01:34:40 +0200692 If enabled, the frequently called idle function is linked
693 into L1 instruction memory. (less latency)
Bryan Wu1394f032007-05-06 14:50:22 -0700694
695config SCHEDULE_L1
696 bool "Locate kernel schedule function in L1 Memory"
697 default y
698 help
Matt LaPlante01dd2fb2007-10-20 01:34:40 +0200699 If enabled, the frequently called kernel schedule is linked
700 into L1 instruction memory. (less latency)
Bryan Wu1394f032007-05-06 14:50:22 -0700701
702config ARITHMETIC_OPS_L1
703 bool "Locate kernel owned arithmetic functions in L1 Memory"
704 default y
705 help
Matt LaPlante01dd2fb2007-10-20 01:34:40 +0200706 If enabled, arithmetic functions are linked
707 into L1 instruction memory. (less latency)
Bryan Wu1394f032007-05-06 14:50:22 -0700708
709config ACCESS_OK_L1
710 bool "Locate access_ok function in L1 Memory"
711 default y
712 help
Matt LaPlante01dd2fb2007-10-20 01:34:40 +0200713 If enabled, the access_ok function is linked
714 into L1 instruction memory. (less latency)
Bryan Wu1394f032007-05-06 14:50:22 -0700715
716config MEMSET_L1
717 bool "Locate memset function in L1 Memory"
718 default y
719 help
Matt LaPlante01dd2fb2007-10-20 01:34:40 +0200720 If enabled, the memset function is linked
721 into L1 instruction memory. (less latency)
Bryan Wu1394f032007-05-06 14:50:22 -0700722
723config MEMCPY_L1
724 bool "Locate memcpy function in L1 Memory"
725 default y
726 help
Matt LaPlante01dd2fb2007-10-20 01:34:40 +0200727 If enabled, the memcpy function is linked
728 into L1 instruction memory. (less latency)
Bryan Wu1394f032007-05-06 14:50:22 -0700729
730config SYS_BFIN_SPINLOCK_L1
731 bool "Locate sys_bfin_spinlock function in L1 Memory"
732 default y
733 help
Matt LaPlante01dd2fb2007-10-20 01:34:40 +0200734 If enabled, sys_bfin_spinlock function is linked
735 into L1 instruction memory. (less latency)
Bryan Wu1394f032007-05-06 14:50:22 -0700736
737config IP_CHECKSUM_L1
738 bool "Locate IP Checksum function in L1 Memory"
739 default n
740 help
Matt LaPlante01dd2fb2007-10-20 01:34:40 +0200741 If enabled, the IP Checksum function is linked
742 into L1 instruction memory. (less latency)
Bryan Wu1394f032007-05-06 14:50:22 -0700743
744config CACHELINE_ALIGNED_L1
745 bool "Locate cacheline_aligned data to L1 Data Memory"
Michael Hennerich157cc5a2007-07-12 16:20:21 +0800746 default y if !BF54x
747 default n if BF54x
Bryan Wu1394f032007-05-06 14:50:22 -0700748 depends on !BF531
749 help
Matt LaPlante01dd2fb2007-10-20 01:34:40 +0200750 If enabled, cacheline_anligned data is linked
751 into L1 data memory. (less latency)
Bryan Wu1394f032007-05-06 14:50:22 -0700752
753config SYSCALL_TAB_L1
754 bool "Locate Syscall Table L1 Data Memory"
755 default n
756 depends on !BF531
757 help
Matt LaPlante01dd2fb2007-10-20 01:34:40 +0200758 If enabled, the Syscall LUT is linked
759 into L1 data memory. (less latency)
Bryan Wu1394f032007-05-06 14:50:22 -0700760
761config CPLB_SWITCH_TAB_L1
762 bool "Locate CPLB Switch Tables L1 Data Memory"
763 default n
764 depends on !BF531
765 help
Matt LaPlante01dd2fb2007-10-20 01:34:40 +0200766 If enabled, the CPLB Switch Tables are linked
767 into L1 data memory. (less latency)
Bryan Wu1394f032007-05-06 14:50:22 -0700768
Graf Yangca87b7a2008-10-08 17:30:01 +0800769config APP_STACK_L1
770 bool "Support locating application stack in L1 Scratch Memory"
771 default y
772 help
773 If enabled the application stack can be located in L1
774 scratch memory (less latency).
775
776 Currently only works with FLAT binaries.
777
Mike Frysinger6ad2b842008-10-28 11:03:09 +0800778config EXCEPTION_L1_SCRATCH
779 bool "Locate exception stack in L1 Scratch Memory"
780 default n
781 depends on !APP_STACK_L1 && !SYSCALL_TAB_L1
782 help
783 Whenever an exception occurs, use the L1 Scratch memory for
784 stack storage. You cannot place the stacks of FLAT binaries
785 in L1 when using this option.
786
787 If you don't use L1 Scratch, then you should say Y here.
788
Robin Getz251383c2008-08-14 15:12:55 +0800789comment "Speed Optimizations"
790config BFIN_INS_LOWOVERHEAD
791 bool "ins[bwl] low overhead, higher interrupt latency"
792 default y
793 help
794 Reads on the Blackfin are speculative. In Blackfin terms, this means
795 they can be interrupted at any time (even after they have been issued
796 on to the external bus), and re-issued after the interrupt occurs.
797 For memory - this is not a big deal, since memory does not change if
798 it sees a read.
799
800 If a FIFO is sitting on the end of the read, it will see two reads,
801 when the core only sees one since the FIFO receives both the read
802 which is cancelled (and not delivered to the core) and the one which
803 is re-issued (which is delivered to the core).
804
805 To solve this, interrupts are turned off before reads occur to
806 I/O space. This option controls which the overhead/latency of
807 controlling interrupts during this time
808 "n" turns interrupts off every read
809 (higher overhead, but lower interrupt latency)
810 "y" turns interrupts off every loop
811 (low overhead, but longer interrupt latency)
812
813 default behavior is to leave this set to on (type "Y"). If you are experiencing
814 interrupt latency issues, it is safe and OK to turn this off.
815
Bryan Wu1394f032007-05-06 14:50:22 -0700816endmenu
817
Bryan Wu1394f032007-05-06 14:50:22 -0700818choice
819 prompt "Kernel executes from"
820 help
821 Choose the memory type that the kernel will be running in.
822
823config RAMKERNEL
824 bool "RAM"
825 help
826 The kernel will be resident in RAM when running.
827
828config ROMKERNEL
829 bool "ROM"
830 help
831 The kernel will be resident in FLASH/ROM when running.
832
833endchoice
834
835source "mm/Kconfig"
836
Mike Frysinger780431e2007-10-21 23:37:54 +0800837config BFIN_GPTIMERS
838 tristate "Enable Blackfin General Purpose Timers API"
839 default n
840 help
841 Enable support for the General Purpose Timers API. If you
842 are unsure, say N.
843
844 To compile this driver as a module, choose M here: the module
845 will be called gptimers.ko.
846
Bryan Wu1394f032007-05-06 14:50:22 -0700847choice
Mike Frysingerd292b002008-10-28 11:15:36 +0800848 prompt "Uncached DMA region"
Bryan Wu1394f032007-05-06 14:50:22 -0700849 default DMA_UNCACHED_1M
Cliff Cai86ad7932008-05-17 16:36:52 +0800850config DMA_UNCACHED_4M
851 bool "Enable 4M DMA region"
Bryan Wu1394f032007-05-06 14:50:22 -0700852config DMA_UNCACHED_2M
853 bool "Enable 2M DMA region"
854config DMA_UNCACHED_1M
855 bool "Enable 1M DMA region"
856config DMA_UNCACHED_NONE
857 bool "Disable DMA region"
858endchoice
859
860
861comment "Cache Support"
Robin Getz3bebca22007-10-10 23:55:26 +0800862config BFIN_ICACHE
Bryan Wu1394f032007-05-06 14:50:22 -0700863 bool "Enable ICACHE"
Robin Getz3bebca22007-10-10 23:55:26 +0800864config BFIN_DCACHE
Bryan Wu1394f032007-05-06 14:50:22 -0700865 bool "Enable DCACHE"
Robin Getz3bebca22007-10-10 23:55:26 +0800866config BFIN_DCACHE_BANKA
Bryan Wu1394f032007-05-06 14:50:22 -0700867 bool "Enable only 16k BankA DCACHE - BankB is SRAM"
Robin Getz3bebca22007-10-10 23:55:26 +0800868 depends on BFIN_DCACHE && !BF531
Bryan Wu1394f032007-05-06 14:50:22 -0700869 default n
Robin Getz3bebca22007-10-10 23:55:26 +0800870config BFIN_ICACHE_LOCK
871 bool "Enable Instruction Cache Locking"
Bryan Wu1394f032007-05-06 14:50:22 -0700872
873choice
874 prompt "Policy"
Robin Getz3bebca22007-10-10 23:55:26 +0800875 depends on BFIN_DCACHE
Graf Yang46fa5ee2009-01-07 23:14:39 +0800876 default BFIN_WB if !SMP
877 default BFIN_WT if SMP
Robin Getz3bebca22007-10-10 23:55:26 +0800878config BFIN_WB
Bryan Wu1394f032007-05-06 14:50:22 -0700879 bool "Write back"
Graf Yang46fa5ee2009-01-07 23:14:39 +0800880 depends on !SMP
Bryan Wu1394f032007-05-06 14:50:22 -0700881 help
882 Write Back Policy:
883 Cached data will be written back to SDRAM only when needed.
884 This can give a nice increase in performance, but beware of
885 broken drivers that do not properly invalidate/flush their
886 cache.
887
888 Write Through Policy:
889 Cached data will always be written back to SDRAM when the
890 cache is updated. This is a completely safe setting, but
891 performance is worse than Write Back.
892
893 If you are unsure of the options and you want to be safe,
894 then go with Write Through.
895
Robin Getz3bebca22007-10-10 23:55:26 +0800896config BFIN_WT
Bryan Wu1394f032007-05-06 14:50:22 -0700897 bool "Write through"
898 help
899 Write Back Policy:
900 Cached data will be written back to SDRAM only when needed.
901 This can give a nice increase in performance, but beware of
902 broken drivers that do not properly invalidate/flush their
903 cache.
904
905 Write Through Policy:
906 Cached data will always be written back to SDRAM when the
907 cache is updated. This is a completely safe setting, but
908 performance is worse than Write Back.
909
910 If you are unsure of the options and you want to be safe,
911 then go with Write Through.
912
913endchoice
914
Sonic Zhangf099f392008-10-09 14:11:57 +0800915config BFIN_L2_CACHEABLE
916 bool "Cache L2 SRAM"
Mike Frysinger94106e02009-01-07 23:14:38 +0800917 depends on (BFIN_DCACHE || BFIN_ICACHE) && (BF54x || (BF561 && !SMP))
Sonic Zhangf099f392008-10-09 14:11:57 +0800918 default n
919 help
920 Select to make L2 SRAM cacheable in L1 data and instruction cache.
921
Bernd Schmidtb97b8a92008-01-27 18:39:16 +0800922config MPU
923 bool "Enable the memory protection unit (EXPERIMENTAL)"
924 default n
925 help
926 Use the processor's MPU to protect applications from accessing
927 memory they do not own. This comes at a performance penalty
928 and is recommended only for debugging.
929
Bryan Wu1394f032007-05-06 14:50:22 -0700930comment "Asynchonous Memory Configuration"
931
Mike Frysingerddf416b2007-10-10 18:06:47 +0800932menu "EBIU_AMGCTL Global Control"
Bryan Wu1394f032007-05-06 14:50:22 -0700933config C_AMCKEN
934 bool "Enable CLKOUT"
935 default y
936
937config C_CDPRIO
938 bool "DMA has priority over core for ext. accesses"
939 default n
940
941config C_B0PEN
942 depends on BF561
943 bool "Bank 0 16 bit packing enable"
944 default y
945
946config C_B1PEN
947 depends on BF561
948 bool "Bank 1 16 bit packing enable"
949 default y
950
951config C_B2PEN
952 depends on BF561
953 bool "Bank 2 16 bit packing enable"
954 default y
955
956config C_B3PEN
957 depends on BF561
958 bool "Bank 3 16 bit packing enable"
959 default n
960
961choice
962 prompt"Enable Asynchonous Memory Banks"
963 default C_AMBEN_ALL
964
965config C_AMBEN
966 bool "Disable All Banks"
967
968config C_AMBEN_B0
969 bool "Enable Bank 0"
970
971config C_AMBEN_B0_B1
972 bool "Enable Bank 0 & 1"
973
974config C_AMBEN_B0_B1_B2
975 bool "Enable Bank 0 & 1 & 2"
976
977config C_AMBEN_ALL
978 bool "Enable All Banks"
979endchoice
980endmenu
981
982menu "EBIU_AMBCTL Control"
983config BANK_0
984 hex "Bank 0"
985 default 0x7BB0
986
987config BANK_1
988 hex "Bank 1"
989 default 0x7BB0
Michael Hennerich197fba52008-05-07 17:03:27 +0800990 default 0x5558 if BF54x
Bryan Wu1394f032007-05-06 14:50:22 -0700991
992config BANK_2
993 hex "Bank 2"
994 default 0x7BB0
995
996config BANK_3
997 hex "Bank 3"
998 default 0x99B3
999endmenu
1000
Sonic Zhange40540b2007-11-21 23:49:52 +08001001config EBIU_MBSCTLVAL
1002 hex "EBIU Bank Select Control Register"
1003 depends on BF54x
1004 default 0
1005
1006config EBIU_MODEVAL
1007 hex "Flash Memory Mode Control Register"
1008 depends on BF54x
1009 default 1
1010
1011config EBIU_FCTLVAL
1012 hex "Flash Memory Bank Control Register"
1013 depends on BF54x
1014 default 6
Bryan Wu1394f032007-05-06 14:50:22 -07001015endmenu
1016
1017#############################################################################
1018menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
1019
1020config PCI
1021 bool "PCI support"
Adrian Bunka95ca3b2008-08-27 10:55:05 +08001022 depends on BROKEN
Bryan Wu1394f032007-05-06 14:50:22 -07001023 help
1024 Support for PCI bus.
1025
1026source "drivers/pci/Kconfig"
1027
1028config HOTPLUG
1029 bool "Support for hot-pluggable device"
1030 help
1031 Say Y here if you want to plug devices into your computer while
1032 the system is running, and be able to use them quickly. In many
1033 cases, the devices can likewise be unplugged at any time too.
1034
1035 One well known example of this is PCMCIA- or PC-cards, credit-card
1036 size devices such as network cards, modems or hard drives which are
1037 plugged into slots found on all modern laptop computers. Another
1038 example, used on modern desktops as well as laptops, is USB.
1039
Johannes Berga81792f2008-07-08 19:00:25 +02001040 Enable HOTPLUG and build a modular kernel. Get agent software
1041 (from <http://linux-hotplug.sourceforge.net/>) and install it.
Bryan Wu1394f032007-05-06 14:50:22 -07001042 Then your kernel will automatically call out to a user mode "policy
1043 agent" (/sbin/hotplug) to load modules and set up software needed
1044 to use devices as you hotplug them.
1045
1046source "drivers/pcmcia/Kconfig"
1047
1048source "drivers/pci/hotplug/Kconfig"
1049
1050endmenu
1051
1052menu "Executable file formats"
1053
1054source "fs/Kconfig.binfmt"
1055
1056endmenu
1057
1058menu "Power management options"
1059source "kernel/power/Kconfig"
1060
Johannes Bergf4cb5702007-12-08 02:14:00 +01001061config ARCH_SUSPEND_POSSIBLE
1062 def_bool y
1063 depends on !SMP
1064
Bryan Wu1394f032007-05-06 14:50:22 -07001065choice
Michael Hennerich1efc80b2008-07-19 16:57:32 +08001066 prompt "Standby Power Saving Mode"
Bryan Wu1394f032007-05-06 14:50:22 -07001067 depends on PM
Michael Hennerichcfefe3c2008-02-09 04:12:37 +08001068 default PM_BFIN_SLEEP_DEEPER
1069config PM_BFIN_SLEEP_DEEPER
1070 bool "Sleep Deeper"
Bryan Wu1394f032007-05-06 14:50:22 -07001071 help
Michael Hennerichcfefe3c2008-02-09 04:12:37 +08001072 Sleep "Deeper" Mode (High Power Savings) - This mode reduces dynamic
1073 power dissipation by disabling the clock to the processor core (CCLK).
1074 Furthermore, Standby sets the internal power supply voltage (VDDINT)
1075 to 0.85 V to provide the greatest power savings, while preserving the
1076 processor state.
1077 The PLL and system clock (SCLK) continue to operate at a very low
1078 frequency of about 3.3 MHz. To preserve data integrity in the SDRAM,
1079 the SDRAM is put into Self Refresh Mode. Typically an external event
1080 such as GPIO interrupt or RTC activity wakes up the processor.
1081 Various Peripherals such as UART, SPORT, PPI may not function as
1082 normal during Sleep Deeper, due to the reduced SCLK frequency.
1083 When in the sleep mode, system DMA access to L1 memory is not supported.
Bryan Wu1394f032007-05-06 14:50:22 -07001084
Michael Hennerich1efc80b2008-07-19 16:57:32 +08001085 If unsure, select "Sleep Deeper".
1086
Michael Hennerichcfefe3c2008-02-09 04:12:37 +08001087config PM_BFIN_SLEEP
1088 bool "Sleep"
1089 help
1090 Sleep Mode (High Power Savings) - The sleep mode reduces power
1091 dissipation by disabling the clock to the processor core (CCLK).
1092 The PLL and system clock (SCLK), however, continue to operate in
1093 this mode. Typically an external event or RTC activity will wake
Michael Hennerich1efc80b2008-07-19 16:57:32 +08001094 up the processor. When in the sleep mode, system DMA access to L1
1095 memory is not supported.
1096
1097 If unsure, select "Sleep Deeper".
Bryan Wu1394f032007-05-06 14:50:22 -07001098endchoice
1099
Michael Hennerichcfefe3c2008-02-09 04:12:37 +08001100config PM_WAKEUP_BY_GPIO
Michael Hennerich1efc80b2008-07-19 16:57:32 +08001101 bool "Allow Wakeup from Standby by GPIO"
Bryan Wu1394f032007-05-06 14:50:22 -07001102
1103config PM_WAKEUP_GPIO_NUMBER
Michael Hennerich1efc80b2008-07-19 16:57:32 +08001104 int "GPIO number"
Bryan Wu1394f032007-05-06 14:50:22 -07001105 range 0 47
1106 depends on PM_WAKEUP_BY_GPIO
Mike Frysingerd1a33362008-11-18 17:48:22 +08001107 default 2
Bryan Wu1394f032007-05-06 14:50:22 -07001108
1109choice
1110 prompt "GPIO Polarity"
1111 depends on PM_WAKEUP_BY_GPIO
1112 default PM_WAKEUP_GPIO_POLAR_H
1113config PM_WAKEUP_GPIO_POLAR_H
1114 bool "Active High"
1115config PM_WAKEUP_GPIO_POLAR_L
1116 bool "Active Low"
1117config PM_WAKEUP_GPIO_POLAR_EDGE_F
1118 bool "Falling EDGE"
1119config PM_WAKEUP_GPIO_POLAR_EDGE_R
1120 bool "Rising EDGE"
1121config PM_WAKEUP_GPIO_POLAR_EDGE_B
1122 bool "Both EDGE"
1123endchoice
1124
Michael Hennerich1efc80b2008-07-19 16:57:32 +08001125comment "Possible Suspend Mem / Hibernate Wake-Up Sources"
1126 depends on PM
1127
Michael Hennerich1efc80b2008-07-19 16:57:32 +08001128config PM_BFIN_WAKE_PH6
1129 bool "Allow Wake-Up from on-chip PHY or PH6 GP"
Bryan Wu2f6f4bc2008-11-18 17:48:21 +08001130 depends on PM && (BF51x || BF52x || BF534 || BF536 || BF537)
Michael Hennerich1efc80b2008-07-19 16:57:32 +08001131 default n
1132 help
1133 Enable PHY and PH6 GP Wake-Up (Voltage Regulator Power-Up)
1134
Michael Hennerich1efc80b2008-07-19 16:57:32 +08001135config PM_BFIN_WAKE_GP
1136 bool "Allow Wake-Up from GPIOs"
1137 depends on PM && BF54x
1138 default n
1139 help
1140 Enable General-Purpose Wake-Up (Voltage Regulator Power-Up)
Bryan Wu1394f032007-05-06 14:50:22 -07001141endmenu
1142
Bryan Wu1394f032007-05-06 14:50:22 -07001143menu "CPU Frequency scaling"
1144
1145source "drivers/cpufreq/Kconfig"
1146
Michael Hennerich5ad2ca52008-11-18 17:48:22 +08001147config BFIN_CPU_FREQ
1148 bool
1149 depends on CPU_FREQ
1150 select CPU_FREQ_TABLE
1151 default y
1152
Michael Hennerich14b03202008-05-07 11:41:26 +08001153config CPU_VOLTAGE
1154 bool "CPU Voltage scaling"
Michael Hennerich73feb5c2009-01-07 23:14:39 +08001155 depends on EXPERIMENTAL
Michael Hennerich14b03202008-05-07 11:41:26 +08001156 depends on CPU_FREQ
1157 default n
1158 help
1159 Say Y here if you want CPU voltage scaling according to the CPU frequency.
1160 This option violates the PLL BYPASS recommendation in the Blackfin Processor
Michael Hennerich73feb5c2009-01-07 23:14:39 +08001161 manuals. There is a theoretical risk that during VDDINT transitions
Michael Hennerich14b03202008-05-07 11:41:26 +08001162 the PLL may unlock.
1163
Bryan Wu1394f032007-05-06 14:50:22 -07001164endmenu
1165
Bryan Wu1394f032007-05-06 14:50:22 -07001166source "net/Kconfig"
1167
1168source "drivers/Kconfig"
1169
1170source "fs/Kconfig"
1171
Mike Frysinger74ce8322007-11-21 23:50:49 +08001172source "arch/blackfin/Kconfig.debug"
Bryan Wu1394f032007-05-06 14:50:22 -07001173
1174source "security/Kconfig"
1175
1176source "crypto/Kconfig"
1177
1178source "lib/Kconfig"