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

login
register
mail settings
Submitter Jagannadha Sutradharudu Teki
Date July 29, 2013, 6:08 p.m.
Message ID <c69f4add-7c0b-4599-81cc-2d329c151413@CH1EHSMHS014.ehs.local>
Download mbox | patch
Permalink /patch/262928/
State Superseded
Delegated to: Jagannadha Sutradharudu Teki
Headers show

Comments

Jagannadha Sutradharudu Teki - July 29, 2013, 6:08 p.m.
Add support for Macronix MX25L51235F 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 ce2fb9c..d0e6d6c 100644
--- a/drivers/mtd/spi/macronix.c
+++ b/drivers/mtd/spi/macronix.c
@@ -66,6 +66,11 @@  static const struct macronix_spi_flash_params macronix_spi_flash_table[] = {
 		.nr_blocks = 512,
 		.name = "MX25L25635F",
 	},
+	{
+		.idcode = 0x201A,
+		.nr_blocks = 1024,
+		.name = "MX66L51235F",
+	},
 };
 
 struct spi_flash *spi_flash_probe_macronix(struct spi_slave *spi, u8 *idcode)