dfu: dfu_nand: reduce verbosity
PATCH 1/1 dfu: dfu_nand: reduce verbosity
In combination with multiple partitions in NAND, this printf() ends up being more noise than helpful. Change it to debug() instead.
---
drivers/dfu/dfu_nand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/dfu/dfu_nand.c +1 -1
@@ -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 ();
Signature · 1 line
2.17.1
PATCH 1/1 dfu: dfu_nand: reduce verbosity
Hi Ralph,
Quoted 14 lines
In combination with multiple partitions in NAND, this
printf()ends up being more noise than helpful. Change it todebug()instead.Signed-off-by Ralph Siemsen <[email protected]>---
drivers/dfu/dfu_nand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/dfu/dfu_nand.c +0
-0
drivers/dfu/dfu_nand.c int dfu_fill_entity_nand(struct dfu_entity *dfu, · line 220
Quoted 8 lines
drivers/dfu/dfu_nand.c +1
-1@@ -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 ();
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>