mtd: m25p80: add support for the EON EN25P{32, 64} SPI flash chips
authorGabor Juhos <juhosg@openwrt.org>
Wed, 4 Aug 2010 19:14:25 +0000 (21:14 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 6 Aug 2010 09:15:43 +0000 (10:15 +0100)
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/devices/m25p80.c

index 48bf325e9e84ea63e33bcd4b9bd6ac98619a8f90..21d866c31bb9bd5cda3f4edadcfda1d2457f8165 100644 (file)
@@ -641,6 +641,10 @@ static const struct spi_device_id m25p_ids[] = {
        { "at26df161a", INFO(0x1f4601, 0, 64 * 1024, 32, SECT_4K) },
        { "at26df321",  INFO(0x1f4701, 0, 64 * 1024, 64, SECT_4K) },
 
+       /* EON -- en25pxx */
+       { "en25p32", INFO(0x1c2016, 0, 64 * 1024,  64, 0) },
+       { "en25p64", INFO(0x1c2017, 0, 64 * 1024, 128, 0) },
+
        /* Macronix */
        { "mx25l4005a",  INFO(0xc22013, 0, 64 * 1024,   8, SECT_4K) },
        { "mx25l8005",   INFO(0xc22014, 0, 64 * 1024,  16, 0) },