Patchwork [U-Boot,3/4] sf: macronix: Add support for MX25L25635F

login
register
mail settings
Submitter Jagannadha Sutradharudu Teki
Date July 29, 2013, 6:08 p.m.
Message ID <c9c1d5b4-c827-453a-90fa-d7c289ff7979@CH1EHSMHS007.ehs.local>
Download mbox | patch
Permalink /patch/262930/
State Superseded
Delegated to: Jagannadha Sutradharudu Teki
Headers show

Comments

Jagannadha Sutradharudu Teki - July 29, 2013, 6:08 p.m.
Add support for Macronix MX25L25635F SPI flash.

Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
---
 drivers/mtd/spi/macronix.c | 5 +++++
 1 file changed, 5 insertions(+)

Patch

diff --git a/drivers/mtd/spi/macronix.c b/drivers/mtd/spi/macronix.c
index 70435eb..ce2fb9c 100644
--- a/drivers/mtd/spi/macronix.c
+++ b/drivers/mtd/spi/macronix.c
@@ -61,6 +61,11 @@  static const struct macronix_spi_flash_params macronix_spi_flash_table[] = {
 		.nr_blocks = 256,
 		.name = "MX25L12855E",
 	},
+	{
+		.idcode = 0x2019,
+		.nr_blocks = 512,
+		.name = "MX25L25635F",
+	},
 };
 
 struct spi_flash *spi_flash_probe_macronix(struct spi_slave *spi, u8 *idcode)