summaryrefslogtreecommitdiffstats
path: root/commands/nand.c
diff options
context:
space:
mode:
authorNishanth Menon <menon.nishanth@gmail.com>2008-09-11 10:20:10 -0500
committerSascha Hauer <s.hauer@pengutronix.de>2008-09-15 10:11:04 +0200
commitaec8bdd7e5dafeb29a56de799b798072bcf3d339 (patch)
treed9aa576404d491fedd14b768aa9b464d74a3b8db /commands/nand.c
parentad84cbb078b9b5bfa42d1d01608e5b5e7423f8ae (diff)
downloadbarebox-aec8bdd7e5dafeb29a56de799b798072bcf3d339.tar.gz
Commands:NAND: Rmove unwanted prints remove unwanted prints which can interfere with protocols such as kermit downloads
Signed-off-by: Nishanth Menon <x0nishan@ti.com>
Diffstat (limited to 'commands/nand.c')
-rw-r--r--commands/nand.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/nand.c b/commands/nand.c
index fce61d7..725cb65 100644
--- a/commands/nand.c
+++ b/commands/nand.c
@@ -58,7 +58,7 @@ static ssize_t nand_bb_read(struct device_d *dev, void *buf, size_t count,
return ret;
if (ret) {
- printf("skipping bad block at 0x%08x\n", bb->offset);
+ debug("skipping bad block at 0x%08x\n", bb->offset);
bb->offset += bb->info.erasesize;
}
@@ -90,7 +90,7 @@ static ssize_t nand_bb_write(struct device_d *dev, const void *buf, size_t count
return ret;
if (ret) {
- printf("skipping bad block at 0x%08x\n", bb->offset);
+ debug("skipping bad block at 0x%08x\n", bb->offset);
bb->offset += bb->info.erasesize;
}