提交 a7d7eca7 编写于 作者: G Grant Likely 提交者: Wolfgang Denk

Bugfix: make bootm+libfdt compile on boards with no flash

Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
上级 87eb200e
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册