diff options
author | Simon Glass <sjg@chromium.org> | 2023-02-05 15:44:20 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-02-10 07:41:40 -0500 |
commit | 942b309609b065c0a5e62868c0642414adc6b839 (patch) | |
tree | 1e46dce7a36e895eae2a5695c260a3abcb601a38 /cmd | |
parent | 0b1671bc0fb2dec87eaf988ff2b8aa2ee443ec05 (diff) | |
download | u-boot-942b309609b065c0a5e62868c0642414adc6b839.zip u-boot-942b309609b065c0a5e62868c0642414adc6b839.tar.gz u-boot-942b309609b065c0a5e62868c0642414adc6b839.tar.bz2 |
Correct SPL use of UDP_FUNCTION_FASTBOOT
This converts 1 usage of this option to the non-SPL form, since there is
no SPL_UDP_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 b94dbd5..17c53bb 100644 --- a/cmd/fastboot.c +++ b/cmd/fastboot.c @@ -21,7 +21,7 @@ static int do_fastboot_udp(int argc, char *const argv[], { int err; - if (!CONFIG_IS_ENABLED(UDP_FUNCTION_FASTBOOT)) { + if (!IS_ENABLED(CONFIG_UDP_FUNCTION_FASTBOOT)) { pr_err("Fastboot UDP not enabled\n"); return CMD_RET_FAILURE; } |