MLK-14938-20 spi_flash: Remove SECT_4K flag for mt35xu512aba
authorYe Li <ye.li@nxp.com>
Wed, 26 Apr 2017 21:10:54 +0000 (16:10 -0500)
committerJason Liu <jason.hui.liu@nxp.com>
Thu, 2 Nov 2017 18:36:50 +0000 (02:36 +0800)
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>
drivers/mtd/spi/spi_flash_ids.c

index 48d3768..6a114e1 100644 (file)
@@ -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) },