From patchwork Thu Dec 6 00:46:31 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [U-Boot,v3,04/20] Fix use of conditional LMB Date: Wed, 05 Dec 2012 14:46:31 -0000 From: Simon Glass X-Patchwork-Id: 204073 Message-Id: <1354754807-21449-5-git-send-email-sjg@chromium.org> To: U-Boot Mailing List Cc: Tom Rini This code was not guarded with CONFIG_LMB so failed to build on x86. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None common/cmd_bootm.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c index 4dbe952..f7595c0 100644 --- a/common/cmd_bootm.c +++ b/common/cmd_bootm.c @@ -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,