Patchwork [U-Boot] spi/eon: add support for new EON spi flash EN25Q32B

login
register
mail settings
Submitter shaohui xie
Date Sept. 27, 2011, 11:21 a.m.
Message ID <1317122494-13562-1-git-send-email-Shaohui.Xie@freescale.com>
Download mbox | patch
Permalink /patch/116593/
State Accepted
Commit 23d8f778c8f81b25d3bcecb8c4cdc97d6685af25
Headers show

Comments

shaohui xie - Sept. 27, 2011, 11:21 a.m.
Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
---
 drivers/mtd/spi/eon.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
Wolfgang Denk - Oct. 23, 2011, 8:08 p.m.
Dear Shaohui Xie,

In message <1317122494-13562-1-git-send-email-Shaohui.Xie@freescale.com> you wrote:
> Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
> ---
>  drivers/mtd/spi/eon.c |    8 ++++++++
>  1 files changed, 8 insertions(+), 0 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

Patch

diff --git a/drivers/mtd/spi/eon.c b/drivers/mtd/spi/eon.c
index 806b44e..4c64494 100644
--- a/drivers/mtd/spi/eon.c
+++ b/drivers/mtd/spi/eon.c
@@ -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)