diff options
author | Simon Glass | 2023-02-05 15:44:23 -0700 |
---|---|---|
committer | Tom Rini | 2023-02-10 07:41:40 -0500 |
commit | 37407ac2f1e0156da0e890b47d7f7cae3f8b5439 (patch) | |
tree | 351acdf5e61f95c97b2dbfb4dc66aeaabd25bf34 /cmd/fastboot.c | |
parent | 942b309609b065c0a5e62868c0642414adc6b839 (diff) |
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/fastboot.c')
-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 17c53bbe277..97dc02ce748 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; } |