public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] [PATCH] Uncompressed images loaded to their start address shall set load_end too
@ 2008-07-31 10:35 Guennadi Liakhovetski
  2008-07-31 14:05 ` Bartlomiej Sieka
  2008-07-31 15:41 ` Wolfgang Denk
  0 siblings, 2 replies; 3+ messages in thread
From: Guennadi Liakhovetski @ 2008-07-31 10:35 UTC (permalink / raw)
  To: u-boot

Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
---
 common/cmd_bootm.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c
index 4040a69..7ad04b9 100644
--- a/common/cmd_bootm.c
+++ b/common/cmd_bootm.c
@@ -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);

-- 
1.5.4

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

end of thread, other threads:[~2008-07-31 15:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-31 10:35 [U-Boot-Users] [PATCH] Uncompressed images loaded to their start address shall set load_end too Guennadi Liakhovetski
2008-07-31 14:05 ` Bartlomiej Sieka
2008-07-31 15:41 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox