aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMike Frysinger <vapier.adi@gmail.com>2008-04-24 14:11:24 -0400
committerBryan Wu <cooloney@kernel.org>2008-04-24 14:11:24 -0400
commit5f004c2009ef95212349f7c7d87e8ff829d15c31 (patch)
tree5cd44ee2cc443400eed99f71d53e376d41243a4e /arch
parentaffee2b2613ada262eecea354b6c60696ca5d482 (diff)
[Blackfin] arch: reorganize some of the board-customization options so that similar things are together and only available as needed
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/blackfin/Kconfig63
1 files changed, 30 insertions, 33 deletions
diff --git a/arch/blackfin/Kconfig b/arch/blackfin/Kconfig
index 75bceee9b9a..eba22c21982 100644
--- a/arch/blackfin/Kconfig
+++ b/arch/blackfin/Kconfig
@@ -272,6 +272,20 @@ config CMDLINE
272 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
273 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).
274 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
275comment "Clock/PLL Setup" 289comment "Clock/PLL Setup"
276 290
277config CLKIN_HZ 291config CLKIN_HZ
@@ -303,6 +317,7 @@ config MEM_ADD_WIDTH
303 int "Memory Address Width" 317 int "Memory Address Width"
304 depends on BFIN_KERNEL_CLOCK 318 depends on BFIN_KERNEL_CLOCK
305 depends on (!BF54x) 319 depends on (!BF54x)
320 range 8 11
306 default 9 if BFIN533_EZKIT 321 default 9 if BFIN533_EZKIT
307 default 9 if BFIN561_EZKIT 322 default 9 if BFIN561_EZKIT
308 default 9 if H8606_HVSISTEMAS 323 default 9 if H8606_HVSISTEMAS
@@ -365,14 +380,7 @@ config SCLK_DIV
365 int "System Clock Divider" 380 int "System Clock Divider"
366 depends on BFIN_KERNEL_CLOCK 381 depends on BFIN_KERNEL_CLOCK
367 range 1 15 382 range 1 15
368 default 5 if BFIN533_EZKIT 383 default 5
369 default 5 if BFIN533_STAMP
370 default 4 if (BFIN537_STAMP || BFIN527_EZKIT || BFIN548_EZKIT || BFIN548_BLUETECHNIX_CM)
371 default 5 if BFIN533_BLUETECHNIX_CM
372 default 4 if BFIN537_BLUETECHNIX_CM
373 default 4 if BFIN561_BLUETECHNIX_CM
374 default 5 if BFIN561_EZKIT
375 default 3 if H8606_HVSISTEMAS
376 help 384 help
377 This sets the frequency of the system clock (including SDRAM or DDR). 385 This sets the frequency of the system clock (including SDRAM or DDR).
378 This can be between 1 and 15 386 This can be between 1 and 15
@@ -386,6 +394,19 @@ config MAX_MEM_SIZE
386 This is the max memory size that the kernel will create CPLB 394 This is the max memory size that the kernel will create CPLB
387 tables for. Your system will not be able to handle any more. 395 tables for. Your system will not be able to handle any more.
388 396
397choice
398 prompt "DDR SDRAM Chip Type"
399 depends on BFIN_KERNEL_CLOCK
400 depends on BF54x
401 default MEM_MT46V32M16_5B
402
403config MEM_MT46V32M16_6T
404 bool "MT46V32M16_6T"
405
406config MEM_MT46V32M16_5B
407 bool "MT46V32M16_5B"
408endchoice
409
389# 410#
390# Max & Min Speeds for various Chips 411# Max & Min Speeds for various Chips
391# 412#
@@ -454,17 +475,7 @@ source kernel/time/Kconfig
454 475
455comment "Memory Setup" 476comment "Memory Setup"
456 477
457choice 478comment "Misc"
458 prompt "DDR SDRAM Chip Type"
459 depends on (BFIN548_EZKIT || BFIN548_BLUETECHNIX_CM)
460 default MEM_MT46V32M16_5B
461
462config MEM_MT46V32M16_6T
463 bool "MT46V32M16_6T"
464
465config MEM_MT46V32M16_5B
466 bool "MT46V32M16_5B"
467endchoice
468 479
469config ENET_FLASH_PIN 480config ENET_FLASH_PIN
470 int "PF port/pin used for flash and ethernet sharing" 481 int "PF port/pin used for flash and ethernet sharing"
@@ -476,20 +487,6 @@ config ENET_FLASH_PIN
476 code. 487 code.
477 For example: PF0 --> 0,PF1 --> 1,PF2 --> 2, etc. 488 For example: PF0 --> 0,PF1 --> 1,PF2 --> 2, etc.
478 489
479config BOOT_LOAD
480 hex "Kernel load address for booting"
481 default "0x1000"
482 range 0x1000 0x20000000
483 help
484 This option allows you to set the load address of the kernel.
485 This can be useful if you are on a board which has a small amount
486 of memory or you wish to reserve some memory at the beginning of
487 the address space.
488
489 Note that you need to keep this value above 4k (0x1000) as this
490 memory region is used to capture NULL pointer references as well
491 as some core kernel functions.
492
493choice 490choice
494 prompt "Blackfin Exception Scratch Register" 491 prompt "Blackfin Exception Scratch Register"
495 default BFIN_SCRATCH_REG_RETN 492 default BFIN_SCRATCH_REG_RETN