From: Simon Glass Date: Mon, 22 May 2017 11:05:29 +0000 (-0600) Subject: bootstage: Use debug() for stashing messages X-Git-Tag: v2017.07-rc1~21 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ff00226e0b55d08c55fca843ff9c4819b247e08c;p=platform%2Fkernel%2Fu-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 1afdee3..32f4e8b 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; }