Browse Source

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 <sjg@chromium.org>
Simon Glass 8 years ago
parent
commit
ff00226e0b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      common/bootstage.c

+ 2 - 2
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;
 }