Skip to contentSkip to conversation

Uncompressed images loaded to their start address shall set load_end too

PATCH New Guennadi Liakhovetski 3 participants 3 messages Jul 31, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Uncompressed images loaded to their start address shall set load_end too

---
 common/cmd_bootm.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
common/cmd_bootm.c +2 -3
index 4040a69..7ad04b9 100644
@@ -251,10 +251,9 @@ int do_bootm (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 
 			memmove_wd ((void *)load_start,
 				   (void *)os_data, os_len, CHUNKSZ);
-
-			load_end = load_start + os_len;
-			puts("OK\n");
 		}
+		load_end = load_start + os_len;
+		puts("OK\n");
 		break;
 	case IH_COMP_GZIP:
 		printf ("   Uncompressing %s ... ", type_name);
Signature · 1 line
1.5.4
#1 lore raw

PATCH 1/1 Uncompressed images loaded to their start address shall set load_end too

Quoted 13 lines · Guennadi Liakhovetski
---
 common/cmd_bootm.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
common/cmd_bootm.c +0 -0
index 4040a69..7ad04b9 100644
@@ -251,10 +251,9 @@ int do_bootm (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 
 			memmove_wd ((void *)load_start,

common/cmd_bootm.c int do_bootm (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) · line 259

Quoted 10 lines
common/cmd_bootm.c +2 -3
 				   (void *)os_data, os_len, CHUNKSZ);
-
-			load_end = load_start + os_len;
-			puts("OK\n");
 		}
+		load_end = load_start + os_len;
+		puts("OK\n");
 		break;
 	case IH_COMP_GZIP:
 		printf ("   Uncompressing %s ... ", type_name);

Regards,
Bartlomiej

#2 lore raw

PATCH 1/1 Uncompressed images loaded to their start address shall set load_end too

In reply to Guennadi Liakhovetski
Quoted 4 lines · In message <[email protected]> you wrote:
---
 common/cmd_bootm.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 6 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
Writing a book is like washing an elephant: there's no good place  to
begin  or  end,  and  it's  hard to keep track of what you've already
covered.