[Concept,11/24] boot: Drop hex prefix from the booti image-moving message

Message ID 20250922180116.3088502-12-sjg@u-boot.org
State New
Headers
Series boot: efi: Various improvements to booting with the EFI app |

Commit Message

Simon Glass Sept. 22, 2025, 6 p.m. UTC
  From: Simon Glass <sjg@chromium.org>

This message includes the 0x prefix which is not used elsewhere. Drop it
for consistency.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 boot/bootm.c | 2 +-
 cmd/booti.c  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
  

Patch

diff --git a/boot/bootm.c b/boot/bootm.c
index d86fedc7be1..42259256ad4 100644
--- a/boot/bootm.c
+++ b/boot/bootm.c
@@ -848,7 +848,7 @@  static int bootm_load_os(struct bootm_info *bmi, int boot_progress)
 
 		/* Handle BOOTM_STATE_LOADOS */
 		if (relocated_addr != load) {
-			printf("Moving Image from 0x%lx to 0x%lx, end=0x%lx\n",
+			printf("Moving Image from %lx to %lx, end %lx\n",
 			       load, relocated_addr,
 			       relocated_addr + image_size);
 			memmove((void *)relocated_addr, load_buf, image_size);
diff --git a/cmd/booti.c b/cmd/booti.c
index bfbe530cb15..017cb6ed923 100644
--- a/cmd/booti.c
+++ b/cmd/booti.c
@@ -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=0x%lx\n", ld,
+		printf("Moving Image from %lx to %lx, end %lx\n", ld,
 		       relocated_addr, relocated_addr + image_size);
 		memmove((void *)relocated_addr, (void *)ld, image_size);
 	}