]> git.sur5r.net Git - u-boot/commitdiff
sf: eon: add support for EN25Q32B parts
authorShaohui Xie <Shaohui.Xie@freescale.com>
Tue, 27 Sep 2011 11:21:34 +0000 (19:21 +0800)
committerMike Frysinger <vapier@gentoo.org>
Thu, 29 Sep 2011 20:51:16 +0000 (16:51 -0400)
Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
drivers/mtd/spi/eon.c

index 806b44e6932e704c02f5b34b12de64c9ac0ec025..3a421db782384f79dcb760cc578e85c8117e2c6c 100644 (file)
@@ -33,6 +33,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,