summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@aura-online.co.uk>2011-07-15 06:12:51 +0000
committerWolfgang Denk <wd@denx.de>2011-09-05 16:03:00 +0200
commitad8e3bd65766f670007bc5ae7c19b64e69e3dceb (patch)
tree8f8d4111c23c39137791ae1a60395614a718d6b0 /drivers
parent8298fd2a9ff2aa235815629932f6fb0201ecf877 (diff)
downloadu-boot-imx-ad8e3bd65766f670007bc5ae7c19b64e69e3dceb.zip
u-boot-imx-ad8e3bd65766f670007bc5ae7c19b64e69e3dceb.tar.gz
u-boot-imx-ad8e3bd65766f670007bc5ae7c19b64e69e3dceb.tar.bz2
sf: winbond: Add support for the Winbond W25X40
The Winbond W25X40 is now being used in the IP02 (and possibly IP04). Tested and working on the actual device.
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mtd/spi/winbond.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/mtd/spi/winbond.c b/drivers/mtd/spi/winbond.c
index 45bd146..a6a6653 100644
--- a/drivers/mtd/spi/winbond.c
+++ b/drivers/mtd/spi/winbond.c
@@ -36,6 +36,14 @@ struct winbond_spi_flash_params {
static const struct winbond_spi_flash_params winbond_spi_flash_table[] = {
{
+ .id = 0x3013,
+ .l2_page_size = 8,
+ .pages_per_sector = 16,
+ .sectors_per_block = 16,
+ .nr_blocks = 8,
+ .name = "W25X40",
+ },
+ {
.id = 0x3015,
.l2_page_size = 8,
.pages_per_sector = 16,