Skip to contentSkip to conversation

spi/eon: add support for new EON spi flash EN25Q32B

PATCH New Kumar Gala 2 participants 3 messages Oct 3, 2011 Memory technology devices (MTD)

lore
Share & tools
lore

Kumar Gala

author
#0 lore raw

PATCH 1/1 spi/eon: add support for new EON spi flash EN25Q32B

From: Shaohui Xie <[email protected]>

---
 drivers/mtd/spi/eon.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
drivers/mtd/spi/eon.c +8 -0
index 806b44e..4c64494 100644
@@ -41,6 +41,14 @@ static const struct eon_spi_flash_params eon_spi_flash_table[] = {
 		.nr_sectors = 4096,
 		.name = "EN25Q128",
 	},
+	{
+		.idcode1 = 0x16,
+		.page_size = 256,
+		.pages_per_sector = 16,
+		.sectors_per_block = 16,
+		.nr_sectors = 1024,
+		.name = "EN25Q32B",
+	},
 };
 
 static int eon_erase(struct spi_flash *flash, u32 offset, size_t len)
Signature · 1 line
1.7.3.4