git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
942b309
)
Correct SPL use of USB_FUNCTION_FASTBOOT
author
Simon Glass
<sjg@chromium.org>
Sun, 5 Feb 2023 22:44:23 +0000
(15:44 -0700)
committer
Tom Rini
<trini@konsulko.com>
Fri, 10 Feb 2023 12:41:40 +0000
(07:41 -0500)
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>
cmd/fastboot.c
patch
|
blob
|
history
diff --git
a/cmd/fastboot.c
b/cmd/fastboot.c
index
17c53bb
..
97dc02c
100644
(file)
--- 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;
}