projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e41f5a
)
spi/eon: add support for new EON spi flash EN25Q32B
author
Shaohui Xie
<Shaohui.Xie@freescale.com>
Tue, 27 Sep 2011 01:21:34 +0000
(
01:21
+0000)
committer
Wolfgang Denk
<wd@denx.de>
Sun, 23 Oct 2011 21:32:43 +0000
(23:32 +0200)
Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
drivers/mtd/spi/eon.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/spi/eon.c
b/drivers/mtd/spi/eon.c
index 3a421db782384f79dcb760cc578e85c8117e2c6c..f9352f95a6c67363daae45c80c7189fcc2773a75 100644
(file)
--- 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)