]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Correct SPL use of CMD_BOOTI
authorSimon Glass <sjg@chromium.org>
Sun, 5 Feb 2023 22:36:23 +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_BOOTI defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
boot/bootm.c

index 15fce8ad95e0ae25f5f70aa882550333e500377a..e6715ae6b14c2a119834d462bac583edf916b518 100644 (file)
@@ -226,7 +226,7 @@ static int bootm_find_os(struct cmd_tbl *cmdtp, int flag, int argc,
        }
 
        if (images.os.type == IH_TYPE_KERNEL_NOLOAD) {
-               if (CONFIG_IS_ENABLED(CMD_BOOTI) &&
+               if (IS_ENABLED(CONFIG_CMD_BOOTI) &&
                    images.os.arch == IH_ARCH_ARM64) {
                        ulong image_addr;
                        ulong image_size;