From 5fcef01c3ff49fdbfab008b5956c29a3029175e0 Mon Sep 17 00:00:00 2001 From: Ritul Guru Date: Tue, 24 May 2022 18:46:16 +0530 Subject: [PATCH] drivers/spi: Add Winbond W25Q256JW details Add winbond W25Q256JW chip details. Change-Id: I0dab96701285be95a76cee674f83339bc63d9f82 Signed-off-by: Ritul Guru Reviewed-on: https://review.coreboot.org/c/coreboot/+/64634 Tested-by: build bot (Jenkins) Reviewed-by: Julius Werner --- 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 046ec9e9ab..32bcc79127 100644 --- a/src/drivers/spi/winbond.c +++ b/src/drivers/spi/winbond.c @@ -229,6 +229,15 @@ static const struct spi_flash_part_id flash_table[] = { .protection_granularity_shift = 16, .bp_bits = 4, }, + { + /* W25Q256JW */ + .id[0] = 0x6019, + .nr_sectors_shift = 13, + .fast_read_dual_output_support = 1, + .fast_read_dual_io_support = 1, + .protection_granularity_shift = 16, + .bp_bits = 4, + }, }; /*