summaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorJagannadha Sutradharudu Teki <jaganna@xilinx.com>2013-05-26 14:52:52 +0530
committerJagannadha Sutradharudu Teki <jaganna@xilinx.com>2013-06-03 00:04:41 +0530
commit60b6614ac8d189b8e31b9a7564fe5babb374bffa (patch)
tree016d8cfd422980953e3322fe5cc60cc7cfd45f07 /drivers/mtd
parent96bbf55651fc2bedc175830d22179e384d640d99 (diff)
downloadu-boot-60b6614ac8d189b8e31b9a7564fe5babb374bffa.tar.gz
u-boot-60b6614ac8d189b8e31b9a7564fe5babb374bffa.tar.xz
u-boot-60b6614ac8d189b8e31b9a7564fe5babb374bffa.zip
cmd_sf: Add print mesgs on sf read/write commands
This patch adds a print messages while using 'sf read' and 'sf write' commands to make sure that how many bytes read/written from/into flash device. Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com> Acked-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/spi/spi_flash.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/mtd/spi/spi_flash.c b/drivers/mtd/spi/spi_flash.c
index de6fd58e8c..0e38f59481 100644
--- a/drivers/mtd/spi/spi_flash.c
+++ b/drivers/mtd/spi/spi_flash.c
@@ -124,9 +124,6 @@ int spi_flash_cmd_write_multi(struct spi_flash *flash, u32 offset,
}
}
- debug("SF: program %s %zu bytes @ %#x\n",
- ret ? "failure" : "success", len, offset);
-
spi_release_bus(flash->spi);
return ret;
}