diff mbox series

[v2,037/169] Correct SPL use of CMD_BOOTI

Message ID 20230205223836.231657-38-sjg@chromium.org
State Accepted
Commit ef65aa35725b458713b0b68c4e66c3988e342159
Delegated to: Tom Rini
Headers show
Series Kconfig: More cleanup of CONFIG options | expand

Commit Message

Simon Glass Feb. 5, 2023, 10:36 p.m. UTC
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>
---

(no changes since v1)

 boot/bootm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/boot/bootm.c b/boot/bootm.c
index 15fce8ad95e..e6715ae6b14 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;