Skip to contentSkip to conversation

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

PATCH New Grant Likely 2 participants 2 messages Sep 7, 2007 – Sep 8, 2007

lore
Share & tools
lore
#0 lore raw

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

---

Wolfgang, this is a bugfix that needs to go in for 1.3.0. I'll also push it to the mpc5xxx tree.

Cheers,
g.

 common/cmd_bootm.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
common/cmd_bootm.c +2 -0
index 9f5e0b4..6ebedfb 100644
@@ -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)
#1 lore raw

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

Quoted 6 lines · In message <[email protected]> you…

---

Wolfgang, this is a bugfix that needs to go in for 1.3.0. I'll also push it to the mpc5xxx tree.

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
There's no sense in being precise  when  you  don't  even  know  what
you're talking about.                             -- John von Neumann