]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
sf: update sst25wf040b flash params
authorHaikun Wang <Haikun.Wang@freescale.com>
Mon, 29 Jun 2015 09:15:52 +0000 (17:15 +0800)
committerJagan Teki <jteki@openedev.com>
Mon, 29 Jun 2015 19:50:37 +0000 (01:20 +0530)
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>
drivers/mtd/spi/sf_params.c

index c12e8c6fe7eda06939b685583c3c1b21778e0cf8..4a4a3afc925ee60d298e88b95407bb09630a8002 100644 (file)
@@ -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 */