From ff00226e0b55d08c55fca843ff9c4819b247e08c Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Mon, 22 May 2017 05:05:29 -0600 Subject: [PATCH] bootstage: Use debug() for stashing messages We don't normally want to see these messages. Change them to debug-only. Signed-off-by: Simon Glass --- 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; } -- GitLab