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>
This commit is contained in:
parent
8e0ffe2088
commit
934c683933
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue