[Concept] efi: app: Don't bother showing the memory details in banner
Commit Message
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(-)
@@ -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;