From: Simon Glass Date: Mon, 22 May 2017 11:05:29 +0000 (-0600) Subject: bootstage: Use debug() for stashing messages X-Git-Tag: v2025.01-rc5-pxa1908~6640 X-Git-Url: http://git.dujemihanovic.xyz/img/sics.gif?a=commitdiff_plain;h=ff00226e0b55d08c55fca843ff9c4819b247e08c;p=u-boot.git 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 --- 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; }