mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 22:20:45 +00:00
Bugfix: make bootm+libfdt compile on boards with no flash
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
This commit is contained in:
parent
87eb200ea8
commit
a7d7eca791
1 changed files with 2 additions and 0 deletions
|
@ -834,9 +834,11 @@ do_bootm_linux (cmd_tbl_t *cmdtp, int flag,
|
||||||
of_flat_tree += 4 - tail;
|
of_flat_tree += 4 - tail;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef CFG_NO_FLASH
|
||||||
/* move the blob if it is in flash (set of_data to !null) */
|
/* move the blob if it is in flash (set of_data to !null) */
|
||||||
if (addr2info ((ulong)of_flat_tree) != NULL)
|
if (addr2info ((ulong)of_flat_tree) != NULL)
|
||||||
of_data = (ulong)of_flat_tree;
|
of_data = (ulong)of_flat_tree;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#if defined(CONFIG_OF_FLAT_TREE)
|
#if defined(CONFIG_OF_FLAT_TREE)
|
||||||
|
|
Loading…
Reference in a new issue