summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <lg@denx.de>2008-07-31 12:35:04 +0200
committerWolfgang Denk <wd@denx.de>2008-07-31 17:41:00 +0200
commit2e752be39d3e398d4ab89ffa6634c397df298297 (patch)
treef475ce57c7aed613bdf004f3da6229ab6fc31da4 /common
parent9196b44334c330cc13de2464c59181e4db71f549 (diff)
downloadu-boot-imx-2e752be39d3e398d4ab89ffa6634c397df298297.zip
u-boot-imx-2e752be39d3e398d4ab89ffa6634c397df298297.tar.gz
u-boot-imx-2e752be39d3e398d4ab89ffa6634c397df298297.tar.bz2
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.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c
index 18682fe..18d7100 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);