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 | |
parent | 4e6a515899290635bfd7fe3aef8c4d4d9e88fced (diff) | |
download | u-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>
Diffstat (limited to 'drivers/mtd')
-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 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; |