at91bootstrap: simplify configuration
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 17 Mar 2010 07:44:13 +0000 (08:44 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 12 Jun 2010 11:38:45 +0000 (13:38 +0200)
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>
boot/at91bootstrap/Config.in

index 8514ccc0cb7ef34c561682b48ea212a4a7835e6a..8efbd13a249e2fee3b469742524ae5c0bfb79c27 100644 (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