summaryrefslogtreecommitdiff
path: root/boot
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-02-05 15:36:23 -0700
committerTom Rini <trini@konsulko.com>2023-02-09 16:32:25 -0500
commitef65aa35725b458713b0b68c4e66c3988e342159 (patch)
tree15e8819450252f1dc030c59a8e6a73ee29ca0495 /boot
parent71e3e215079f7b228e8eaec084109b0aa5672fd1 (diff)
Correct SPL use of CMD_BOOTI
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>
Diffstat (limited to 'boot')
-rw-r--r--boot/bootm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot/bootm.c b/boot/bootm.c
index 15fce8ad95..e6715ae6b1 100644
--- a/boot/bootm.c
+++ b/boot/bootm.c
@@ -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;