summaryrefslogtreecommitdiff
path: root/drivers/mtd/spi/spi_flash_ids.c
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2017-09-14 23:15:10 +0200
committerJagan Teki <jagan@amarulasolutions.com>2017-09-25 12:54:10 +0530
commit545a43822226d151701f3bf9b668298a124fefc0 (patch)
tree4942a2c74bb419221d4b9104b9a144fe1e33a919 /drivers/mtd/spi/spi_flash_ids.c
parent811b6be166ee4d9eaba73ff1ae5b648d4c98b30e (diff)
sf: Fix S25FL116K entry
The flash chip is 2 MiB , organized as 32 x 64 kiB sectors . Rectify the entry to match the datasheet, reality and Linux SNOR IDs. Signed-off-by: Marek Vasut <marex@denx.de> Reviewed-by: Jagan Teki <jagan@openedev.com>
Diffstat (limited to 'drivers/mtd/spi/spi_flash_ids.c')
-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 837b4124bb..ae4276c936 100644
--- a/drivers/mtd/spi/spi_flash_ids.c
+++ b/drivers/mtd/spi/spi_flash_ids.c
@@ -92,7 +92,7 @@ const struct spi_flash_info spi_flash_ids[] = {
{"s25fl016a", INFO(0x010214, 0x0, 64 * 1024, 32, 0) },
{"s25fl032a", INFO(0x010215, 0x0, 64 * 1024, 64, 0) },
{"s25fl064a", INFO(0x010216, 0x0, 64 * 1024, 128, 0) },
- {"s25fl116k", INFO(0x014015, 0x0, 64 * 1024, 128, 0) },
+ {"s25fl116k", INFO(0x014015, 0x0, 64 * 1024, 32, 0) },
{"s25fl164k", INFO(0x014017, 0x0140, 64 * 1024, 128, 0) },
{"s25fl128p_256k", INFO(0x012018, 0x0300, 256 * 1024, 64, RD_FULL | WR_QPP) },
{"s25fl128p_64k", INFO(0x012018, 0x0301, 64 * 1024, 256, RD_FULL | WR_QPP) },