From: Simon Glass Date: Mon, 22 May 2017 05:05:29 -0600 Subject: [U-Boot] [PATCH 08/15] bootstage: Use debug() for stashing messages In-Reply-To: <20170522110536.6231-1-sjg@chromium.org> References: <20170522110536.6231-1-sjg@chromium.org> Message-ID: <20170522110536.6231-9-sjg@chromium.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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; } -- 2.13.0.303.g4ebf302169-goog