diff options
author | Simon Glass <sjg@chromium.org> | 2011-08-29 10:37:35 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2011-08-29 12:28:32 -0700 |
commit | 7b8d81a934f67b632ba894ed2aa08f10db48cf97 (patch) | |
tree | cf28e3d9a33485228d288c2bf4342b7d306bc685 /common/cmd_bootm.c | |
parent | 8cf1d7de67c533f6dfbe43294ce0d1eac43bfa05 (diff) |
Fix use of conditional LMB
This code was not guarded with CONFIG_LMB so failed to build on x86.
BUG=chromium-os:19599
TEST=manual:
make ARCH=x86 CROSS_COMPILE=i686-pc-linux-gnu- VBOOT=/build/x86-mario/usr VBOOT_DEBUG=1
Change-Id: I67ec1e5349646f6432426c8fda4f83f85b38b368
Diffstat (limited to 'common/cmd_bootm.c')
-rw-r--r-- | 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 212e5103959..8ea95fa01eb 100644 --- a/common/cmd_bootm.c +++ b/common/cmd_bootm.c @@ -546,7 +546,7 @@ int do_bootm_subcommand (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv } 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, |