[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>
This commit is contained in:
Mike Frysinger 2008-04-25 02:11:24 +08:00 committed by Bryan Wu
parent affee2b261
commit 5f004c2009
1 changed files with 30 additions and 33 deletions

View File

@ -272,6 +272,20 @@ config CMDLINE
to the kernel, you may specify one here. As a minimum, you should specify to the kernel, you may specify one here. As a minimum, you should specify
the memory size and the root device (e.g., mem=8M, root=/dev/nfs). the memory size and the root device (e.g., mem=8M, root=/dev/nfs).
config BOOT_LOAD
hex "Kernel load address for booting"
default "0x1000"
range 0x1000 0x20000000
help
This option allows you to set the load address of the kernel.
This can be useful if you are on a board which has a small amount
of memory or you wish to reserve some memory at the beginning of
the address space.
Note that you need to keep this value above 4k (0x1000) as this
memory region is used to capture NULL pointer references as well
as some core kernel functions.
comment "Clock/PLL Setup" comment "Clock/PLL Setup"
config CLKIN_HZ config CLKIN_HZ
@ -303,6 +317,7 @@ config MEM_ADD_WIDTH
int "Memory Address Width" int "Memory Address Width"
depends on BFIN_KERNEL_CLOCK depends on BFIN_KERNEL_CLOCK
depends on (!BF54x) depends on (!BF54x)
range 8 11
default 9 if BFIN533_EZKIT default 9 if BFIN533_EZKIT
default 9 if BFIN561_EZKIT default 9 if BFIN561_EZKIT
default 9 if H8606_HVSISTEMAS default 9 if H8606_HVSISTEMAS
@ -365,14 +380,7 @@ config SCLK_DIV
int "System Clock Divider" int "System Clock Divider"
depends on BFIN_KERNEL_CLOCK depends on BFIN_KERNEL_CLOCK
range 1 15 range 1 15
default 5 if BFIN533_EZKIT default 5
default 5 if BFIN533_STAMP
default 4 if (BFIN537_STAMP || BFIN527_EZKIT || BFIN548_EZKIT || BFIN548_BLUETECHNIX_CM)
default 5 if BFIN533_BLUETECHNIX_CM
default 4 if BFIN537_BLUETECHNIX_CM
default 4 if BFIN561_BLUETECHNIX_CM
default 5 if BFIN561_EZKIT
default 3 if H8606_HVSISTEMAS
help help
This sets the frequency of the system clock (including SDRAM or DDR). This sets the frequency of the system clock (including SDRAM or DDR).
This can be between 1 and 15 This can be between 1 and 15
@ -386,6 +394,19 @@ config MAX_MEM_SIZE
This is the max memory size that the kernel will create CPLB This is the max memory size that the kernel will create CPLB
tables for. Your system will not be able to handle any more. tables for. Your system will not be able to handle any more.
choice
prompt "DDR SDRAM Chip Type"
depends on BFIN_KERNEL_CLOCK
depends on BF54x
default MEM_MT46V32M16_5B
config MEM_MT46V32M16_6T
bool "MT46V32M16_6T"
config MEM_MT46V32M16_5B
bool "MT46V32M16_5B"
endchoice
# #
# Max & Min Speeds for various Chips # Max & Min Speeds for various Chips
# #
@ -454,17 +475,7 @@ source kernel/time/Kconfig
comment "Memory Setup" comment "Memory Setup"
choice comment "Misc"
prompt "DDR SDRAM Chip Type"
depends on (BFIN548_EZKIT || BFIN548_BLUETECHNIX_CM)
default MEM_MT46V32M16_5B
config MEM_MT46V32M16_6T
bool "MT46V32M16_6T"
config MEM_MT46V32M16_5B
bool "MT46V32M16_5B"
endchoice
config ENET_FLASH_PIN config ENET_FLASH_PIN
int "PF port/pin used for flash and ethernet sharing" int "PF port/pin used for flash and ethernet sharing"
@ -476,20 +487,6 @@ config ENET_FLASH_PIN
code. code.
For example: PF0 --> 0,PF1 --> 1,PF2 --> 2, etc. For example: PF0 --> 0,PF1 --> 1,PF2 --> 2, etc.
config BOOT_LOAD
hex "Kernel load address for booting"
default "0x1000"
range 0x1000 0x20000000
help
This option allows you to set the load address of the kernel.
This can be useful if you are on a board which has a small amount
of memory or you wish to reserve some memory at the beginning of
the address space.
Note that you need to keep this value above 4k (0x1000) as this
memory region is used to capture NULL pointer references as well
as some core kernel functions.
choice choice
prompt "Blackfin Exception Scratch Register" prompt "Blackfin Exception Scratch Register"
default BFIN_SCRATCH_REG_RETN default BFIN_SCRATCH_REG_RETN