summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@aura-online.co.uk>2011-07-15 06:12:51 +0000
committerGerrit <chrome-bot@google.com>2011-11-17 15:21:08 -0800
commitda7491fc37940f82c15b44b03dfd209502235756 (patch)
tree2a8f9b3d88d24697d734f347b7b5ca6da1840ea4 /drivers
parent804fb2fd41bfbbc95206537c0f673e73938b4497 (diff)
UPSTREAM: 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. (cherry picked from commit ad8e3bd65766f670007bc5ae7c19b64e69e3dceb) Change-Id: I0e395dc6c10086a330d2a32e8f7601afe1a1792d Reviewed-on: https://gerrit.chromium.org/gerrit/11864 Reviewed-by: Taylor Hutt <thutt@chromium.org> Tested-by: Taylor Hutt <thutt@chromium.org> Commit-Ready: Simon Glass <sjg@chromium.org>
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 10bd6c4739..77431e72ad 100644
--- a/drivers/mtd/spi/winbond.c
+++ b/drivers/mtd/spi/winbond.c
@@ -48,6 +48,14 @@ to_winbond_spi_flash(struct spi_flash *flash)
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,