diff options
author | Sean Nyekjaer <sean.nyekjaer@prevas.dk> | 2017-12-15 08:51:54 +0100 |
---|---|---|
committer | Jagan Teki <jagan@amarulasolutions.com> | 2017-12-19 17:33:48 +0530 |
commit | 065592b40b41b11ee66d8ff71a55156bf1b35088 (patch) | |
tree | 75056a1b634ceab45033fb13cf4854f99f83c00a /drivers/mtd/spi | |
parent | 7ed8a0245ef5bc317d1381584c783cbf2525fb07 (diff) |
mtd/spi: fix block count for is25lq040b
This spi-nor is 4Mbit/512KB
Fixes: b4fbcbc5a5 ("mtd/spi: add support for is25lq040b")
Signed-off-by: Sean Nyekjaer <sean.nyekjaer@prevas.dk>
Reviewed-by: Jagan Teki <jagan@openedev.com>
Diffstat (limited to 'drivers/mtd/spi')
-rw-r--r-- | drivers/mtd/spi/spi_flash_ids.c | 2 |
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 32c6123a03..262d81e98d 100644 --- a/drivers/mtd/spi/spi_flash_ids.c +++ b/drivers/mtd/spi/spi_flash_ids.c @@ -67,10 +67,10 @@ const struct spi_flash_info spi_flash_ids[] = { {"gd25lq32", INFO(0xc86016, 0x0, 64 * 1024, 64, SECT_4K) }, #endif #ifdef CONFIG_SPI_FLASH_ISSI /* ISSI */ + {"is25lq040b", INFO(0x9d4013, 0x0, 64 * 1024, 8, 0) }, {"is25lp032", INFO(0x9d6016, 0x0, 64 * 1024, 64, 0) }, {"is25lp064", INFO(0x9d6017, 0x0, 64 * 1024, 128, 0) }, {"is25lp128", INFO(0x9d6018, 0x0, 64 * 1024, 256, 0) }, - {"is25lq040b", INFO(0x9d4013, 0x0, 64 * 1024, 64, 0) }, #endif #ifdef CONFIG_SPI_FLASH_MACRONIX /* MACRONIX */ {"mx25l2006e", INFO(0xc22012, 0x0, 64 * 1024, 4, 0) }, |