summaryrefslogtreecommitdiff
path: root/drivers/mtd
diff options
context:
space:
mode:
authorShaohui Xie <Shaohui.Xie@freescale.com>2011-09-27 01:21:34 +0000
committerWolfgang Denk <wd@denx.de>2011-10-23 23:32:43 +0200
commit23d8f778c8f81b25d3bcecb8c4cdc97d6685af25 (patch)
treeeea38b0329d16e8dbc373aa0a061fdbb11ed01dd /drivers/mtd
parent1e41f5ad455e75d3985a0e4670ba1338c2e8faca (diff)
downloadu-boot-imx-23d8f778c8f81b25d3bcecb8c4cdc97d6685af25.zip
u-boot-imx-23d8f778c8f81b25d3bcecb8c4cdc97d6685af25.tar.gz
u-boot-imx-23d8f778c8f81b25d3bcecb8c4cdc97d6685af25.tar.bz2
spi/eon: add support for new EON spi flash EN25Q32B
Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
Diffstat (limited to 'drivers/mtd')
-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 3a421db..f9352f9 100644
--- a/drivers/mtd/spi/eon.c
+++ b/drivers/mtd/spi/eon.c
@@ -49,6 +49,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)