summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Mamonov <pmamonov@gmail.com>2017-01-26 15:35:28 +0300
committerSascha Hauer <s.hauer@pengutronix.de>2017-01-30 07:27:11 +0100
commitdb791c7fb2da0708573d7483259a6e8e971aba20 (patch)
tree6bd2bd2e411f0ab6eb3d72f6a7f1bc350eb7a0dc
parente1e8656a7d24133758dc65512a5714c9d0bf1abd (diff)
downloadbarebox-db791c7fb2da0708573d7483259a6e8e971aba20.tar.gz
mtd: spi-nor: add support for s25fl208k
Signed-off-by: Peter Mamonov <pmamonov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--drivers/mtd/spi-nor/spi-nor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
index faeafe1..3f1def6 100644
--- a/drivers/mtd/spi-nor/spi-nor.c
+++ b/drivers/mtd/spi-nor/spi-nor.c
@@ -578,6 +578,7 @@ static const struct spi_device_id spi_nor_ids[] = {
{ "s25fl116k", INFO(0x014015, 0, 64 * 1024, 32, SECT_4K) },
{ "s25fl132k", INFO(0x014016, 0, 64 * 1024, 64, 0) },
{ "s25fl204k", INFO(0x014013, 0, 64 * 1024, 8, SECT_4K) },
+ { "s25fl208k", INFO(0x014014, 0, 64 * 1024, 16, SECT_4K) },
/* SST -- large erase sizes are "overlays", "sectors" are 4K */
{ "sst25vf040b", INFO(0xbf258d, 0, 64 * 1024, 8, SECT_4K | SST_WRITE) },