diff options
author | Tom Rini <trini@konsulko.com> | 2016-09-19 13:31:30 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-09-27 10:46:45 -0400 |
commit | 6828e602b722d1137d17ca0d25a451c7743c2770 (patch) | |
tree | a69a45a6c8e0fa58cc2d259bc816331da6ab20a0 /cmd/Kconfig | |
parent | 6ad6102246d83ec1d39aeba83f66cf5faffd0f82 (diff) |
dfu: Migrate to Kconfig
Introduce a hidden USB_FUNCTION_DFU Kconfig option and select it for
CMD_DFU (as we must have the DFU command enabled to do anything DFU).
Make all of the entries in drivers/dfu/Kconfig depend on CMD_DFU and add
options for all of the back end choices that DFU can make use of.
Cc: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Acked-by: Lukasz Majewski <l.majewski@samsung.com>
Diffstat (limited to 'cmd/Kconfig')
-rw-r--r-- | cmd/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig index 9ed7976f585..86554ea3622 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -404,6 +404,7 @@ config CMD_USB config CMD_DFU bool "dfu" + select USB_FUNCTION_DFU help Enables the command "dfu" which is used to have U-Boot create a DFU class device via USB. |