Patchwork [U-Boot,4/9] sf: sst: setup read func

login
register
mail settings
Submitter Mike Frysinger
Date April 12, 2011, 6:35 a.m.
Message ID <1302590128-8721-5-git-send-email-vapier@gentoo.org>
Download mbox | patch
Permalink /patch/90714/
State Accepted
Commit c5910874ba418e7dc35661b98a8931cb86358f95
Headers show

Comments

Mike Frysinger - April 12, 2011, 6:35 a.m.
The previous unification patch missed setting up the sst read func.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
 drivers/mtd/spi/sst.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch

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;