From: Simon Glass Date: Sun, 5 Feb 2023 22:44:23 +0000 (-0700) Subject: Correct SPL use of USB_FUNCTION_FASTBOOT X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=37407ac2f1e0156da0e890b47d7f7cae3f8b5439;p=u-boot.git 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 Reviewed-by: Mattijs Korpershoek --- 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; }