aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/Kconfig
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2008-04-24 12:33:34 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-24 12:33:34 -0400
commit346ad4b7fe392571f19314f153db9151dbc1d82b (patch)
tree2d4085338c9044bca2f6472893da60387db3c96f /arch/blackfin/Kconfig
parent845199f194306dbd69ca42d3b40a5125cdb50b89 (diff)
parent2dc63a84b2db23b9680646aff93917211613bf1a (diff)
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/blackfin-2.6
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/blackfin-2.6: (85 commits) Blackfin char driver for Blackfin on-chip OTP memory (v3) Blackfin Serial Driver: fix bug - use mod_timer to replace only add_timer. Blackfin Serial Driver: the uart break anomaly has been given its own number, so switch to it Blackfin Serial Driver: use BFIN_UART_NR_PORTS to help SIR driver in uart port. Blackfin Serial Driver: Fix bug - kernel hangs when accessing uart 0 on bf537 when booting u-boot and linux on uart 1 Blackfin Serial Driver: punt unused lsr variable Blackfin Serial Driver: Enable IR function when user application (irattach /dev/ttyBFx -s) call TIOCSETD ioctl with line discipline N_IRDA [Blackfin] arch: add include/boot .gitignore files [Blackfin] arch: Functional power management support: Add support for cpu frequency scaling [Blackfin] arch: Functional power management support: Remove broken cpu frequency scaling drivers [Blackfin] arch: Equalize include files: Add PLL_DIV Masks [Blackfin] arch: Add a warning about the value of CLKIN. [Blackfin] arch: take DDR DEVWD into consideration as well for BF548 [Blackfin] arch: Remove the circular buffering mechanism for exceptions [Blackfin] arch: lose unnecessary dependency on CONFIG_BFIN_ICACHE for MPU [Blackfin] arch: fix bug - before assign new channel to the map register, need clear the bits first. [Blackfin] arch: add Blackfin on-chip SIR IrDA driver support [Blackfin] arch: BF54x memsizes are in mbits, not mbytes [Blackfin] arch: try to remove condition that causes double fault, by checking current before it gets dereferenced [Blackfin] arch: Update anomaly list. ...
Diffstat (limited to 'arch/blackfin/Kconfig')
-rw-r--r--arch/blackfin/Kconfig161
1 files changed, 83 insertions, 78 deletions
diff --git a/arch/blackfin/Kconfig b/arch/blackfin/Kconfig
index 2dd1f300a5cf..795d0ac67c21 100644
--- a/arch/blackfin/Kconfig
+++ b/arch/blackfin/Kconfig
@@ -47,10 +47,6 @@ config GENERIC_IRQ_PROBE
47 bool 47 bool
48 default y 48 default y
49 49
50config GENERIC_TIME
51 bool
52 default n
53
54config GENERIC_GPIO 50config GENERIC_GPIO
55 bool 51 bool
56 default y 52 default y
@@ -224,16 +220,6 @@ config BF54x
224 depends on (BF542 || BF544 || BF547 || BF548 || BF549) 220 depends on (BF542 || BF544 || BF547 || BF548 || BF549)
225 default y 221 default y
226 222
227config BFIN_DUAL_CORE
228 bool
229 depends on (BF561)
230 default y
231
232config BFIN_SINGLE_CORE
233 bool
234 depends on !BFIN_DUAL_CORE
235 default y
236
237config MEM_GENERIC_BOARD 223config MEM_GENERIC_BOARD
238 bool 224 bool
239 depends on GENERIC_BOARD 225 depends on GENERIC_BOARD
@@ -263,7 +249,7 @@ config MEM_MT48LC8M32B2B5_7
263 249
264config MEM_MT48LC32M16A2TG_75 250config MEM_MT48LC32M16A2TG_75
265 bool 251 bool
266 depends on (BFIN527_EZKIT) 252 depends on (BFIN527_EZKIT || BFIN532_IP0X)
267 default y 253 default y
268 254
269source "arch/blackfin/mach-bf527/Kconfig" 255source "arch/blackfin/mach-bf527/Kconfig"
@@ -286,17 +272,34 @@ config CMDLINE
286 to the kernel, you may specify one here. As a minimum, you should specify 272 to the kernel, you may specify one here. As a minimum, you should specify
287 the memory size and the root device (e.g., mem=8M, root=/dev/nfs). 273 the memory size and the root device (e.g., mem=8M, root=/dev/nfs).
288 274
275config BOOT_LOAD
276 hex "Kernel load address for booting"
277 default "0x1000"
278 range 0x1000 0x20000000
279 help
280 This option allows you to set the load address of the kernel.
281 This can be useful if you are on a board which has a small amount
282 of memory or you wish to reserve some memory at the beginning of
283 the address space.
284
285 Note that you need to keep this value above 4k (0x1000) as this
286 memory region is used to capture NULL pointer references as well
287 as some core kernel functions.
288
289comment "Clock/PLL Setup" 289comment "Clock/PLL Setup"
290 290
291config CLKIN_HZ 291config CLKIN_HZ
292 int "Crystal Frequency in Hz" 292 int "Frequency of the crystal on the board in Hz"
293 default "11059200" if BFIN533_STAMP 293 default "11059200" if BFIN533_STAMP
294 default "27000000" if BFIN533_EZKIT 294 default "27000000" if BFIN533_EZKIT
295 default "25000000" if (BFIN537_STAMP || BFIN527_EZKIT || H8606_HVSISTEMAS) 295 default "25000000" if (BFIN537_STAMP || BFIN527_EZKIT || H8606_HVSISTEMAS)
296 default "30000000" if BFIN561_EZKIT 296 default "30000000" if BFIN561_EZKIT
297 default "24576000" if PNAV10 297 default "24576000" if PNAV10
298 default "10000000" if BFIN532_IP0X
298 help 299 help
299 The frequency of CLKIN crystal oscillator on the board in Hz. 300 The frequency of CLKIN crystal oscillator on the board in Hz.
301 Warning: This value should match the crystal on the board. Otherwise,
302 peripherals won't work properly.
300 303
301config BFIN_KERNEL_CLOCK 304config BFIN_KERNEL_CLOCK
302 bool "Re-program Clocks while Kernel boots?" 305 bool "Re-program Clocks while Kernel boots?"
@@ -307,6 +310,25 @@ config BFIN_KERNEL_CLOCK
307 are also not changed, and the Bootloader does 100% of the hardware 310 are also not changed, and the Bootloader does 100% of the hardware
308 configuration. 311 configuration.
309 312
313config MEM_SIZE
314 int "SDRAM Memory Size in MBytes"
315 depends on BFIN_KERNEL_CLOCK
316 default 64
317
318config MEM_ADD_WIDTH
319 int "Memory Address Width"
320 depends on BFIN_KERNEL_CLOCK
321 depends on (!BF54x)
322 range 8 11
323 default 9 if BFIN533_EZKIT
324 default 9 if BFIN561_EZKIT
325 default 9 if H8606_HVSISTEMAS
326 default 10 if BFIN527_EZKIT
327 default 10 if BFIN537_STAMP
328 default 11 if BFIN533_STAMP
329 default 10 if PNAV10
330 default 10 if BFIN532_IP0X
331
310config PLL_BYPASS 332config PLL_BYPASS
311 bool "Bypass PLL" 333 bool "Bypass PLL"
312 depends on BFIN_KERNEL_CLOCK 334 depends on BFIN_KERNEL_CLOCK
@@ -325,7 +347,7 @@ config VCO_MULT
325 range 1 64 347 range 1 64
326 default "22" if BFIN533_EZKIT 348 default "22" if BFIN533_EZKIT
327 default "45" if BFIN533_STAMP 349 default "45" if BFIN533_STAMP
328 default "20" if (BFIN537_STAMP || BFIN527_EZKIT || BFIN548_EZKIT) 350 default "20" if (BFIN537_STAMP || BFIN527_EZKIT || BFIN548_EZKIT || BFIN548_BLUETECHNIX_CM)
329 default "22" if BFIN533_BLUETECHNIX_CM 351 default "22" if BFIN533_BLUETECHNIX_CM
330 default "20" if BFIN537_BLUETECHNIX_CM 352 default "20" if BFIN537_BLUETECHNIX_CM
331 default "20" if BFIN561_BLUETECHNIX_CM 353 default "20" if BFIN561_BLUETECHNIX_CM
@@ -360,19 +382,33 @@ config SCLK_DIV
360 int "System Clock Divider" 382 int "System Clock Divider"
361 depends on BFIN_KERNEL_CLOCK 383 depends on BFIN_KERNEL_CLOCK
362 range 1 15 384 range 1 15
363 default 5 if BFIN533_EZKIT 385 default 5
364 default 5 if BFIN533_STAMP
365 default 4 if (BFIN537_STAMP || BFIN527_EZKIT || BFIN548_EZKIT)
366 default 5 if BFIN533_BLUETECHNIX_CM
367 default 4 if BFIN537_BLUETECHNIX_CM
368 default 4 if BFIN561_BLUETECHNIX_CM
369 default 5 if BFIN561_EZKIT
370 default 3 if H8606_HVSISTEMAS
371 help 386 help
372 This sets the frequency of the system clock (including SDRAM or DDR). 387 This sets the frequency of the system clock (including SDRAM or DDR).
373 This can be between 1 and 15 388 This can be between 1 and 15
374 System Clock = (PLL frequency) / (this setting) 389 System Clock = (PLL frequency) / (this setting)
375 390
391config MAX_MEM_SIZE
392 int "Max SDRAM Memory Size in MBytes"
393 depends on !BFIN_KERNEL_CLOCK && !MPU
394 default 512
395 help
396 This is the max memory size that the kernel will create CPLB
397 tables for. Your system will not be able to handle any more.
398
399choice
400 prompt "DDR SDRAM Chip Type"
401 depends on BFIN_KERNEL_CLOCK
402 depends on BF54x
403 default MEM_MT46V32M16_5B
404
405config MEM_MT46V32M16_6T
406 bool "MT46V32M16_6T"
407
408config MEM_MT46V32M16_5B
409 bool "MT46V32M16_5B"
410endchoice
411
376# 412#
377# Max & Min Speeds for various Chips 413# Max & Min Speeds for various Chips
378# 414#
@@ -415,42 +451,33 @@ comment "Kernel Timer/Scheduler"
415 451
416source kernel/Kconfig.hz 452source kernel/Kconfig.hz
417 453
418comment "Memory Setup" 454config GENERIC_TIME
419 455 bool "Generic time"
420config MEM_SIZE 456 default y
421 int "SDRAM Memory Size in MBytes"
422 default 32 if BFIN533_EZKIT
423 default 64 if BFIN527_EZKIT
424 default 64 if BFIN537_STAMP
425 default 64 if BFIN548_EZKIT
426 default 64 if BFIN561_EZKIT
427 default 128 if BFIN533_STAMP
428 default 64 if PNAV10
429 default 32 if H8606_HVSISTEMAS
430 457
431config MEM_ADD_WIDTH 458config GENERIC_CLOCKEVENTS
432 int "SDRAM Memory Address Width" 459 bool "Generic clock events"
433 depends on (!BF54x) 460 depends on GENERIC_TIME
434 default 9 if BFIN533_EZKIT 461 default y
435 default 9 if BFIN561_EZKIT
436 default 9 if H8606_HVSISTEMAS
437 default 10 if BFIN527_EZKIT
438 default 10 if BFIN537_STAMP
439 default 11 if BFIN533_STAMP
440 default 10 if PNAV10
441 462
463config CYCLES_CLOCKSOURCE
464 bool "Use 'CYCLES' as a clocksource (EXPERIMENTAL)"
465 depends on EXPERIMENTAL
466 depends on GENERIC_CLOCKEVENTS
467 depends on !BFIN_SCRATCH_REG_CYCLES
468 default n
469 help
470 If you say Y here, you will enable support for using the 'cycles'
471 registers as a clock source. Doing so means you will be unable to
472 safely write to the 'cycles' register during runtime. You will
473 still be able to read it (such as for performance monitoring), but
474 writing the registers will most likely crash the kernel.
442 475
443choice 476source kernel/time/Kconfig
444 prompt "DDR SDRAM Chip Type"
445 depends on BFIN548_EZKIT
446 default MEM_MT46V32M16_5B
447 477
448config MEM_MT46V32M16_6T 478comment "Memory Setup"
449 bool "MT46V32M16_6T"
450 479
451config MEM_MT46V32M16_5B 480comment "Misc"
452 bool "MT46V32M16_5B"
453endchoice
454 481
455config ENET_FLASH_PIN 482config ENET_FLASH_PIN
456 int "PF port/pin used for flash and ethernet sharing" 483 int "PF port/pin used for flash and ethernet sharing"
@@ -462,20 +489,6 @@ config ENET_FLASH_PIN
462 code. 489 code.
463 For example: PF0 --> 0,PF1 --> 1,PF2 --> 2, etc. 490 For example: PF0 --> 0,PF1 --> 1,PF2 --> 2, etc.
464 491
465config BOOT_LOAD
466 hex "Kernel load address for booting"
467 default "0x1000"
468 range 0x1000 0x20000000
469 help
470 This option allows you to set the load address of the kernel.
471 This can be useful if you are on a board which has a small amount
472 of memory or you wish to reserve some memory at the beginning of
473 the address space.
474
475 Note that you need to keep this value above 4k (0x1000) as this
476 memory region is used to capture NULL pointer references as well
477 as some core kernel functions.
478
479choice 492choice
480 prompt "Blackfin Exception Scratch Register" 493 prompt "Blackfin Exception Scratch Register"
481 default BFIN_SCRATCH_REG_RETN 494 default BFIN_SCRATCH_REG_RETN
@@ -661,14 +674,6 @@ endchoice
661 674
662source "mm/Kconfig" 675source "mm/Kconfig"
663 676
664config LARGE_ALLOCS
665 bool "Allow allocating large blocks (> 1MB) of memory"
666 help
667 Allow the slab memory allocator to keep chains for very large
668 memory sizes - upto 32MB. You may need this if your system has
669 a lot of RAM, and you need to able to allocate very large
670 contiguous chunks. If unsure, say N.
671
672config BFIN_GPTIMERS 677config BFIN_GPTIMERS
673 tristate "Enable Blackfin General Purpose Timers API" 678 tristate "Enable Blackfin General Purpose Timers API"
674 default n 679 default n