From bdae9bedcdf5650abee089564c47ecbf2ba70f79 Mon Sep 17 00:00:00 2001 From: Mohan D'Costa Date: Thu, 25 Sep 2014 14:40:44 +0900 Subject: spi: Add support for Winbond W25Q128FW The W25Q128FW spi part is programatically equivalent to the other W25Q128 parts except it operates at 1.8V. Just add a new entry with the appropriate ID. Tested on a modified MinnowMax Board. Change-Id: Id6a426418a7f785a9d959b02a9e3d2ffc421804f Signed-off-by: Mohan D'Costa Reviewed-on: http://review.coreboot.org/6971 Reviewed-by: Paul Menzel Reviewed-by: Martin Roth 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 37fd0e5112..0c94c6f345 100644 --- a/src/drivers/spi/winbond.c +++ b/src/drivers/spi/winbond.c @@ -110,6 +110,14 @@ static const struct winbond_spi_flash_params winbond_spi_flash_table[] = { .nr_blocks = 256, .name = "W25Q128", }, + { + .id = 0x6018, + .l2_page_size = 8, + .pages_per_sector = 16, + .sectors_per_block = 16, + .nr_blocks = 256, + .name = "W25Q128FW", + }, }; static int winbond_write(struct spi_flash *flash, -- cgit v1.2.3