061-v4.10-0005-mtd-spi-nor-Add-at25df321-spi-nor-flash-support.patch 1.0 KB

1234567891011121314151617181920212223242526
  1. From b08618c929b289699a496b8d45a4e1a014187e56 Mon Sep 17 00:00:00 2001
  2. From: Jagan Teki <jteki@openedev.com>
  3. Date: Tue, 26 Jul 2016 14:07:54 +0530
  4. Subject: [PATCH] mtd: spi-nor: Add at25df321 spi-nor flash support
  5. Add Atmel at25df321 spi-nor flash to the list of spi_nor_ids.
  6. Cc: Brian Norris <computersforpeace@gmail.com>
  7. Cc: Wenyou Yang <wenyou.yang@atmel.com>
  8. Signed-off-by: Jagan Teki <jteki@openedev.com>
  9. Acked-by: Wenyou Yang <wenyou.yang@atmel.com>
  10. Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com>
  11. ---
  12. drivers/mtd/spi-nor/spi-nor.c | 1 +
  13. 1 file changed, 1 insertion(+)
  14. --- a/drivers/mtd/spi-nor/spi-nor.c
  15. +++ b/drivers/mtd/spi-nor/spi-nor.c
  16. @@ -799,6 +799,7 @@ static const struct flash_info spi_nor_i
  17. { "at25fs040", INFO(0x1f6604, 0, 64 * 1024, 8, SECT_4K) },
  18. { "at25df041a", INFO(0x1f4401, 0, 64 * 1024, 8, SECT_4K) },
  19. + { "at25df321", INFO(0x1f4700, 0, 64 * 1024, 64, SECT_4K) },
  20. { "at25df321a", INFO(0x1f4701, 0, 64 * 1024, 64, SECT_4K) },
  21. { "at25df641", INFO(0x1f4800, 0, 64 * 1024, 128, SECT_4K) },