aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/spi/sf_dataflash.c
diff options
context:
space:
mode:
authorLuca Ellero2022-04-26 10:24:10 +0200
committerJagan Teki2022-05-03 17:57:19 +0530
commitc62f93a620f7c13564a0f4a5583e90a01047901d (patch)
tree9eae87900b90adfb719e8a4c3cde097269185b8f /drivers/mtd/spi/sf_dataflash.c
parent1c1c581d56a59a7513d79adc0bf6a0aa003f783d (diff)
sf: dataflash: add support for AT45DB641E
NOTE: this chip uses "extened device information" Signed-off-by: Luca Ellero <l.ellero@asem.it> Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
Diffstat (limited to 'drivers/mtd/spi/sf_dataflash.c')
-rw-r--r--drivers/mtd/spi/sf_dataflash.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mtd/spi/sf_dataflash.c b/drivers/mtd/spi/sf_dataflash.c
index 351c41039a2..85867817c78 100644
--- a/drivers/mtd/spi/sf_dataflash.c
+++ b/drivers/mtd/spi/sf_dataflash.c
@@ -510,6 +510,9 @@ static struct data_flash_info dataflash_data[] = {
{ "AT45DB642x", 0x1f2800, 8192, 1056, 11, SUP_POW2PS},
{ "at45db642d", 0x1f2800, 8192, 1024, 10, SUP_POW2PS | IS_POW2PS},
+
+ { "AT45DB641E", 0x1f28000100ULL, 32768, 264, 9, SUP_EXTID | SUP_POW2PS},
+ { "at45db641e", 0x1f28000100ULL, 32768, 256, 8, SUP_EXTID | SUP_POW2PS | IS_POW2PS},
};
static struct data_flash_info *jedec_lookup(struct spi_slave *spi,