diff options
| author | Dario Binacchi <[email protected]> | 2024-08-25 14:26:07 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-10-02 13:32:56 -0600 |
| commit | 4f98e23b7aafcc36e8ef35620745c904361bd663 (patch) | |
| tree | 8bb7fd1627c8c8177e28e3b56428ba05d093bc2c /boot | |
| parent | 136b7b6d2e9837849732c6ade8f4bdaf870ed83a (diff) | |
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 <[email protected]>
Reviewed-by: Mattijs Korpershoek <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
Diffstat (limited to 'boot')
| -rw-r--r-- | boot/bootm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/boot/bootm.c b/boot/bootm.c index a61bbcfb45c..16a43d519a8 100644 --- a/boot/bootm.c +++ b/boot/bootm.c @@ -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); |
