summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorRemy Bohmer <linux@bohmer.net>2009-10-29 14:24:22 +0100
committerWolfgang Denk <wd@denx.de>2009-11-24 22:40:20 +0100
commitb25e38fc36e13fa8037fa4d37fe909d1d6e6f372 (patch)
tree17df280384f3e662eee2c1904cf6988519ca6d15 /common
parent41dfd8a60324243dbe2dc313a607910824a68aa7 (diff)
downloadu-boot-imx-b25e38fc36e13fa8037fa4d37fe909d1d6e6f372.zip
u-boot-imx-b25e38fc36e13fa8037fa4d37fe909d1d6e6f372.tar.gz
u-boot-imx-b25e38fc36e13fa8037fa4d37fe909d1d6e6f372.tar.bz2
Repair build fail in case CONFIG_PPC=n and CONFIG_FIT=y
Signed-off-by: Remy Bohmer <linux@bohmer.net>
Diffstat (limited to 'common')
-rw-r--r--common/cmd_bootm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c
index 8f83598..32fd9bb 100644
--- a/common/cmd_bootm.c
+++ b/common/cmd_bootm.c
@@ -524,7 +524,7 @@ int do_bootm_subcommand (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
}
break;
#endif
-#ifdef CONFIG_OF_LIBFDT
+#if defined(CONFIG_OF_LIBFDT) && defined(CONFIG_SYS_BOOTMAPSZ)
case BOOTM_STATE_FDT:
{
ulong bootmap_base = getenv_bootm_low();