summaryrefslogtreecommitdiff
path: root/drivers/mtd
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2017-04-26 16:10:54 -0500
committerJason Liu <jason.hui.liu@nxp.com>2017-11-03 02:36:50 +0800
commit243aa3ddea8ee7f2e512d2a524b3553b0b144f92 (patch)
tree3b681d91ce8a7d41b3a0bd5b3e7b210d6beecd6e /drivers/mtd
parentae4e80b7b0debd2ad868781aaeb28ca4f2d9a8aa (diff)
MLK-14938-20 spi_flash: Remove SECT_4K flag for mt35xu512aba
Found the 4K subsector erase can't work on this mt35xu512aba flash. Remove this flag to use 128K sector erase. Signed-off-by: Ye Li <ye.li@nxp.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/spi/spi_flash_ids.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/spi/spi_flash_ids.c b/drivers/mtd/spi/spi_flash_ids.c
index 48d3768610..6a114e1f21 100644
--- a/drivers/mtd/spi/spi_flash_ids.c
+++ b/drivers/mtd/spi/spi_flash_ids.c
@@ -134,7 +134,7 @@ const struct spi_flash_info spi_flash_ids[] = {
{"n25q1024a", INFO(0x20bb21, 0x0, 64 * 1024, 2048, RD_FULL | WR_QPP | E_FSR | SECT_4K) },
{"mt25qu02g", INFO(0x20bb22, 0x0, 64 * 1024, 4096, RD_FULL | WR_QPP | E_FSR | SECT_4K) },
{"mt25ql02g", INFO(0x20ba22, 0x0, 64 * 1024, 4096, RD_FULL | WR_QPP | E_FSR | SECT_4K) },
- {"mt35xu512aba", INFO(0x2c5b1a, 0x0, 128 * 1024, 512, E_FSR | SECT_4K) },
+ {"mt35xu512aba", INFO(0x2c5b1a, 0x0, 128 * 1024, 512, E_FSR) },
#endif
#ifdef CONFIG_SPI_FLASH_SST /* SST */
{"sst25vf040b", INFO(0xbf258d, 0x0, 64 * 1024, 8, SECT_4K | SST_WR) },