]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Correct SPL use of CMD_BOOTZ
authorSimon Glass <sjg@chromium.org>
Sun, 5 Feb 2023 22:36:25 +0000 (15:36 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 9 Feb 2023 21:32:25 +0000 (16:32 -0500)
This converts 1 usage of this option to the non-SPL form, since there is
no SPL_CMD_BOOTZ defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c

index a8372356b0e80440fde47d53d8196a5dc8dbea0a..cfafa539aeb932bbdeef6ddbfc0aa1055c86fbde 100644 (file)
@@ -150,7 +150,7 @@ static int do_stm32prog(struct cmd_tbl *cmdtp, int flag, int argc,
                /* Try bootm for legacy and FIT format image */
                if (genimg_get_format(uimage) != IMAGE_FORMAT_INVALID)
                        do_bootm(cmdtp, 0, 4, bootm_argv);
-               else if (CONFIG_IS_ENABLED(CMD_BOOTZ))
+               else if (IS_ENABLED(CONFIG_CMD_BOOTZ))
                        do_bootz(cmdtp, 0, 4, bootm_argv);
        }
        if (data->script)