summaryrefslogtreecommitdiff
path: root/drivers/mtd
diff options
context:
space:
mode:
authorJagannadha Sutradharudu Teki <jaganna@xilinx.com>2013-08-05 17:36:02 +0530
committerJagannadha Sutradharudu Teki <jaganna@xilinx.com>2013-10-07 17:55:43 +0530
commit26dcc5415b78b8378c7819036600c3749178b087 (patch)
tree7bb732b418017b0a3835691fad0b11fbe0799052 /drivers/mtd
parent74bec16eb5c5bb46305ee5ccc67250f286e6288c (diff)
downloadu-boot-imx-26dcc5415b78b8378c7819036600c3749178b087.zip
u-boot-imx-26dcc5415b78b8378c7819036600c3749178b087.tar.gz
u-boot-imx-26dcc5415b78b8378c7819036600c3749178b087.tar.bz2
sf: probe: Add support for SST25* flash parts
Added SST25* parts are which are avilable in spi_flash_probe_legacy.c. Updated the sector_size attributes as per the flash parts. Looks fine for with this sector_size for computing the size of flash. Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com> Tested-by: Eric Nelson <eric.nelson@boundarydevices.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/spi/spi_flash_probe.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/drivers/mtd/spi/spi_flash_probe.c b/drivers/mtd/spi/spi_flash_probe.c
index a9ac571..d0955bf 100644
--- a/drivers/mtd/spi/spi_flash_probe.c
+++ b/drivers/mtd/spi/spi_flash_probe.c
@@ -88,6 +88,18 @@ static const struct spi_flash_params spi_flash_params_table[] = {
{"N25Q1024", 0x20ba21, 0x0, 64 * 1024, 2048},
{"N25Q1024A", 0x20bb21, 0x0, 64 * 1024, 2048},
#endif
+#ifdef CONFIG_SPI_FLASH_SST /* SST */
+ {"SST25VF040B", 0xbf258d, 0x0, 64 * 1024, 8},
+ {"SST25VF080B", 0xbf258e, 0x0, 64 * 1024, 16},
+ {"SST25VF016B", 0xbf2541, 0x0, 64 * 1024, 32},
+ {"SST25VF032B", 0xbf254a, 0x0, 64 * 1024, 64},
+ {"SST25VF064C", 0xbf254b, 0x0, 64 * 1024, 128},
+ {"SST25WF512", 0xbf2501, 0x0, 64 * 1024, 1},
+ {"SST25WF010", 0xbf2502, 0x0, 64 * 1024, 2},
+ {"SST25WF020", 0xbf2503, 0x0, 64 * 1024, 4},
+ {"SST25WF040", 0xbf2504, 0x0, 64 * 1024, 8},
+ {"SST25WF080", 0xbf2505, 0x0, 64 * 1024, 16},
+#endif
#ifdef CONFIG_SPI_FLASH_WINBOND /* WINBOND */
{"W25P80", 0xef2014, 0x0, 64 * 1024, 16},
{"W25P16", 0xef2015, 0x0, 64 * 1024, 32},
@@ -125,7 +137,6 @@ static const struct spi_flash_params spi_flash_params_table[] = {
* TODO:
* ATMEL
* RAMTRON
- * SST
*/
};