]> Git Repo - u-boot.git/commitdiff
dfu: dfu_nand: reduce verbosity
authorRalph Siemsen <[email protected]>
Tue, 27 Aug 2019 18:28:19 +0000 (14:28 -0400)
committerMarek Vasut <[email protected]>
Thu, 31 Oct 2019 11:12:31 +0000 (12:12 +0100)
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 <[email protected]>
Acked-by: Lukasz Majewski <[email protected]>
drivers/dfu/dfu_nand.c

index 0bfdbf942898d391e993213573153dd4ec96c436..b812a3dfb136ec954305a76b7bf7555e155619ee 100644 (file)
@@ -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();
 
This page took 0.031245 seconds and 4 git commands to generate.