mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-27 07:51:38 +00:00
bootm: 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> Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
136b7b6d2e
commit
4f98e23b7a
1 changed files with 1 additions and 1 deletions
|
@ -684,7 +684,7 @@ static int bootm_load_os(struct bootm_headers *images, int boot_progress)
|
|||
|
||||
/* Handle BOOTM_STATE_LOADOS */
|
||||
if (relocated_addr != load) {
|
||||
printf("Moving Image from 0x%lx to 0x%lx, end=%lx\n",
|
||||
printf("Moving Image from 0x%lx to 0x%lx, end=0x%lx\n",
|
||||
load, relocated_addr,
|
||||
relocated_addr + image_size);
|
||||
memmove((void *)relocated_addr, load_buf, image_size);
|
||||
|
|
Loading…
Add table
Reference in a new issue