062-v4.11-0008-mtd-spi-nor-Add-support-for-gd25q16.patch 941 B

12345678910111213141516171819202122232425262728
  1. From 4c5747a390acc9d1da3b332507c8bae7a8ddfc48 Mon Sep 17 00:00:00 2001
  2. From: Kamal Dasu <kdasu.kdev@gmail.com>
  3. Date: Fri, 20 Jan 2017 14:25:51 -0500
  4. Subject: [PATCH] mtd: spi-nor: Add support for gd25q16
  5. Add GigaDevice GD25Q16 (16M-bit) to supported list.
  6. Signed-off-by: Kamal Dasu <kdasu.kdev@gmail.com>
  7. Acked-by: Marek Vasut <marek.vasut@gmail.com>
  8. Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com>
  9. ---
  10. drivers/mtd/spi-nor/spi-nor.c | 5 +++++
  11. 1 file changed, 5 insertions(+)
  12. --- a/drivers/mtd/spi-nor/spi-nor.c
  13. +++ b/drivers/mtd/spi-nor/spi-nor.c
  14. @@ -971,6 +971,11 @@ static const struct flash_info spi_nor_i
  15. /* GigaDevice */
  16. {
  17. + "gd25q16", INFO(0xc84015, 0, 64 * 1024, 32,
  18. + SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
  19. + SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
  20. + },
  21. + {
  22. "gd25q32", INFO(0xc84016, 0, 64 * 1024, 64,
  23. SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
  24. SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)