summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2013-09-19 12:19:51 -0500
committerAaron Durbin <adurbin@google.com>2014-01-28 22:24:06 +0100
commit16000c883ee121b82b943c613ab1ae6a5ed7e01c (patch)
treea7411cba63b58fcb9a484688ee0e503d579c4888 /src/drivers
parentbf18b17cf3dc5957de0356a82bffd395504447fc (diff)
downloadcoreboot-16000c883ee121b82b943c613ab1ae6a5ed7e01c.tar.xz
spi: Add support for Winbod W25Q64DW
The W25Q64DW spi part is programatically equivalent to the other W25Q64 parts except it operates at 1.8V. Just add a new entry with the appropriate ID. BUG=chrome-os-partner:22292 BRANCH=None TEST=SPI controller can program the part. Change-Id: I65b0261223a9fefcb07477a43b6a3edb8228dd03 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/170011 Reviewed-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-on: http://review.coreboot.org/5077 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@google.com>
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/spi/winbond.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/drivers/spi/winbond.c b/src/drivers/spi/winbond.c
index c44afea832..52c7b61245 100644
--- a/src/drivers/spi/winbond.c
+++ b/src/drivers/spi/winbond.c
@@ -94,6 +94,14 @@ static const struct winbond_spi_flash_params winbond_spi_flash_table[] = {
.name = "W25Q64",
},
{
+ .id = 0x6017,
+ .l2_page_size = 8,
+ .pages_per_sector = 16,
+ .sectors_per_block = 16,
+ .nr_blocks = 128,
+ .name = "W25Q64DW",
+ },
+ {
.id = 0x4018,
.l2_page_size = 8,
.pages_per_sector = 16,