From: Mike Frysinger Date: Tue, 12 Apr 2011 05:34:55 +0000 (-0400) Subject: sf: sst: setup read func X-Git-Tag: v2011.06-rc1~152^2~6 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c5910874ba418e7dc35661b98a8931cb86358f95;p=u-boot sf: sst: setup read func The previous unification patch missed setting up the sst read func. Signed-off-by: Mike Frysinger --- 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;