diff options
author | Varadarajan Narayanan <varada@codeaurora.org> | 2016-03-21 12:56:43 +0530 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2016-05-09 08:30:22 +0200 |
commit | 934c68393346af66fbd832cfb9f74e1db6cb6f4b (patch) | |
tree | e3e70699b8890239ff5ee26f97dc12498ebe9e34 | |
parent | 8e0ffe2088ebc6557bf4e08377605e991d375e06 (diff) |
spi: Add support for Winbond W25Q256
BUG=chrome-os-partner:49249
TEST=None. Initial code not sure if it will even compile
BRANCH=none
Change-Id: Ifde289ec004f5d54d5df32011c87e49470e2bb5d
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 613b5ae45f7b8325863d8be492a451e6d076e293
Original-Change-Id: I93386e058a60b5c9b61d89607cf8c6e0de6a21ca
Original-Signed-off-by: Varadarajan Narayanan <varada@codeaurora.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/334522
Original-Commit-Ready: David Hendricks <dhendrix@chromium.org>
Original-Reviewed-by: David Hendricks <dhendrix@chromium.org>
Reviewed-on: https://review.coreboot.org/14666
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
-rw-r--r-- | src/drivers/spi/winbond.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/drivers/spi/winbond.c b/src/drivers/spi/winbond.c index c4abc3a24a..defb8a5786 100644 --- a/src/drivers/spi/winbond.c +++ b/src/drivers/spi/winbond.c @@ -126,6 +126,14 @@ static const struct winbond_spi_flash_params winbond_spi_flash_table[] = { .nr_blocks = 256, .name = "W25Q128FW", }, + { + .id = 0x4019, + .l2_page_size = 8, + .pages_per_sector = 16, + .sectors_per_block = 16, + .nr_blocks = 512, + .name = "W25Q256", + }, }; static int winbond_write(struct spi_flash *flash, |