From: Grant Likely Date: Fri, 7 Sep 2007 15:25:07 +0000 (-0600) Subject: Bugfix: make bootm+libfdt compile on boards with no flash X-Git-Tag: v2008.10-rc1~874^2~18 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a7d7eca791a37f452c9da10fef4b31dd7aa9a622;p=platform%2Fkernel%2Fu-boot.git Bugfix: make bootm+libfdt compile on boards with no flash Signed-off-by: Grant Likely --- diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c index 9f5e0b4..6ebedfb 100644 --- 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)