diff options
| author | Maxime Ripard <[email protected]> | 2017-09-07 10:29:51 +0200 |
|---|---|---|
| committer | Maxime Ripard <[email protected]> | 2017-10-03 19:12:05 +0200 |
| commit | cfa34996b0beb90e9b63a5b6f89c78123a2d428e (patch) | |
| tree | ddde0da82b51443945e8221f9ba50dcae34e45fa /cmd | |
| parent | 654b02b18c00c9c2d26f9cd7df53d27e9fc37e4f (diff) | |
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 <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Signed-off-by: Maxime Ripard <[email protected]>
Diffstat (limited to 'cmd')
| -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 fb0c5da94cd..7330da216aa 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. |
