From 35f03f4f4f21c470d172ce7cce257517b959346d Mon Sep 17 00:00:00 2001 From: David Hendricks Date: Fri, 21 Mar 2014 19:45:02 -0700 Subject: [PATCH] spi: Add W25Q32DW 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 Change-Id: I697768a443c98515d893f9cf8f8b4258ae0f159d Reviewed-on: https://chromium-review.googlesource.com/191205 Tested-by: David Hendricks Reviewed-by: Gabe Black Commit-Queue: David Hendricks --- 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 52c7b61245..1ae0dba0f9 100644 --- a/src/drivers/spi/winbond.c +++ b/src/drivers/spi/winbond.c @@ -85,6 +85,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,