061-v4.10-0006-mtd-spi-nor-Add-support-for-N25Q016A.patch 1.2 KB

1234567891011121314151617181920212223242526272829
  1. From 61e4611864b396c7e9040b7335f25d3921bc87cd Mon Sep 17 00:00:00 2001
  2. From: Moritz Fischer <moritz.fischer@ettus.com>
  3. Date: Fri, 15 Jul 2016 10:03:48 -0700
  4. Subject: [PATCH] mtd: spi-nor: Add support for N25Q016A
  5. This commit adds support in the spi-nor driver for the
  6. N25Q016A, a 16Mbit SPI NOR flash from Micron.
  7. Cc: David Woodhouse <dwmw2@infradead.org>
  8. Cc: Brian Norris <computersforpeace@gmail.com>
  9. Cc: Jagan Teki <jteki@openedev.com>
  10. Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
  11. Reviewed-by: Jagan Teki <jteki@openedev.com>
  12. Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com>
  13. ---
  14. drivers/mtd/spi-nor/spi-nor.c | 1 +
  15. 1 file changed, 1 insertion(+)
  16. --- a/drivers/mtd/spi-nor/spi-nor.c
  17. +++ b/drivers/mtd/spi-nor/spi-nor.c
  18. @@ -879,6 +879,7 @@ static const struct flash_info spi_nor_i
  19. { "mx66l1g55g", INFO(0xc2261b, 0, 64 * 1024, 2048, SPI_NOR_QUAD_READ) },
  20. /* Micron */
  21. + { "n25q016a", INFO(0x20bb15, 0, 64 * 1024, 32, SECT_4K | SPI_NOR_QUAD_READ) },
  22. { "n25q032", INFO(0x20ba16, 0, 64 * 1024, 64, SPI_NOR_QUAD_READ) },
  23. { "n25q032a", INFO(0x20bb16, 0, 64 * 1024, 64, SPI_NOR_QUAD_READ) },
  24. { "n25q064", INFO(0x20ba17, 0, 64 * 1024, 128, SECT_4K | SPI_NOR_QUAD_READ) },