[PATCH 34/35] efi: Show when allocated pages are used

Simon Glass sjg at chromium.org
Wed Sep 8 15:34:04 CEST 2021


Add a message here so that both paths of memory allocation are reported.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 lib/efi/efi_app.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/efi/efi_app.c b/lib/efi/efi_app.c
index e0666d1fae2..c8f4784eb7d 100644
--- a/lib/efi/efi_app.c
+++ b/lib/efi/efi_app.c
@@ -97,6 +97,7 @@ static efi_status_t setup_memory(struct efi_priv *priv)
 			return ret;
 		priv->use_pool_for_malloc = true;
 	} else {
+		printf("(using allocated RAM address %lx) ", (ulong)addr);
 		priv->ram_base = addr;
 	}
 	gd->ram_size = pages << 12;
-- 
2.33.0.153.gba50c8fa24-goog



More information about the U-Boot mailing list