2
1
Эх сурвалжийг харах

at91dataflashboot: fix configuration options

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni 15 жил өмнө
parent
commit
21aa87d6c6

+ 6 - 4
boot/at91dataflashboot/Config.in

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