From a4c3b40b33e41563077ea9ccbae7cac9d26ca38f Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 10 Jan 2011 02:20:14 -0500 Subject: sf: unify read functions Signed-off-by: Mike Frysinger --- drivers/mtd/spi/spi_flash_internal.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'drivers/mtd/spi/spi_flash_internal.h') diff --git a/drivers/mtd/spi/spi_flash_internal.h b/drivers/mtd/spi/spi_flash_internal.h index 114b634..d7bcd6d 100644 --- a/drivers/mtd/spi/spi_flash_internal.h +++ b/drivers/mtd/spi/spi_flash_internal.h @@ -35,6 +35,9 @@ int spi_flash_cmd(struct spi_slave *spi, u8 cmd, void *response, size_t len); int spi_flash_cmd_read(struct spi_slave *spi, const u8 *cmd, size_t cmd_len, void *data, size_t data_len); +int spi_flash_cmd_read_fast(struct spi_flash *flash, u32 offset, + size_t len, void *data); + /* * Send a multi-byte command to the device followed by (optional) * data. Used for programming the flash array, etc. -- cgit v1.1