aboutsummaryrefslogtreecommitdiff
path: root/common/cmd_bootm.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-09-09 22:18:23 +0200
committerWolfgang Denk <wd@denx.de>2008-09-09 23:37:50 +0200
commit1d9af0be764960e6cc1c093e97176c3542796820 (patch)
tree574042e94cbe71ac37bf64434de9c7963f3c6a3d /common/cmd_bootm.c
parent748b5274e76f81df85cfcffaffedc323678d0623 (diff)
bootm: enable fdt support only on ppc, m68k and sparc
...as done in image.c Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'common/cmd_bootm.c')
-rw-r--r--common/cmd_bootm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c
index 861712b78..2b4df80f9 100644
--- a/common/cmd_bootm.c
+++ b/common/cmd_bootm.c
@@ -251,6 +251,7 @@ static int bootm_start(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
}
#if defined(CONFIG_OF_LIBFDT)
+#if defined(CONFIG_PPC) || defined(CONFIG_M68K) || defined(CONFIG_SPARC)
/* find flattened device tree */
ret = boot_get_fdt (flag, argc, argv, &images,
&images.ft_addr, &images.ft_len);
@@ -261,6 +262,7 @@ static int bootm_start(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
set_working_fdt_addr(images.ft_addr);
#endif
+#endif
}
images.os.start = (ulong)os_hdr;