public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Lukasz Majewski <lukma@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] dfu: dfu_nand: reduce verbosity
Date: Tue, 27 Aug 2019 23:38:13 +0200	[thread overview]
Message-ID: <20190827233813.21fae2ee@jawa> (raw)
In-Reply-To: <20190827182819.30717-1-ralph.siemsen@linaro.org>

Hi Ralph,

> In combination with multiple partitions in NAND, this printf() ends up
> being more noise than helpful. Change it to debug() instead.
> 
> Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
> ---
> 
>  drivers/dfu/dfu_nand.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/dfu/dfu_nand.c b/drivers/dfu/dfu_nand.c
> index 0bfdbf9428..b812a3dfb1 100644
> --- a/drivers/dfu/dfu_nand.c
> +++ b/drivers/dfu/dfu_nand.c
> @@ -214,7 +214,7 @@ int dfu_fill_entity_nand(struct dfu_entity *dfu,
> char *devstr, char *s) part = simple_strtoul(s, &s, 10);
>  
>  		sprintf(mtd_id, "%s%d,%d", "nand", dev, part - 1);
> -		printf("using id '%s'\n", mtd_id);
> +		debug("using id '%s'\n", mtd_id);
>  
>  		mtdparts_init();
>  

Acked-by: Lukasz Majewski <lukma@denx.de>


Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190827/ac5da14d/attachment.sig>

      reply	other threads:[~2019-08-27 21:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-27 18:28 [U-Boot] [PATCH] dfu: dfu_nand: reduce verbosity Ralph Siemsen
2019-08-27 21:38 ` Lukasz Majewski [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190827233813.21fae2ee@jawa \
    --to=lukma@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox