diff options
-rw-r--r-- | cmd/bdinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c index 37cd8a57eb..8a1bea4e34 100644 --- a/cmd/bdinfo.c +++ b/cmd/bdinfo.c @@ -123,7 +123,7 @@ int do_bdinfo(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) #if CONFIG_IS_ENABLED(MULTI_DTB_FIT) bdinfo_print_num_l("multi_dtb_fit", (ulong)gd->multi_dtb_fit); #endif - if (gd->fdt_blob) { + if (IS_ENABLED(CONFIG_LMB) && gd->fdt_blob) { struct lmb lmb; lmb_init_and_reserve(&lmb, gd->bd, (void *)gd->fdt_blob); |