From 43e925252ab0df6539c993557cb1526ae2337cd1 Mon Sep 17 00:00:00 2001 From: David Hendricks Date: Fri, 21 Mar 2014 19:45:02 -0700 Subject: spi: Add support for Winbond W25Q32DW MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Similar to the W25Q64DW, the W25Q32DW has basically the same attributes as the earlier W25Q32 parts but with a different value in the MSB of the ID. BUG=none BRANCH=none TEST=tested on nyan, now SPI flash commands actually work. Signed-off-by: David Hendricks Original-Change-Id: I697768a443c98515d893f9cf8f8b4258ae0f159d Original-Reviewed-on: https://chromium-review.googlesource.com/191205 Original-Tested-by: David Hendricks Original-Reviewed-by: Gabe Black Original-Commit-Queue: David Hendricks (cherry picked from commit 35f03f4f4f21c470d172ce7cce257517b959346d) Signed-off-by: Marc Jones Change-Id: I73606737835e4f8ea00d2c331ca37957e4abd953 Reviewed-on: http://review.coreboot.org/7755 Reviewed-by: Kyösti Mälkki Reviewed-by: Paul Menzel Reviewed-by: Edward O'Callaghan Reviewed-by: Stefan Reinauer Tested-by: build bot (Jenkins) --- src/drivers/spi/winbond.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/drivers/spi/winbond.c b/src/drivers/spi/winbond.c index 0c94c6f345..907e52d12e 100644 --- a/src/drivers/spi/winbond.c +++ b/src/drivers/spi/winbond.c @@ -86,6 +86,14 @@ static const struct winbond_spi_flash_params winbond_spi_flash_table[] = { .nr_blocks = 64, .name = "W25Q32", }, + { + .id = 0x6016, + .l2_page_size = 8, + .pages_per_sector = 16, + .sectors_per_block = 16, + .nr_blocks = 64, + .name = "W25Q32DW", + }, { .id = 0x4017, .l2_page_size = 8, -- cgit v1.2.3