sf: probe: add support for MX25L2006E
authorLuka Perkov <luka@openwrt.org>
Mon, 28 Oct 2013 09:27:17 +0000 (10:27 +0100)
committerJagannadha Sutradharudu Teki <jaganna@xilinx.com>
Wed, 18 Dec 2013 17:53:41 +0000 (23:23 +0530)
Add support for Macronix MX25L2006E SPI flash.

Signed-off-by: Luka Perkov <luka@openwrt.org>
Reviewed-by: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
drivers/mtd/spi/sf_probe.c

index 2bd86b1814c12b886cb0c38a70e936746294ca75..b863a9828348a535b668c298f5a98a71434f6070 100644 (file)
@@ -60,6 +60,7 @@ static const struct spi_flash_params spi_flash_params_table[] = {
        {"GD25LQ32",       0xc86016, 0x0,       64 * 1024,    64,              SECT_4K},
 #endif
 #ifdef CONFIG_SPI_FLASH_MACRONIX       /* MACRONIX */
+       {"MX25L2006E",     0xc22012, 0x0,       64 * 1024,     4,                    0},
        {"MX25L4005",      0xc22013, 0x0,       64 * 1024,     8,                    0},
        {"MX25L8005",      0xc22014, 0x0,       64 * 1024,    16,                    0},
        {"MX25L1605D",     0xc22015, 0x0,       64 * 1024,    32,                    0},