summaryrefslogtreecommitdiff
path: root/boot/image-board.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-02-06 01:40:13 +0300
committerTom Rini <trini@konsulko.com>2023-02-10 15:41:39 +0300
commit210af54947e1b88f1fb961fec51d6427f5ec8575 (patch)
treed9f4562cc13b1e285bd96497f68bca652d8c4cbd /boot/image-board.c
parent24f95e141e35a794213f1bb1b969ec91f057e063 (diff)
downloadu-boot-210af54947e1b88f1fb961fec51d6427f5ec8575.tar.xz
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/image-board.c')
-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);