at91bootstrap: simplify configuration

There no need to depends on BR2_TARGET_AT91BOOTSTRAP when the
configuration options are already inside a if
BR2_TARGET_AT91BOOTSTRAP.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Thomas Petazzoni 2010-03-17 08:44:13 +01:00
parent de5dfe4a1e
commit 1b3ff4a649

View File

@ -13,7 +13,6 @@ config BR2_TARGET_AT91BOOTSTRAP_BOARD
choice
prompt "Boot Memory"
default BR2_TARGET_AT91BOOT_DATAFLASHCARD
depends on BR2_TARGET_AT91BOOTSTRAP
help
Select Chip for which AT91 bootstrap should be built
@ -45,7 +44,6 @@ endchoice
config BR2_TARGET_AT91BOOTSTRAP_MEMORY
string
depends on BR2_TARGET_AT91BOOTSTRAP
default "dataflash" if BR2_TARGET_AT91BOOT_DATAFLASH
default "dataflashcard" if BR2_TARGET_AT91BOOT_DATAFLASHCARD
default "nandflash" if BR2_TARGET_AT91BOOT_NANDFLASH
@ -55,7 +53,6 @@ config BR2_TARGET_AT91BOOTSTRAP_MEMORY
config BR2_AT91BOOTSTRAP_IMG_SIZE
string "Image Size to copy to SDRAM"
depends on BR2_TARGET_AT91BOOTSTRAP
default "0x32000" if BR2_TARGET_AT91BOOT_DATAFLASH
default "0x32000" if BR2_TARGET_AT91BOOT_DATAFLASHCARD
default "0x30000" if BR2_TARGET_AT91BOOT_NANDFLASH
@ -69,7 +66,6 @@ config BR2_AT91BOOTSTRAP_IMG_SIZE
choice
prompt "Start address of application"
default BR2_AT91BOOTSTRAP_JUMP_TO_DEFAULT
depends on BR2_TARGET_AT91BOOTSTRAP
help
Select Chip for which AT91 bootstrap should be built
Currently supports AT91SAM9260EK, AT91SAM9261EK,
@ -97,10 +93,6 @@ config BR2_AT91BOOTSTRAP_JUMP_ADDR
default "0x23F00000" if BR2_AT91BOOTSTRAP_JUMP_TO_DEFAULT
default "0x23F00000" if BR2_AT91BOOTSTRAP_JUMP_TO_HIGH_SDRAM
default "0x20000000" if BR2_AT91BOOTSTRAP_JUMP_TO_START_OF_SDRAM
depends on BR2_TARGET_AT91BOOTSTRAP
comment "It will be copied to $(BR2_AT91BOOTSTRAP_JUMP_ADDR)"
depends on BR2_TARGET_AT91BOOTSTRAP
endif