summaryrefslogtreecommitdiff
path: root/boot
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-02-05 15:40:13 -0700
committerTom Rini <trini@konsulko.com>2023-02-10 07:41:39 -0500
commit210af54947e1b88f1fb961fec51d6427f5ec8575 (patch)
treed9f4562cc13b1e285bd96497f68bca652d8c4cbd /boot
parent24f95e141e35a794213f1bb1b969ec91f057e063 (diff)
Correct SPL uses of LMB
This converts 9 usages of this option to the non-SPL form, since there is no SPL_LMB defined in Kconfig Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'boot')
-rw-r--r--boot/image-board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot/image-board.c b/boot/image-board.c
index e5d71a3d54..25b60ec30b 100644
--- a/boot/image-board.c
+++ b/boot/image-board.c
@@ -927,7 +927,7 @@ int image_setup_linux(struct bootm_headers *images)
int ret;
/* This function cannot be called without lmb support */
- if (!CONFIG_IS_ENABLED(LMB))
+ if (!IS_ENABLED(CONFIG_LMB))
return -EFAULT;
if (CONFIG_IS_ENABLED(OF_LIBFDT))
boot_fdt_add_mem_rsv_regions(lmb, *of_flat_tree);