cmd/dfu: Enable 'dfu list' command without DFU_OVER_USB
authorMasami Hiramatsu <masami.hiramatsu@linaro.org>
Mon, 31 Jan 2022 02:52:54 +0000 (11:52 +0900)
committerTom Rini <trini@konsulko.com>
Fri, 11 Feb 2022 16:29:23 +0000 (11:29 -0500)
commite9b0fd839bce97f5ef0380fd618cab28a7109aba
treeedede7888c24b515082fc9d4ae77b24820ffcfe1
parentc25a838c9ca2416fe601b656b3b5adb64feb925c
cmd/dfu: Enable 'dfu list' command without DFU_OVER_USB

Since dfu is not only used for USB, and some platform only
supports DFU_OVER_TFTP or EFI capsule update, dfu_alt_info
is defined on such platforms too.

For such platform, 'dfu list' command is useful to check
how the current dfu_alt_info setting is parsed.

Signed-off-by: Masami Hiramatsu <masami.hiramatsu@linaro.org>
cmd/dfu.c