[U-Boot] [PATCH 08/15] bootstage: Use debug() for stashing messages

Simon Glass sjg at chromium.org
Mon May 22 11:05:29 UTC 2017


We don't normally want to see these messages. Change them to debug-only.

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

 common/bootstage.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/common/bootstage.c b/common/bootstage.c
index 1afdee3018..32f4e8b706 100644
--- a/common/bootstage.c
+++ b/common/bootstage.c
@@ -409,7 +409,7 @@ int bootstage_stash(void *base, int size)
 
 	/* Update total data size */
 	hdr->size = ptr - (char *)base;
-	printf("Stashed %d records\n", hdr->count);
+	debug("Stashed %d records\n", hdr->count);
 
 	return 0;
 }
@@ -479,7 +479,7 @@ int bootstage_unstash(void *base, int size)
 
 	/* Mark the records as read */
 	data->rec_count += hdr->count;
-	printf("Unstashed %d records\n", hdr->count);
+	debug("Unstashed %d records\n", hdr->count);
 
 	return 0;
 }
-- 
2.13.0.303.g4ebf302169-goog



More information about the U-Boot mailing list