diff options
author | Simon Glass <sjg@chromium.org> | 2023-02-06 01:36:24 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-02-10 00:32:25 +0300 |
commit | 494bcf1af71cb471725ceceb2ad87bfaed1b3fb0 (patch) | |
tree | addbd5c62e025b524c0883015e79a30656652524 /boot/bootm.c | |
parent | ef65aa35725b458713b0b68c4e66c3988e342159 (diff) | |
download | u-boot-494bcf1af71cb471725ceceb2ad87bfaed1b3fb0.tar.xz |
Correct SPL uses of CMD_BOOTM_PRE_LOAD
This converts 2 usages of this option to the non-SPL form, since there is
no SPL_CMD_BOOTM_PRE_LOAD defined in Kconfig
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'boot/bootm.c')
-rw-r--r-- | boot/bootm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/boot/bootm.c b/boot/bootm.c index e6715ae6b1..56b82bbb8b 100644 --- a/boot/bootm.c +++ b/boot/bootm.c @@ -100,7 +100,7 @@ static int bootm_pre_load(struct cmd_tbl *cmdtp, int flag, int argc, ulong data_addr = bootm_data_addr(argc, argv); int ret = 0; - if (CONFIG_IS_ENABLED(CMD_BOOTM_PRE_LOAD)) + if (IS_ENABLED(CONFIG_CMD_BOOTM_PRE_LOAD)) ret = image_pre_load(data_addr); if (ret) @@ -893,7 +893,7 @@ static const void *boot_get_kernel(struct cmd_tbl *cmdtp, int flag, int argc, &fit_uname_config, &fit_uname_kernel); - if (CONFIG_IS_ENABLED(CMD_BOOTM_PRE_LOAD)) + if (IS_ENABLED(CONFIG_CMD_BOOTM_PRE_LOAD)) img_addr += image_load_offset; bootstage_mark(BOOTSTAGE_ID_CHECK_MAGIC); |