summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-04-12 01:34:55 -0400
committerMike Frysinger <vapier@gentoo.org>2011-04-12 02:15:54 -0400
commitc5910874ba418e7dc35661b98a8931cb86358f95 (patch)
treed628c2fce11d65f180ad0142962025b9a6472047
parent4e6a515899290635bfd7fe3aef8c4d4d9e88fced (diff)
downloadu-boot-imx-c5910874ba418e7dc35661b98a8931cb86358f95.zip
u-boot-imx-c5910874ba418e7dc35661b98a8931cb86358f95.tar.gz
u-boot-imx-c5910874ba418e7dc35661b98a8931cb86358f95.tar.bz2
sf: sst: setup read func
The previous unification patch missed setting up the sst read func. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r--drivers/mtd/spi/sst.c1
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;