summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaikun Wang <Haikun.Wang@freescale.com>2015-06-29 17:15:52 +0800
committerJagan Teki <jteki@openedev.com>2015-06-30 01:20:37 +0530
commit9c5a70dbe88072efeaef941b441cc3e89f33b546 (patch)
tree4464fee34c685711368ccb6c26362defcd944ad8
parent8ee81b7f9b675cb675119a998b04ca843d24ddcd (diff)
downloadu-boot-imx-9c5a70dbe88072efeaef941b441cc3e89f33b546.zip
u-boot-imx-9c5a70dbe88072efeaef941b441cc3e89f33b546.tar.gz
u-boot-imx-9c5a70dbe88072efeaef941b441cc3e89f33b546.tar.bz2
sf: update sst25wf040b flash params
sst25wf040b doesn't support Auto Address Increment Programming command. Remove SST_WR flag. Signed-off-by: Haikun Wang <B53464@freescale.com> Tested-by: Haikun Wang <haikun.wang@freescale.com> Reviewed-by: Jagannadh Teki <jteki@openedev.com>
-rw-r--r--drivers/mtd/spi/sf_params.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/spi/sf_params.c b/drivers/mtd/spi/sf_params.c
index c12e8c6..4a4a3af 100644
--- a/drivers/mtd/spi/sf_params.c
+++ b/drivers/mtd/spi/sf_params.c
@@ -100,7 +100,7 @@ const struct spi_flash_params spi_flash_params_table[] = {
{"SST25WF010", 0xbf2502, 0x0, 64 * 1024, 2, RD_NORM, SECT_4K | SST_WR},
{"SST25WF020", 0xbf2503, 0x0, 64 * 1024, 4, RD_NORM, SECT_4K | SST_WR},
{"SST25WF040", 0xbf2504, 0x0, 64 * 1024, 8, RD_NORM, SECT_4K | SST_WR},
- {"SST25WF040B", 0x621613, 0x0, 64 * 1024, 8, RD_NORM, SECT_4K | SST_WR},
+ {"SST25WF040B", 0x621613, 0x0, 64 * 1024, 8, RD_NORM, SECT_4K},
{"SST25WF080", 0xbf2505, 0x0, 64 * 1024, 16, RD_NORM, SECT_4K | SST_WR},
#endif
#ifdef CONFIG_SPI_FLASH_WINBOND /* WINBOND */