From: Shaohui Xie Date: Tue, 27 Sep 2011 01:21:34 +0000 (+0000) Subject: spi/eon: add support for new EON spi flash EN25Q32B X-Git-Tag: v2011.12-rc1~463 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=23d8f778c8f81b25d3bcecb8c4cdc97d6685af25;p=u-boot spi/eon: add support for new EON spi flash EN25Q32B Signed-off-by: Shaohui Xie --- diff --git a/drivers/mtd/spi/eon.c b/drivers/mtd/spi/eon.c index 3a421db782..f9352f95a6 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)