]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mtd: spi-nor: add support for Micron M25PX80
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 27 Jul 2014 21:56:08 +0000 (23:56 +0200)
committerBrian Norris <computersforpeace@gmail.com>
Tue, 19 Aug 2014 18:53:06 +0000 (11:53 -0700)
This commit adds the support in the spi-nor driver of the Micron
M25PX80 flash, a 8 Mbit SPI flash from Micron.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/spi-nor/spi-nor.c

index b5ad6bebf5e79b014134af83d62e2fb6a5c6f917..4dc0c8662265a0c6c3d1d45635043752f0d60fe2 100644 (file)
@@ -611,6 +611,7 @@ const struct spi_device_id spi_nor_ids[] = {
        { "m25px32-s0", INFO(0x207316,  0, 64 * 1024, 64, SECT_4K) },
        { "m25px32-s1", INFO(0x206316,  0, 64 * 1024, 64, SECT_4K) },
        { "m25px64",    INFO(0x207117,  0, 64 * 1024, 128, 0) },
+       { "m25px80",    INFO(0x207114,  0, 64 * 1024, 16, 0) },
 
        /* Winbond -- w25x "blocks" are 64K, "sectors" are 4KiB */
        { "w25x10", INFO(0xef3011, 0, 64 * 1024,  2,  SECT_4K) },