summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2017-06-19 07:44:31 -0700
committerSascha Hauer <s.hauer@pengutronix.de>2017-06-20 09:31:41 +0200
commit469334d1f71b6256ffaa1fbb9db0116dc4de55d5 (patch)
treeaf9f24381d5c7a688dc7682a8c42adf7d39c7fce
parent85a40c73cb28227c527775ed282b3113c98dd892 (diff)
downloadbarebox-469334d1f71b6256ffaa1fbb9db0116dc4de55d5.tar.gz
barebox-469334d1f71b6256ffaa1fbb9db0116dc4de55d5.tar.xz
mtd: dataflash: Add flash_info for AT45DB641E
This is a backport of kernel commit 67e4145ebf2c161d7404770461b8404f00a6d3bf Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--drivers/mtd/devices/mtd_dataflash.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mtd/devices/mtd_dataflash.c b/drivers/mtd/devices/mtd_dataflash.c
index c1c29b7a1..4b8eaec05 100644
--- a/drivers/mtd/devices/mtd_dataflash.c
+++ b/drivers/mtd/devices/mtd_dataflash.c
@@ -714,6 +714,9 @@ static struct flash_info dataflash_data [] = {
{ "AT45DB642x", 0x1f2800, 8192, 1056, 11, SUP_POW2PS},
{ "at45db642d", 0x1f2800, 8192, 1024, 10, SUP_POW2PS | IS_POW2PS},
+
+ { "AT45DB641E", 0x1f28000100, 32768, 264, 9, SUP_EXTID | SUP_POW2PS},
+ { "at45db641e", 0x1f28000100, 32768, 256, 8, SUP_EXTID | SUP_POW2PS | IS_POW2PS},
};
static struct flash_info *jedec_lookup(struct spi_device *spi,