at91dataflashboot: fix configuration options
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 17 Mar 2010 07:52:41 +0000 (08:52 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 12 Jun 2010 11:38:48 +0000 (13:38 +0200)
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
boot/at91dataflashboot/Config.in

index c6711c45de8f91e3294ba734133d1bd069c7fd9a..25b9723c8562ae408c3e038cf1896c0c67aa90b2 100644 (file)
@@ -2,22 +2,24 @@ menuconfig BR2_TARGET_DATAFLASHBOOT
        depends on BR2_arm
        bool "AT91 DataFlashBoot"
 
+if BR2_TARGET_DATAFLASHBOOT
+
 choice
        prompt "Target Architecture"
        default BR2_TARGET_DATAFLASHBOOT_AT91RM9200
-       depends on BR2_TARGET_DATAFLASHBOOT
        help
          Select Chip for which Dataflash boot should be built
          Currently only AT91RM9200 Supported
 
 config BR2_TARGET_DATAFLASHBOOT_AT91RM9200
-       depends on BR2_TARGET_AT91RM9200
        bool "AT91RM9200"
+
 config BR2_TARGET_DATAFLASHBOOT_AT91SAM9261
-       depends on BR2_TARGET_AT91SAM9261
        bool "AT91SAM9261"
+
 config BR2_TARGET_DATAFLASHBOOT_AT91SAM9261S
-       depends on BR2_TARGET_AT91SAM9261S
        bool "AT91SAM9261S"
 
 endchoice
+
+endif # BR2_TARGET_DATAFLASHBOOT