mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-26 14:40:41 +00:00
sf: sst: setup read func
The previous unification patch missed setting up the sst read func. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
4e6a515899
commit
c5910874ba
1 changed files with 1 additions and 0 deletions
|
@ -255,6 +255,7 @@ spi_flash_probe_sst(struct spi_slave *spi, u8 *idcode)
|
||||||
|
|
||||||
stm->flash.write = sst_write;
|
stm->flash.write = sst_write;
|
||||||
stm->flash.erase = sst_erase;
|
stm->flash.erase = sst_erase;
|
||||||
|
stm->flash.read = spi_flash_cmd_read_fast;
|
||||||
stm->flash.sector_size = SST_SECTOR_SIZE;
|
stm->flash.sector_size = SST_SECTOR_SIZE;
|
||||||
stm->flash.size = stm->flash.sector_size * params->nr_sectors;
|
stm->flash.size = stm->flash.sector_size * params->nr_sectors;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue