U-boot Archive mirror
 help / color / mirror / Atom feed
* [U-Boot] [U-BOOT] [PATCH] bootm: replace blob_start with image_start
@ 2011-01-10  9:31 Lei Wen
  2011-01-10  9:45 ` Mike Frysinger
  0 siblings, 1 reply; 9+ messages in thread
From: Lei Wen @ 2011-01-10  9:31 UTC (permalink / raw)
  To: u-boot

For uImage always has a 64 bytes header, we couldn't expect to do
the xip from the header but should xip from the image start.

The latter logic in that section is also move the image from image_start
to the load address, so sync this logic to the xip operation.

Signed-off-by: Lei Wen <leiwen@marvell.com>
---
 common/cmd_bootm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c
index 18019d6..81fc4be 100644
--- a/common/cmd_bootm.c
+++ b/common/cmd_bootm.c
@@ -344,7 +344,7 @@ static int bootm_load_os(image_info_t os, ulong *load_end, int boot_progress)
 
 	switch (comp) {
 	case IH_COMP_NONE:
-		if (load == blob_start) {
+		if (load == image_start) {
 			printf ("   XIP %s ... ", type_name);
 		} else {
 			printf ("   Loading %s ... ", type_name);
-- 
1.7.0.4

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-04-11 19:10 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-10  9:31 [U-Boot] [U-BOOT] [PATCH] bootm: replace blob_start with image_start Lei Wen
2011-01-10  9:45 ` Mike Frysinger
2011-01-10 10:02   ` Lei Wen
2011-01-10 10:21   ` [U-Boot] [U-BOOT] [PATCH V2] " Lei Wen
2011-02-04  2:32     ` Lei Wen
2011-02-05  7:57       ` Albert ARIBAUD
2011-02-15  8:19         ` Mike Frysinger
2011-02-15  8:18       ` Mike Frysinger
2011-04-11 19:10     ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).