diff options
author | Simon Glass <sjg@chromium.org> | 2023-02-06 01:44:23 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-02-10 15:41:40 +0300 |
commit | 37407ac2f1e0156da0e890b47d7f7cae3f8b5439 (patch) | |
tree | 351acdf5e61f95c97b2dbfb4dc66aeaabd25bf34 /cmd | |
parent | 942b309609b065c0a5e62868c0642414adc6b839 (diff) | |
download | u-boot-37407ac2f1e0156da0e890b47d7f7cae3f8b5439.tar.xz |
Correct SPL use of USB_FUNCTION_FASTBOOT
This converts 1 usage of this option to the non-SPL form, since there is
no SPL_USB_FUNCTION_FASTBOOT defined in Kconfig
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/fastboot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/fastboot.c b/cmd/fastboot.c index 17c53bbe27..97dc02ce74 100644 --- a/cmd/fastboot.c +++ b/cmd/fastboot.c @@ -44,7 +44,7 @@ static int do_fastboot_usb(int argc, char *const argv[], char *endp; int ret; - if (!CONFIG_IS_ENABLED(USB_FUNCTION_FASTBOOT)) { + if (!IS_ENABLED(CONFIG_USB_FUNCTION_FASTBOOT)) { pr_err("Fastboot USB not enabled\n"); return CMD_RET_FAILURE; } |