bootstage: Use debug() for stashing messages
authorSimon Glass <sjg@chromium.org>
Mon, 22 May 2017 11:05:29 +0000 (05:05 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 5 Jun 2017 18:13:06 +0000 (14:13 -0400)
We don't normally want to see these messages. Change them to debug-only.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/bootstage.c

index 1afdee3..32f4e8b 100644 (file)
@@ -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;
 }