mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-16 01:44:34 +00:00
cmd: booti: adjust the print format
All three addresses printed are in hexadecimal format, but only the first two have the "0x" prefix. The patch aligns the format of the "end" address with the other two by adding the "0x" prefix. Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
This commit is contained in:
parent
4f98e23b7a
commit
8aee4c8111
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ static int booti_start(struct bootm_info *bmi)
|
|||
|
||||
/* Handle BOOTM_STATE_LOADOS */
|
||||
if (relocated_addr != ld) {
|
||||
printf("Moving Image from 0x%lx to 0x%lx, end=%lx\n", ld,
|
||||
printf("Moving Image from 0x%lx to 0x%lx, end=0x%lx\n", ld,
|
||||
relocated_addr, relocated_addr + image_size);
|
||||
memmove((void *)relocated_addr, (void *)ld, image_size);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue