From 16000c883ee121b82b943c613ab1ae6a5ed7e01c Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Thu, 19 Sep 2013 12:19:51 -0500 Subject: 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 Reviewed-on: https://chromium-review.googlesource.com/170011 Reviewed-by: Duncan Laurie Reviewed-on: http://review.coreboot.org/5077 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/drivers/spi/winbond.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/drivers/spi') 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 @@ -93,6 +93,14 @@ static const struct winbond_spi_flash_params winbond_spi_flash_table[] = { .nr_blocks = 128, .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, -- cgit v1.2.3