mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-24 04:34:22 +08:00
cmd: booti: convert the debug print about image move to printf
Moving of the OS image may have some nasty side effects like corrupting DTB. Convert the current debug print to printf so that the relocation of the OS is always obvious to the user. Signed-off-by: Tero Kristo <t-kristo@ti.com>
This commit is contained in:
parent
fbde7589ce
commit
9b83f9c594
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user