{"id":2231243,"url":"http://patchwork.ozlabs.org/api/patches/2231243/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/20260430142602.v2.2.2405ba52fddd2e9ff1bbc24585e1e3140f660637@changeid/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/projects/18/?format=json","name":"U-Boot","link_name":"uboot","list_id":"u-boot.lists.denx.de","list_email":"u-boot@lists.denx.de","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20260430142602.v2.2.2405ba52fddd2e9ff1bbc24585e1e3140f660637@changeid>","list_archive_url":null,"date":"2026-04-30T12:26:01","name":"[v2,2/4] mkimage: define log_err and log_info","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"6f6f0f822ba1e951315e6e6974f563aac8804b43","submitter":{"id":90265,"url":"http://patchwork.ozlabs.org/api/people/90265/?format=json","name":"Ludwig Nussel","email":"ludwig.nussel@siemens.com"},"delegate":{"id":3651,"url":"http://patchwork.ozlabs.org/api/users/3651/?format=json","username":"trini","first_name":"Tom","last_name":"Rini","email":"trini@ti.com"},"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/20260430142602.v2.2.2405ba52fddd2e9ff1bbc24585e1e3140f660637@changeid/mbox/","series":[{"id":502295,"url":"http://patchwork.ozlabs.org/api/series/502295/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=502295","date":"2026-04-30T12:25:59","name":"Improve FIT signature handling","version":2,"mbox":"http://patchwork.ozlabs.org/series/502295/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2231243/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2231243/checks/","tags":{},"related":[],"headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n secure) header.d=siemens.com header.i=ludwig.nussel@siemens.com\n header.a=rsa-sha256 header.s=fm2 header.b=if1zqHzZ;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)","phobos.denx.de;\n dmarc=pass (p=reject dis=none) header.from=siemens.com","phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de","phobos.denx.de;\n\tdkim=pass (2048-bit key;\n secure) header.d=siemens.com header.i=ludwig.nussel@siemens.com\n header.b=\"if1zqHzZ\";\n\tdkim-atps=neutral","phobos.denx.de;\n dmarc=pass (p=reject dis=none) header.from=siemens.com","phobos.denx.de;\n spf=pass smtp.mailfrom=ludwig.nussel@siemens.com"],"Received":["from phobos.denx.de (phobos.denx.de\n [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g5thm2ryjz1yHZ\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 30 Apr 2026 22:27:04 +1000 (AEST)","from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 07B1C8464D;\n\tThu, 30 Apr 2026 14:26:49 +0200 (CEST)","by phobos.denx.de (Postfix, from userid 109)\n id 223C6803C6; Thu, 30 Apr 2026 14:26:46 +0200 (CEST)","from mta-65-226.siemens.flowmailer.net\n (mta-65-226.siemens.flowmailer.net [185.136.65.226])\n (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 4649C83693\n for <u-boot@lists.denx.de>; Thu, 30 Apr 2026 14:26:44 +0200 (CEST)","by mta-65-226.siemens.flowmailer.net with ESMTPSA id\n 202604301226442b4d15666800020712 for <u-boot@lists.denx.de>;\n Thu, 30 Apr 2026 14:26:44 +0200"],"X-Spam-Checker-Version":"SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_MED,\n DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,\n RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,\n SPF_HELO_PASS,SPF_NONE autolearn=ham autolearn_force=no version=3.4.2","DKIM-Signature":"v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=fm2;\n d=siemens.com; i=ludwig.nussel@siemens.com;\n h=Date:From:Subject:To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Cc:References:In-Reply-To;\n bh=jQMDvmVUtXBudJ6npZmQkwtfP21WCE7LxaqBwwze4Y4=;\n b=if1zqHzZsuaH6kfl8q9V0sksQBCRcVkBMI3eINVOpmV//T5YJBVuHwey2OPv0WiAxXwpPX\n +GFNAYt2B/3fOqdi9Ip9V4QT8wSxPeLiGplAUNu0XypmrqE9Gz9EigYyq+cdx/lofEivD7L/\n rO5jLCPzXduqm3nFKG5Mellhw6P8ZXNtTspJ7OL7F3CPlgY5U/ZO2LwiMapmlHBLnU5K+EsV\n F7Dv6XSpDQ1z8NpE75AlmgCiDvkW1UjEi4sjx5Kk/ZHU36fswECYTOWPQizHvSsBqz1EQ/I6\n oeKG3GzJe1YLDXDSnE+v6Kx3Ddr0DngwsBjTP+ZelYd0Ra5WyJcfcI3Q==;","From":"Ludwig Nussel <ludwig.nussel@siemens.com>","To":"u-boot@lists.denx.de","Cc":"Ludwig Nussel <ludwig.nussel@siemens.com>,\n\tTom Rini <trini@konsulko.com>","Subject":"[PATCH v2 2/4] mkimage: define log_err and log_info","Date":"Thu, 30 Apr 2026 14:26:01 +0200","Message-ID":"\n <20260430142602.v2.2.2405ba52fddd2e9ff1bbc24585e1e3140f660637@changeid>","In-Reply-To":"<20260430122629.606153-1-ludwig.nussel@siemens.com>","References":"<20260430122629.606153-1-ludwig.nussel@siemens.com>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","X-Flowmailer-Platform":"Siemens","Feedback-ID":"519:519-1328817:519-21489:flowmailer","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.39","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<https://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=subscribe>","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>","X-Virus-Scanned":"clamav-milter 0.103.8 at phobos.denx.de","X-Virus-Status":"Clean"},"content":"Define log_err an log_info centrally in mkimage.h so any file used\nin this context benefits from it.\n\nSigned-off-by: Ludwig Nussel <ludwig.nussel@siemens.com>\n\n---\n\n(no changes since v1)\n\n boot/image-pre-load.c | 3 ---\n tools/mkimage.h       | 2 ++\n 2 files changed, 2 insertions(+), 3 deletions(-)","diff":"diff --git a/boot/image-pre-load.c b/boot/image-pre-load.c\nindex 2f851ebb28c..cd319ddb777 100644\n--- a/boot/image-pre-load.c\n+++ b/boot/image-pre-load.c\n@@ -35,9 +35,6 @@ ulong image_load_offset;\n  */\n static struct image_sig_info *host_info;\n \n-#define log_info(fmt, args...)\tprintf(fmt, ##args)\n-#define log_err(fmt, args...)\tprintf(fmt, ##args)\n-\n void image_pre_load_sig_set_info(struct image_sig_info *info)\n {\n \thost_info = info;\ndiff --git a/tools/mkimage.h b/tools/mkimage.h\nindex 5d6bcc9301a..62fbfcacbb3 100644\n--- a/tools/mkimage.h\n+++ b/tools/mkimage.h\n@@ -31,6 +31,8 @@\n #endif /* MKIMAGE_DEBUG */\n \n #define log_debug(fmt, args...)\tdebug(fmt, ##args)\n+#define log_info(fmt, args...)\tprintf(fmt, ##args)\n+#define log_err(fmt, args...)\tfprintf(stderr, fmt, ##args)\n \n static inline void *map_sysmem(ulong paddr, unsigned long len)\n {\n","prefixes":["v2","2/4"]}