projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
748b527
)
bootm: enable fdt support only on ppc, m68k and sparc
author
Jean-Christophe PLAGNIOL-VILLARD
<plagnioj@jcrosoft.com>
Tue, 9 Sep 2008 20:18:23 +0000
(22:18 +0200)
committer
Wolfgang Denk
<wd@denx.de>
Tue, 9 Sep 2008 21:37:50 +0000
(23:37 +0200)
...as done in image.c
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
common/cmd_bootm.c
patch
|
blob
|
history
diff --git
a/common/cmd_bootm.c
b/common/cmd_bootm.c
index 861712b78bcec63aa1302351df9d51c559fd6be5..2b4df80f9908e9f1735a75ab2e3a9b14c5a9edef 100644
(file)
--- 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);
@@
-260,6
+261,7
@@
static int bootm_start(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
}
set_working_fdt_addr(images.ft_addr);
+#endif
#endif
}