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

Jagannadha Sutradharudu Teki jagannadha.sutradharudu-teki at xilinx.com
Mon Jul 29 20:08:37 CEST 2013


Add support for Macronix MX25L51235F SPI flash.

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

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)
-- 
1.8.3




More information about the U-Boot mailing list