commit | 8ee5d6c2619e2f257f0130875f1850037230ef04 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Dec 05 14:46:31 2012 +0000 |
committer | Tom Rini <trini@ti.com> | Tue Dec 11 13:17:33 2012 -0700 |
tree | 00f5c641a9ae5d83498e9da5914262ca8544df3d | |
parent | c889fb4c27494108945eca42a32857736d0db718 [diff] |
Fix use of conditional LMB This code was not guarded with CONFIG_LMB so failed to build on x86. Signed-off-by: Simon Glass <sjg@chromium.org>
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 @@ } 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,