diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2017-09-07 10:29:51 +0200 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2017-10-03 19:12:05 +0200 |
commit | cfa34996b0beb90e9b63a5b6f89c78123a2d428e (patch) | |
tree | ddde0da82b51443945e8221f9ba50dcae34e45fa /cmd/fastboot | |
parent | 654b02b18c00c9c2d26f9cd7df53d27e9fc37e4f (diff) | |
download | u-boot-cfa34996b0beb90e9b63a5b6f89c78123a2d428e.tar.gz u-boot-cfa34996b0beb90e9b63a5b6f89c78123a2d428e.tar.xz u-boot-cfa34996b0beb90e9b63a5b6f89c78123a2d428e.zip |
cmd: fastboot: Rework fastboot dependency
Fastboot need a bunch of options to be operating properly, such as the
g_dnl gadget, the fastboot command, and some options that make sense. Since
fastboot is now part of Kconfig, make sure we have them right.
That will also reduce the boilerplate in the defconfigs.
Reviewed-by: Ćukasz Majewski <lukma@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'cmd/fastboot')
-rw-r--r-- | cmd/fastboot/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cmd/fastboot/Kconfig b/cmd/fastboot/Kconfig index fb0c5da94c..7330da216a 100644 --- a/cmd/fastboot/Kconfig +++ b/cmd/fastboot/Kconfig @@ -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. |