From 6296fbac6c3ab7b8e8728678505c22879ccf0774 Mon Sep 17 00:00:00 2001 From: Fred Reitberger Date: Thu, 1 Jun 2023 16:05:37 -0400 Subject: [PATCH] drivers/spi/winbond.c: Add W25Q256JW_DTR part BUG=b:285110121 TEST=boot Myst and verify the flash is recognized Change-Id: I30aed5299f87f7cf02fe9a5569edd2b8dcf7b452 Signed-off-by: Fred Reitberger Reviewed-on: https://review.coreboot.org/c/coreboot/+/75587 Tested-by: build bot (Jenkins) Reviewed-by: Jon Murphy Reviewed-by: Martin Roth --- src/drivers/spi/winbond.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/drivers/spi/winbond.c b/src/drivers/spi/winbond.c index 32bcc79127..799262953e 100644 --- a/src/drivers/spi/winbond.c +++ b/src/drivers/spi/winbond.c @@ -238,6 +238,15 @@ static const struct spi_flash_part_id flash_table[] = { .protection_granularity_shift = 16, .bp_bits = 4, }, + { + /* W25Q256JW_DTR */ + .id[0] = 0x8019, + .nr_sectors_shift = 13, + .fast_read_dual_output_support = 1, + .fast_read_dual_io_support = 1, + .protection_granularity_shift = 16, + .bp_bits = 4, + }, }; /*