]> git.sur5r.net Git - u-boot/commitdiff
mtd: spi: Correct parameters for s25fs512s flash
authorAshish Kumar <Ashish.Kumar@nxp.com>
Mon, 25 Jun 2018 10:15:11 +0000 (15:45 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Mon, 25 Jun 2018 10:20:33 +0000 (15:50 +0530)
Change sector size to 256KiB in table spi_flash_ids.

Signed-off-by: Ashish Kumar <Ashish.Kumar@nxp.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
drivers/mtd/spi/spi_flash_ids.c

index c45d2e80be0d5c44705015c027ba17c6a686b4a6..54d491c8734fcfbee64905c18afcfb9104218e0a 100644 (file)
@@ -110,7 +110,7 @@ const struct spi_flash_info spi_flash_ids[] = {
        {"s25fl256s_256k", INFO(0x010219, 0x4d00, 256 * 1024,   128, RD_FULL | WR_QPP) },
        {"s25fs256s_64k",  INFO6(0x010219, 0x4d0181, 64 * 1024, 512, RD_FULL | WR_QPP | SECT_4K) },
        {"s25fl256s_64k",  INFO(0x010219, 0x4d01,  64 * 1024,   512, RD_FULL | WR_QPP) },
-       {"s25fs512s",      INFO6(0x010220, 0x4d0081, 128 * 1024, 512, RD_FULL | WR_QPP | SECT_4K) },
+       {"s25fs512s",      INFO6(0x010220, 0x4d0081, 256 * 1024, 256, RD_FULL | WR_QPP | SECT_4K) },
        {"s25fl512s_256k", INFO(0x010220, 0x4d00, 256 * 1024,   256, RD_FULL | WR_QPP) },
        {"s25fl512s_64k",  INFO(0x010220, 0x4d01,  64 * 1024,  1024, RD_FULL | WR_QPP) },
        {"s25fl512s_512k", INFO(0x010220, 0x4f00, 256 * 1024,   256, RD_FULL | WR_QPP) },