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>
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);
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);