From c62f93a620f7c13564a0f4a5583e90a01047901d Mon Sep 17 00:00:00 2001 From: Luca Ellero Date: Tue, 26 Apr 2022 10:24:10 +0200 Subject: [PATCH] sf: dataflash: add support for AT45DB641E NOTE: this chip uses "extened device information" Signed-off-by: Luca Ellero Reviewed-by: Jagan Teki --- drivers/mtd/spi/sf_dataflash.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mtd/spi/sf_dataflash.c b/drivers/mtd/spi/sf_dataflash.c index 351c41039a..85867817c7 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, -- 2.39.5