]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
sf: sst: setup read func
authorMike Frysinger <vapier@gentoo.org>
Tue, 12 Apr 2011 05:34:55 +0000 (01:34 -0400)
committerMike Frysinger <vapier@gentoo.org>
Tue, 12 Apr 2011 06:15:54 +0000 (02:15 -0400)
The previous unification patch missed setting up the sst read func.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
drivers/mtd/spi/sst.c

index 29bb88b5393d2c41bd39659d724313b2e0f2d20b..38983bd20387d11a9533600e59d57acf442f9622 100644 (file)
@@ -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;