]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - tools/rkspi.c
cmd/bdinfo: extract print_bi_dram
[people/ms/u-boot.git] / tools / rkspi.c
index 800e235168ff5d041469c4c57bc0b5a7c44bc781..a0b0051d3805919ae72e67b2aa186fafdb77c0c4 100644 (file)
@@ -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);