summaryrefslogtreecommitdiff
path: root/tools/rkspi.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-12-29 05:22:44 -0700
committerSimon Glass <sjg@chromium.org>2016-01-08 07:59:06 -0700
commit25525ebe3165e9057741da2282d103f39e2221b5 (patch)
tree8a8c2df1dc022e4aa8340754334966b79659d55a /tools/rkspi.c
parent9b03701a10b9377ebcd0bf1d9f8cd980b2ee607a (diff)
rockchip: Drop a debug message when outputing SPI images
There is an unnecessary sector count displayed. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/rkspi.c')
-rw-r--r--tools/rkspi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/rkspi.c b/tools/rkspi.c
index 800e235168f..a0b0051d380 100644
--- a/tools/rkspi.c
+++ b/tools/rkspi.c
@@ -54,7 +54,7 @@ static void rkspi_set_header(void *buf, struct stat *sbuf, int ifd,
* boot ROM. Its rationale is unknown.
*/
for (sector = size / RKSPI_SECT_LEN - 1; sector >= 0; sector--) {
- printf("sector %u\n", sector);
+ debug("sector %u\n", sector);
memmove(buf + sector * RKSPI_SECT_LEN * 2,
buf + sector * RKSPI_SECT_LEN,
RKSPI_SECT_LEN);