[Concept] efi: app: Don't bother showing the memory details in banner

Message ID 20250820154138.1644233-1-sjg@u-boot.org
State New
Headers
Series [Concept] efi: app: Don't bother showing the memory details in banner |

Commit Message

Simon Glass Aug. 20, 2025, 3:41 p.m. UTC
  From: Simon Glass <sjg@chromium.org>

This information is not useful to users, only for debugging. So use
log_debug() for it.

Signed-off-by: Simon Glass <sjg@chromium.org>
Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
---

 lib/efi_client/efi_app.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
  

Patch

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;