Skip to contentSkip to conversation

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

PATCH New Shaohui Xie 2 participants 2 messages Sep 27, 2011 – Oct 23, 2011 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

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

---
 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.6.4
#1 lore raw

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

Dear Shaohui Xie,

Quoted 4 lines · In message <[email protected]> you…
---
 drivers/mtd/spi/eon.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 10 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Certain old men prefer to rise at dawn, taking a cold bath and a long
walk with an empty stomach and otherwise mortifying the  flesh.  They
then point with pride to these practices as the cause of their sturdy
health  and ripe years; the truth being that they are hearty and old,
not because of their habits, but in spite of them. The reason we find
only robust persons doing this thing is that it has  killed  all  the
others who have tried it.  - Ambrose Bierce, "The Devil's Dictionary"