Correct SPL use of UDP_FUNCTION_FASTBOOT
authorSimon Glass <sjg@chromium.org>
Sun, 5 Feb 2023 22:44:20 +0000 (15:44 -0700)
committerTom 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_UDP_FUNCTION_FASTBOOT defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
cmd/fastboot.c

index b94dbd5..17c53bb 100644 (file)
@@ -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;
        }