summaryrefslogtreecommitdiff
path: root/cmd/booti.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/booti.c')
-rw-r--r--cmd/booti.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/cmd/booti.c b/cmd/booti.c
index af0603b96e..76d1255ec5 100644
--- a/cmd/booti.c
+++ b/cmd/booti.c
@@ -79,7 +79,8 @@ static int booti_start(struct cmd_tbl *cmdtp, int flag, int argc,
/* Handle BOOTM_STATE_LOADOS */
if (relocated_addr != ld) {
- debug("Moving Image from 0x%lx to 0x%lx\n", ld, relocated_addr);
+ printf("Moving Image from 0x%lx to 0x%lx, end=%lx\n", ld,
+ relocated_addr, relocated_addr + image_size);
memmove((void *)relocated_addr, (void *)ld, image_size);
}
@@ -93,7 +94,7 @@ static int booti_start(struct cmd_tbl *cmdtp, int flag, int argc,
* Handle the BOOTM_STATE_FINDOTHER state ourselves as we do not
* have a header that provide this informaiton.
*/
- if (bootm_find_images(flag, argc, argv))
+ if (bootm_find_images(flag, argc, argv, relocated_addr, image_size))
return 1;
return 0;