From patchwork Mon Sep 22 18:00:55 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 396 Return-Path: X-Original-To: u-boot-concept@u-boot.org Delivered-To: u-boot-concept@u-boot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1758564134; bh=5oUTbh5pl5xn9vrvSBypW08aZoNILaKbUIZCQxRhwyQ=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=opi+fxwZPpMAYVI3VM9wNsG46K6nOSYwar4SuA3gOgbFREmG5EwNRBp8LXbCaK4Q3 NvPN1tEjC6fiSEjnVZBy+VVegienDJAD1C9bVg/n0TJReXYTvVxFoZTUKGLKbKNsqE ut29Me7QGWMh555aQcBkszjN+8CPUhTLLgTYT/6vnTSFPlH1W7QmXlmu0wWfyt6swE zJY+ykQpg+F2p9WImWGcDg4A2WeX101pNL9SKKjlisPsU1yzrSGkUybQdgdlLNgbNA Faf30bwXSrXzAs5RED8sThAzqVRXd32Gvdd2wHedUjNCPNlMtlQ2PgmtaINnpSgE3j 8H4bl/ooxh+DQ== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 436A267C52 for ; Mon, 22 Sep 2025 12:02:14 -0600 (MDT) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id XSz5dsOuZpSo for ; Mon, 22 Sep 2025 12:02:14 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1758564132; bh=5oUTbh5pl5xn9vrvSBypW08aZoNILaKbUIZCQxRhwyQ=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=kYsARbtAhp0mWyPdWaBNUPEHB2TuLzHNzTH6gXXLYa5fYO5Fb/sX/Un01kEs3M4en iNA4PepiuV1+qjvJlIzAB3LHvaQZfIGIFarmokCgEPnu1zMmbyYlqQ05vuQR9n9SBe zeMyqpBL3XjI5wKTrK+ntyhq83OO4D3R/v8m9ol0CrmcA7O6iPwrIeItSxI1dHZIcQ hj9OElOSugojhfuK5Cz3PW189N51FLQuiAaiCF5vNgWopXGjbr/nI7qnyMMGK8rNA/ zpctH0SMbEP1i+UiN61fdQYLNinJ8OeJLFjbea1LlxwYMu/j2zIi2qnB5FiruBBGRt uaz3i08jQNebA== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 4279867C55 for ; Mon, 22 Sep 2025 12:02:12 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1758564129; bh=kG9oi3H0fJBiCQI5Dz5VEb1lpaU5peNoCgaoGVuRI1k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=e3AyfMWDlaHXPSkyD4BplAvknmvxEEIkW131G7yaxYcep60WT8TFDqzJ+iMSGl3U9 a1gBq1w8YKLYyJHLBJasAw4vm+wiHbOJ/aAG2W+j5SLVmI0ElDxpbGPgERsLIznplC 53pN5cGRlbPC0GVa2jd/ppglGHyGno+8ayacOoaAMEL/6I5QohTMiNYiX4DuBEp1C9 QF8V6paKMSnI5LQpWTv5Su7czPUi545dZlyM7fNLCnBJ+a6AMFm9/ZuWa6l/8Nn8NH 785DaY5lvA4iifg9bCMsL6g35eP7BPt/k/VjGlMK0jKbhu8M3r4pWym6f8G65DILuT FZCodrr/ZcURQ== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id C405A67C32; Mon, 22 Sep 2025 12:02:09 -0600 (MDT) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10026) with ESMTP id puIeq9R4yzgA; Mon, 22 Sep 2025 12:02:09 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1758564123; bh=SeGcbpVMS8VpoXV6kpP5KjFce5iptz9UsBDMjK5XbyE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HE9JEVzYTBeYbtn96F0sj0Dl8NJ2A7g89okF5rL3/70CTxjKlqZ9o2leB73gnhSmI MnThBtbsedkXSqhIEMvQZzmOh8TbywSLqxdYK4ZdcAG4A4kvnnnnea6BLGTLLC85fs 4ETIcmA3Z2RILuaKgWVrmHDQRaBge8mooTp3gaEmV67KycqMvD7XExKg8dwYCcWKXx dFes8/hJ6VlhSdS5sMuT+oqljK0tfBTSG0kGR+FLZ7u2eE02cQEOU/C8bDE+0NkFMk 8vmcyzWIt3oB+YzRpsr3zZf2hUI5yppNn9bA+9/chJmNy/Utk/G+OOz45Une7yJgu4 SXCyyATOpFb3w== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id B1B9167C5F; Mon, 22 Sep 2025 12:02:02 -0600 (MDT) From: Simon Glass To: U-Boot Concept Date: Mon, 22 Sep 2025 12:00:55 -0600 Message-ID: <20250922180116.3088502-12-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250922180116.3088502-1-sjg@u-boot.org> References: <20250922180116.3088502-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: X4L3PGZPQCJPKLAGRNUFSKKPPJKOJLTA X-Message-ID-Hash: X4L3PGZPQCJPKLAGRNUFSKKPPJKOJLTA X-MailFrom: sjg@u-boot.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Heinrich Schuchardt , Simon Glass X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 11/24] boot: Drop hex prefix from the booti image-moving message List-Id: Discussion and patches related to U-Boot Concept Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Simon Glass This message includes the 0x prefix which is not used elsewhere. Drop it for consistency. Signed-off-by: Simon Glass --- boot/bootm.c | 2 +- cmd/booti.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); }