summaryrefslogtreecommitdiff
path: root/drivers/mtd/spi
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/spi
parent96bbf55651fc2bedc175830d22179e384d640d99 (diff)
downloadu-boot-imx-60b6614ac8d189b8e31b9a7564fe5babb374bffa.zip
u-boot-imx-60b6614ac8d189b8e31b9a7564fe5babb374bffa.tar.gz
u-boot-imx-60b6614ac8d189b8e31b9a7564fe5babb374bffa.tar.bz2
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/spi')
-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 de6fd58..0e38f59 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;
}