Skip to content
Snippets Groups Projects
Commit a7d7eca7 authored by Grant Likely's avatar Grant Likely Committed by Wolfgang Denk
Browse files

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

parent 87eb200e
Branches
Tags
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment