[U-Boot] [PATCH 4/9] sf: sst: setup read func
Mike Frysinger
vapier at gentoo.org
Tue Apr 12 08:35:23 CEST 2011
The previous unification patch missed setting up the sst read func.
Signed-off-by: Mike Frysinger <vapier at gentoo.org>
---
drivers/mtd/spi/sst.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/mtd/spi/sst.c b/drivers/mtd/spi/sst.c
index 29bb88b..38983bd 100644
--- a/drivers/mtd/spi/sst.c
+++ b/drivers/mtd/spi/sst.c
@@ -255,6 +255,7 @@ spi_flash_probe_sst(struct spi_slave *spi, u8 *idcode)
stm->flash.write = sst_write;
stm->flash.erase = sst_erase;
+ stm->flash.read = spi_flash_cmd_read_fast;
stm->flash.sector_size = SST_SECTOR_SIZE;
stm->flash.size = stm->flash.sector_size * params->nr_sectors;
--
1.7.5.rc1
More information about the U-Boot
mailing list