Commit 25525ebe authored by Simon Glass's avatar Simon Glass

rockchip: Drop a debug message when outputing SPI images

There is an unnecessary sector count displayed. Drop it.
Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 9b03701a
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment