From patchwork Wed Aug 20 15:41:36 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 98 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=1755704507; bh=1sNbU45hV6KecjePys7yGpAX9oJhwXXAVkp/gtAPknI=; h=From:To:Date:CC:Subject:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=ssm+urRfQ4StBX3DlYGUChcX0RemZJ75ixC/DkhtlIcCx+9rqqScqd0O+IGAnPTR0 J1i4O4DTT5BeRCk3WYlwJDhnvAc0iMRZtDFQ4E7RlgrtgP0thbnBVnAI/U3HY9mcZc OSsjceyrluwW4jr/FA0pfOx41o1J48lnjz3d/ukbdcBZ3MyEaFBRAJYVlnquu9pFxr QCJIsVjKatjL/jSLifhEwm+Mvf/9w+qesgNslXnv3e5lm3/4/l3neti8ehJ/ClcExi CQc/WJD6Lqr3EMhb+RuNMhExeR3nihXz1zJt2dp1889ZTuXt5AXKHqgoBMyw0ZDTg2 jASyWkjj+ACVw== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id BD805676A6 for ; Wed, 20 Aug 2025 09:41:47 -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 hwiCyePGn-ay for ; Wed, 20 Aug 2025 09:41:47 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1755704507; bh=1sNbU45hV6KecjePys7yGpAX9oJhwXXAVkp/gtAPknI=; h=From:To:Date:CC:Subject:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=ssm+urRfQ4StBX3DlYGUChcX0RemZJ75ixC/DkhtlIcCx+9rqqScqd0O+IGAnPTR0 J1i4O4DTT5BeRCk3WYlwJDhnvAc0iMRZtDFQ4E7RlgrtgP0thbnBVnAI/U3HY9mcZc OSsjceyrluwW4jr/FA0pfOx41o1J48lnjz3d/ukbdcBZ3MyEaFBRAJYVlnquu9pFxr QCJIsVjKatjL/jSLifhEwm+Mvf/9w+qesgNslXnv3e5lm3/4/l3neti8ehJ/ClcExi CQc/WJD6Lqr3EMhb+RuNMhExeR3nihXz1zJt2dp1889ZTuXt5AXKHqgoBMyw0ZDTg2 jASyWkjj+ACVw== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id A9E42674FA for ; Wed, 20 Aug 2025 09:41:47 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1755704505; bh=ZAZDMaqa6BkhXTSq/D8PIeJMGQD4XXcM8o6hOIoxKyE=; h=From:To:Cc:Subject:Date:From; b=CIcp3QE5gBYOi4Cdv2konXIzBI/ESVFQwHC0ZOvwM+PtQmzAgGSFqqa4PRKFqN3wc 2bsoiO8exs0I0Es0JD5JhsNmV0MB6JLd39n9YrM1F2GHuxjyRny/MprLWNP4LrhzBx vwZU0x9xu5fAVNV3JR8sNLOUANvWQOAWvTY7WTXflkwLiTTn07MCij7I0Ndj06l93u sgPftw3LKJeJJ0MwCgNQKlgdufZFwvi1Sh58Q8aaz0UmmZApsvwsZjwd0UWT6Uo4qn 0YdARe28DLep5gGjhaKVgdOY2Ix2j6x2VgsR8eoDnPpOeraFqGHgQA8GYLC1jpuJ0G J4O2uvXlEQEOg== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 8E335674FA; Wed, 20 Aug 2025 09:41:45 -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 cXxX5yFI10ZI; Wed, 20 Aug 2025 09:41:45 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1755704505; bh=Y/+iY6JVXqJ9yIhHDOPR2nIionTWhg9fvQEeBXRDG4k=; h=From:To:Cc:Subject:Date:From; b=PnB+yGtdEGFaAo/iKHTsu62IF/h+P+x+6yR3GvNPlVWyX2N+FAIR5dpwdLBzMtYXG o2levLf1lgJ+k8GTg0cAwkmKj02GpfZuL2YwsdlsCMY+ylGNBnmy1xLkL9nwxF7xrb WySWkMpcYieccJyiqhZTKu6L+2/h85ML6Whb5xjwjXU8SQkAFOJurOLSQI0Ci/NE9b wAzO5FHbSb8efBL7asBDwpoaHUx9EVuaE5PXLqcF76TvYhsGiP7E4y6nmTLH4LJ9T+ I8Jl0kQ4PDijwkGyxrPk93OwNbKMENrooUl7h2DVAkUahgCa2GWEy+FAN8KQDK9DRb 6rxKTf+PAJZjA== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 118FE674BA; Wed, 20 Aug 2025 09:41:45 -0600 (MDT) From: Simon Glass To: U-Boot Concept Date: Wed, 20 Aug 2025 09:41:36 -0600 Message-ID: <20250820154138.1644233-1-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Message-ID-Hash: CHRKAJL4662SBSBSSEAUHNYN5U6CVN3E X-Message-ID-Hash: CHRKAJL4662SBSBSSEAUHNYN5U6CVN3E 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] efi: app: Don't bother showing the memory details in banner 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 information is not useful to users, only for debugging. So use log_debug() for it. Signed-off-by: Simon Glass Suggested-by: Heinrich Schuchardt --- lib/efi_client/efi_app.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/efi_client/efi_app.c b/lib/efi_client/efi_app.c index df51c5a4de9..f583fa0b7a5 100644 --- a/lib/efi_client/efi_app.c +++ b/lib/efi_client/efi_app.c @@ -116,19 +116,19 @@ static efi_status_t setup_memory(struct efi_priv *priv) ret = boot->allocate_pages(EFI_ALLOCATE_MAX_ADDRESS, priv->image_data_type, pages, &addr); if (ret) { - log_info("(any address) "); + log_debug("(any address) "); ret = boot->allocate_pages(EFI_ALLOCATE_ANY_PAGES, priv->image_data_type, pages, &addr); } if (ret) { - log_info("(using pool %lx) ", ret); + log_debug("(using pool %lx) ", ret); priv->ram_base = (ulong)efi_malloc(priv, CONFIG_EFI_RAM_SIZE, &ret); if (!priv->ram_base) return ret; priv->use_pool_for_malloc = true; } else { - log_info("(using allocated RAM address %lx) ", (ulong)addr); + log_debug("(using allocated RAM address %lx) ", (ulong)addr); priv->ram_base = addr; } gd->ram_base = addr;