summaryrefslogtreecommitdiff
path: root/drivers/mtd
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2011-10-01 21:44:07 +0200
committerWolfgang Denk <wd@denx.de>2011-10-01 21:44:07 +0200
commit1e02c20ac925fbc527b8579e42f0a6bd610a0760 (patch)
treedc0919650905c775c8d92ed08d7b18e7cd781565 /drivers/mtd
parent97d7ab8a8eb6dbf7c9e8096f31031dfed81db8f8 (diff)
parentbd75c63a94dc3f2bab02ee59f23ff4131c62709d (diff)
downloadu-boot-imx-1e02c20ac925fbc527b8579e42f0a6bd610a0760.zip
u-boot-imx-1e02c20ac925fbc527b8579e42f0a6bd610a0760.tar.gz
u-boot-imx-1e02c20ac925fbc527b8579e42f0a6bd610a0760.tar.bz2
Merge branch 'sf' of git://git.denx.de/u-boot-blackfin
* 'sf' of git://git.denx.de/u-boot-blackfin: sf: eon: add support for EN25Q32B parts cmd_sf: add "update" subcommand to do smart SPI flash update
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 806b44e..3a421db 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,