提交 75b3afc6 编写于 作者: S Simon Glass 提交者: Tom Rini

Fix use of conditional LMB

This code was not guarded with CONFIG_LMB so failed to build on x86.
Signed-off-by: NSimon Glass <sjg@chromium.org>
上级 ff048ea9
......@@ -537,7 +537,7 @@ static int do_bootm_subcommand(cmd_tbl_t *cmdtp, int flag, int argc,
}
break;
#endif
#if defined(CONFIG_OF_LIBFDT)
#if defined(CONFIG_OF_LIBFDT) && defined(CONFIG_LMB)
case BOOTM_STATE_FDT:
{
boot_fdt_add_mem_rsv_regions(&images.lmb,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册