spi: Add Winbond W25Q128JW_DTR SPI ROM support

BUG=b:144297264
TEST=Boot with W25Q128JW_DTR and check MRC data save/restore works.

Signed-off-by: Peichao Wang <peichao.wang@bitland.corp-partner.google.com>
Change-Id: Ica6344556e5de94555b95dd7c6df5600614811e2
Reviewed-on: https://review.coreboot.org/c/coreboot/+/36762
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
This commit is contained in:
Peichao Wang 2019-11-12 08:36:53 +08:00 committed by Patrick Georgi
parent ead8a07cee
commit 0d92271d2c
1 changed files with 11 additions and 0 deletions

View File

@ -261,6 +261,17 @@ static const struct winbond_spi_flash_params winbond_spi_flash_table[] = {
.protection_granularity_shift = 18,
.bp_bits = 3,
},
{
.id = 0x8018,
.l2_page_size_shift = 8,
.pages_per_sector_shift = 4,
.sectors_per_block_shift = 4,
.nr_blocks_shift = 8,
.name = "W25Q128JW",
.dual_spi = 1,
.protection_granularity_shift = 18,
.bp_bits = 3,
},
{
.id = 0x4019,
.l2_page_size_shift = 8,