summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFred Reitberger <reitbergerfred@gmail.com>2023-06-01 16:05:37 -0400
committerMartin L Roth <gaumless@gmail.com>2023-06-06 21:14:42 +0000
commit6296fbac6c3ab7b8e8728678505c22879ccf0774 (patch)
treefacdd001cd640997796e55567593431c1135e2c4 /src
parent5f5c721dde57620e54c6aa22fe990cabfc01a65e (diff)
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 <reitbergerfred@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/75587 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Jon Murphy <jpmurphy@google.com> Reviewed-by: Martin Roth <martin.roth@amd.corp-partner.google.com>
Diffstat (limited to 'src')
-rw-r--r--src/drivers/spi/winbond.c9
1 files changed, 9 insertions, 0 deletions
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,
+ },
};
/*