summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorShaohui Xie <Shaohui.Xie@freescale.com>2011-09-27 19:21:34 +0800
committerMike Frysinger <vapier@gentoo.org>2011-09-29 16:51:16 -0400
commitbd75c63a94dc3f2bab02ee59f23ff4131c62709d (patch)
treef20a1ec5a313be8f4aa4108b65abaa9e2bc96d08 /drivers
parent8d1af94220f62d2227fc7e633c5cef5f78ec4f4a (diff)
sf: eon: add support for EN25Q32B parts
Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mtd/spi/eon.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/mtd/spi/eon.c b/drivers/mtd/spi/eon.c
index 806b44e6932..3a421db7823 100644
--- a/drivers/mtd/spi/eon.c
+++ b/drivers/mtd/spi/eon.c
@@ -34,6 +34,14 @@ struct eon_spi_flash_params {
static const struct eon_spi_flash_params eon_spi_flash_table[] = {
{
+ .idcode1 = 0x16,
+ .page_size = 256,
+ .pages_per_sector = 16,
+ .sectors_per_block = 16,
+ .nr_sectors = 1024,
+ .name = "EN25Q32B",
+ },
+ {
.idcode1 = 0x18,
.page_size = 256,
.pages_per_sector = 16,