diff options
author | Guennadi Liakhovetski <lg@denx.de> | 2008-07-31 12:35:04 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-07-31 17:41:00 +0200 |
commit | 2e752be39d3e398d4ab89ffa6634c397df298297 (patch) | |
tree | f475ce57c7aed613bdf004f3da6229ab6fc31da4 /common | |
parent | 9196b44334c330cc13de2464c59181e4db71f549 (diff) |
Uncompressed images loaded to their start address shall set load_end too
Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
Acked-by: Bartlomiej Sieka <tur@semihalf.com>
Diffstat (limited to 'common')
-rw-r--r-- | 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 18682fe5a24..18d71008dad 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); |