From bd75c63a94dc3f2bab02ee59f23ff4131c62709d Mon Sep 17 00:00:00 2001 From: Shaohui Xie Date: Tue, 27 Sep 2011 19:21:34 +0800 Subject: [PATCH] sf: eon: add support for EN25Q32B parts Signed-off-by: Shaohui Xie Signed-off-by: Mike Frysinger --- drivers/mtd/spi/eon.c | 8 ++++++++ 1 file changed, 8 insertions(+) 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, -- 2.7.4