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:
87eb200
)
Bugfix: make bootm+libfdt compile on boards with no flash
author
Grant Likely
<grant.likely@secretlab.ca>
Fri, 7 Sep 2007 15:25:07 +0000
(09:25 -0600)
committer
Wolfgang Denk
<wd@denx.de>
Sat, 8 Sep 2007 22:41:52 +0000
(
00:41
+0200)
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
common/cmd_bootm.c
patch
|
blob
|
history
diff --git
a/common/cmd_bootm.c
b/common/cmd_bootm.c
index 9f5e0b4ee4c03d9c3fd2a1d5485bbab071df81c8..6ebedfbc8333d38d400d993ffc1675a236a34343 100644
(file)
--- a/
common/cmd_bootm.c
+++ b/
common/cmd_bootm.c
@@
-834,9
+834,11
@@
do_bootm_linux (cmd_tbl_t *cmdtp, int flag,
of_flat_tree += 4 - tail;
}
+#ifndef CFG_NO_FLASH
/* move the blob if it is in flash (set of_data to !null) */
if (addr2info ((ulong)of_flat_tree) != NULL)
of_data = (ulong)of_flat_tree;
+#endif
#if defined(CONFIG_OF_FLAT_TREE)