[PATCH 2/2] sf: dataflash: add support for AT45DB641E

Luca Ellero luca.ellero at brickedbrain.com
Tue Mar 22 11:55:46 CET 2022


From: Luca Ellero <l.ellero at asem.it>

NOTE: this chip uses "extened device information"

Signed-off-by: Luca Ellero <l.ellero at asem.it>
---
 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.17.1



More information about the U-Boot mailing list