summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-06-19 03:27:28 -0400
committerMike Frysinger <vapier@gentoo.org>2009-07-06 18:46:20 -0400
commitdd54126715b89ed0c43322aa78b0dad306f043b6 (patch)
tree2f9acdfbda93d8e04444adff89af947b0e8b244e
parent7d907f0ea993b179a197d8db2a36f122bc673c2d (diff)
downloadu-boot-imx-dd54126715b89ed0c43322aa78b0dad306f043b6.zip
u-boot-imx-dd54126715b89ed0c43322aa78b0dad306f043b6.tar.gz
u-boot-imx-dd54126715b89ed0c43322aa78b0dad306f043b6.tar.bz2
sf: sst: add sst25vf###b ids
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r--drivers/mtd/spi/sst.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/mtd/spi/sst.c b/drivers/mtd/spi/sst.c
index cf7bce8..50e9299 100644
--- a/drivers/mtd/spi/sst.c
+++ b/drivers/mtd/spi/sst.c
@@ -55,6 +55,22 @@ static inline struct sst_spi_flash *to_sst_spi_flash(struct spi_flash *flash)
#define SST_SECTOR_SIZE (4 * 1024)
static const struct sst_spi_flash_params sst_spi_flash_table[] = {
{
+ .idcode1 = 0x8d,
+ .nr_sectors = 128,
+ .name = "SST25VF040B",
+ },{
+ .idcode1 = 0x8e,
+ .nr_sectors = 256,
+ .name = "SST25VF080B",
+ },{
+ .idcode1 = 0x41,
+ .nr_sectors = 512,
+ .name = "SST25VF016B",
+ },{
+ .idcode1 = 0x4a,
+ .nr_sectors = 1024,
+ .name = "SST25VF032B",
+ },{
.idcode1 = 0x01,
.nr_sectors = 16,
.name = "SST25WF512",