diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-04-12 01:34:55 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-04-12 02:15:54 -0400 |
commit | c5910874ba418e7dc35661b98a8931cb86358f95 (patch) | |
tree | d628c2fce11d65f180ad0142962025b9a6472047 /drivers/mtd/spi/sst.c | |
parent | 4e6a515899290635bfd7fe3aef8c4d4d9e88fced (diff) | |
download | u-boot-c5910874ba418e7dc35661b98a8931cb86358f95.tar.gz u-boot-c5910874ba418e7dc35661b98a8931cb86358f95.tar.xz u-boot-c5910874ba418e7dc35661b98a8931cb86358f95.zip |
sf: sst: setup read func
The previous unification patch missed setting up the sst read func.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'drivers/mtd/spi/sst.c')
-rw-r--r-- | 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 29bb88b539..38983bd203 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; |