summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMohan D'Costa <mohan@ndr.co.jp>2014-09-25 14:40:44 +0900
committerMartin Roth <gaumless@gmail.com>2014-09-29 19:34:53 +0200
commitbdae9bedcdf5650abee089564c47ecbf2ba70f79 (patch)
tree2301eb84aad80ca13df04ffc30b76172b2ce2e18 /src
parent02b5a74d6cf7f0b5132b13363847098414eea9cf (diff)
downloadcoreboot-bdae9bedcdf5650abee089564c47ecbf2ba70f79.tar.xz
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 <mohan@ndr.co.jp> Reviewed-on: http://review.coreboot.org/6971 Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Martin Roth <gaumless@gmail.com> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src')
-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 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,