[U-Boot] [PATCH 02/10] rockchip: Drop a debug message when outputing SPI images

Simon Glass sjg at chromium.org
Fri Jan 15 02:35:23 CET 2016


On 29 December 2015 at 05:22, Simon Glass <sjg at chromium.org> wrote:
> There is an unnecessary sector count displayed. Drop it.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
>  tools/rkspi.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/rkspi.c b/tools/rkspi.c
> index 800e235..a0b0051 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);
> --
> 2.6.0.rc2.230.g3dd15c0
>

Applied to u-boot-rockchip, and now in mainline.


More information about the U-Boot mailing list