aboutsummaryrefslogtreecommitdiff
path: root/cmd/Kconfig
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2018-02-16 16:41:17 +0100
committerMarek Vasut <marex@denx.de>2018-02-21 20:28:15 +0100
commit0f44d33536a50ef65259c322fa2d4a058585caf9 (patch)
treef5d6bdf37d4651509051faa0efd7c4de415d764b /cmd/Kconfig
parent462c117ce045571fef86f88fad3be8b3117897b1 (diff)
downloadu-boot-0f44d33536a50ef65259c322fa2d4a058585caf9.zip
u-boot-0f44d33536a50ef65259c322fa2d4a058585caf9.tar.gz
u-boot-0f44d33536a50ef65259c322fa2d4a058585caf9.tar.bz2
dfu: Fix up the Kconfig mess
Clean up the screaming mess of configuration options that DFU is. It was impossible to configure DFU such that TFTP is enabled and USB is not, this patch fixes that and assures that DFU TFTP and DFU USB can be enabled separatelly and that the correct pieces of code are compiled in. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Lukasz Majewski <lukma@denx.de>
Diffstat (limited to 'cmd/Kconfig')
-rw-r--r--cmd/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 885712f..d997f0c 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -588,7 +588,7 @@ config CMD_DEMO
config CMD_DFU
bool "dfu"
- select USB_FUNCTION_DFU
+ select DFU
help
Enables the command "dfu" which is used to have U-Boot create a DFU
class device via USB. This command requires that the "dfu_alt_info"