]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
spi/eon: add support for new EON spi flash EN25Q32B
authorShaohui Xie <Shaohui.Xie@freescale.com>
Tue, 27 Sep 2011 01:21:34 +0000 (01:21 +0000)
committerWolfgang 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

index 3a421db782384f79dcb760cc578e85c8117e2c6c..f9352f95a6c67363daae45c80c7189fcc2773a75 100644 (file)
@@ -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)