]> git.sur5r.net Git - u-boot/blobdiff - cmd/fastboot/Kconfig
cmd: fastboot: Rework fastboot dependency
[u-boot] / cmd / fastboot / Kconfig
index fb0c5da94cdb36b70cf67b0a2df110e3299f7055..7330da216aae83a9c0ab708735fe36081ed440cb 100644 (file)
@@ -3,11 +3,16 @@ comment "FASTBOOT"
 menuconfig FASTBOOT
        bool "Fastboot support"
        depends on USB_GADGET
+       default y if ARCH_SUNXI && USB_MUSB_GADGET
 
 if FASTBOOT
 
 config USB_FUNCTION_FASTBOOT
        bool "Enable USB fastboot gadget"
+       default y
+       select USB_GADGET_DOWNLOAD
+       imply ANDROID_BOOT_IMAGE
+       imply CMD_FASTBOOT
        help
          This enables the USB part of the fastboot gadget.