]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
Xilinx: ARM: sf: Enable prints on erase and write functions
authorJagannadha Sutradharudu Teki <jaganna@xilinx.com>
Mon, 6 Aug 2012 15:25:35 +0000 (20:55 +0530)
committerJagannadha Sutradharudu Teki <jaganna@xilinx.com>
Fri, 17 Aug 2012 11:30:55 +0000 (17:00 +0530)
This patch provides to enabled the prints on erase and write
functions to make sure that user to know the functionality.

Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
drivers/mtd/spi/spi_flash.c

index eb6a7db2cd9ad78aaa0a42ed3c405eb580aaaf1b..7b566c632ab3c2a63a85230d2f401bfdee937bba 100644 (file)
@@ -122,7 +122,7 @@ int spi_flash_cmd_write_multi(struct spi_flash *flash, u32 offset,
                byte_addr = 0;
        }
 
-       debug("SF: program %s %zu bytes @ %#x\n",
+       printf("SF: program %s %zu bytes @ %#x\n",
              ret ? "failure" : "success", len, offset);
 
        spi_release_bus(flash->spi);
@@ -249,7 +249,7 @@ int spi_flash_cmd_erase(struct spi_flash *flash, u8 erase_cmd,
                        goto out;
        }
 
-       debug("SF: Successfully erased %zu bytes @ %#x\n", len, start);
+       printf("SF: Successfully erased %zu bytes @ %#x\n", len, start);
 
  out:
        spi_release_bus(flash->spi);