diff mbox

[U-Boot,04/12] sf: probe: Add support for M25P* flash parts

Message ID edca59cf-f2bb-4242-a79f-d37a4a3ec29a@DB8EHSMHS031.ehs.local
State Superseded
Delegated to: Jagannadha Sutradharudu Teki
Headers show

Commit Message

Jagannadha Sutradharudu Teki Aug. 4, 2013, 9:20 p.m. UTC
All M25P* flash parts are taken from spi_flash_probe_legacy.c.

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

Patch

diff --git a/drivers/mtd/spi/spi_flash_probe.c b/drivers/mtd/spi/spi_flash_probe.c
index d129162..7b11365 100644
--- a/drivers/mtd/spi/spi_flash_probe.c
+++ b/drivers/mtd/spi/spi_flash_probe.c
@@ -35,6 +35,14 @@  static const struct {
 	u32 nr_sectors;
 } spi_flash_ids[] = {
 	/* STMICRO */
+	{"M25P10",		0x202011, 0x0,    256 * 256,    4},
+	{"M25P20",		0x202012, 0x0,    256 * 256,    4},
+	{"M25P40",		0x202013, 0x0,    256 * 256,    8},
+	{"M25P80",		0x202014, 0x0,    256 * 256,    16},
+	{"M25P16",		0x202015, 0x0,    256 * 256,    32},
+	{"M25P32",		0x202016, 0x0,    256 * 256,    64},
+	{"M25P64",		0x202017, 0x0,    256 * 256,    128},
+	{"M25P128",		0x202018, 0x0,    256 * 1024,   64},
 	{"N25Q32",		0x20ba16, 0x0,    64 * 1024,    64},
 	{"N25Q32A",		0x20bb16, 0x0,    64 * 1024,    64},
 	{"N25Q64",		0x20ba17, 0x0,    64 * 1024,    128},
@@ -56,7 +64,6 @@  static const struct {
 	 * RAMTRON
 	 * SPANSION
 	 * SST
-	 * STMICRO (M25*)
 	 * WINBOND
 	 * non-JEDEC ID's
 	 */