From: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
Date: Mon, 29 Jul 2013 18:18:00 +0000 (+0530)
Subject: sf: sst: Add support for SST25WF080
X-Git-Tag: v2025.01-rc5-pxa1908~15994^2~2
X-Git-Url: http://git.dujemihanovic.xyz/img/html/static/git-logo.png?a=commitdiff_plain;h=04e15648ce969e273deac264474794318e9178ae;p=u-boot.git

sf: sst: Add support for SST25WF080

Add support for SST25WF080 SPI flash.

Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

diff --git a/drivers/mtd/spi/sst.c b/drivers/mtd/spi/sst.c
index c9dec3c52f..256867c844 100644
--- a/drivers/mtd/spi/sst.c
+++ b/drivers/mtd/spi/sst.c
@@ -99,6 +99,12 @@ static const struct sst_spi_flash_params sst_spi_flash_table[] = {
 		.nr_sectors = 128,
 		.name = "SST25WF040",
 	},
+	{
+		.idcode1 = 0x05,
+		.flags = SST_FEAT_WP,
+		.nr_sectors = 256,
+		.name = "SST25WF080",
+	},
 };
 
 static int