[U-Boot] [PATCH 08/12] sf: probe: Add support for MX25L* flash parts

Jagannadha Sutradharudu Teki jagannadha.sutradharudu-teki at xilinx.com
Sun Aug 4 23:20:31 CEST 2013


All MACRONIX MX25L* flash parts are taken from spi_flash_probe_legacy.c.

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

diff --git a/drivers/mtd/spi/spi_flash_probe.c b/drivers/mtd/spi/spi_flash_probe.c
index 8cca809..75b2245 100644
--- a/drivers/mtd/spi/spi_flash_probe.c
+++ b/drivers/mtd/spi/spi_flash_probe.c
@@ -34,6 +34,15 @@ static const struct {
 	u32 sector_size;
 	u32 nr_sectors;
 } spi_flash_ids[] = {
+	/* MACRONIX */
+	{"MX25L4005",		0xc22013, 0x0,	  64 * 1024,	8},
+	{"MX25L8005",		0xc22014, 0x0,	  64 * 1024,	16},
+	{"MX25L1605D",		0xc22015, 0x0,	  64 * 1024,	32},
+	{"MX25L3205D",		0xc22016, 0x0,	  64 * 1024,	64},
+	{"MX25L6405D",		0xc22017, 0x0,	  64 * 1024,	128},
+	{"MX25L12805",		0xc22018, 0x0,	  64 * 1024,	256},
+	{"MX25L12855E",		0xc22618, 0x0,	  64 * 1024,	256},
+
 	/* GIGADEVICE */
 	{"GD25Q64B",		0xc84017, 0x0,	  64 * 1024,	128},
 	{"GD25LQ32",		0xc86016, 0x0,	  64 * 1024,	64},
@@ -66,7 +75,6 @@ static const struct {
 	/*
 	 * TODO:
 	 * ATMEL
-	 * MACRONIX
 	 * RAMTRON
 	 * SPANSION
 	 * SST
-- 
1.8.3




More information about the U-Boot mailing list