drivers/spi: Add winbond chip details
Added winbond W25Q512NW chip details.
Change-Id: I5545c9431891f7fa74c1527591fb7c3cd3aba687
Signed-off-by: Shaik Sajida Bhanu <sbhanu@codeaurora.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55375
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Shelley Chen <shchen@google.com>
diff --git a/src/drivers/spi/winbond.c b/src/drivers/spi/winbond.c
index e4151de..9fe0492 100644
--- a/src/drivers/spi/winbond.c
+++ b/src/drivers/spi/winbond.c
@@ -191,6 +191,14 @@
.bp_bits = 3,
},
{
+ /* W25Q512NW-IM */
+ .id[0] = 0x8020,
+ .nr_sectors_shift = 11,
+ .fast_read_dual_output_support = 1,
+ .protection_granularity_shift = 16,
+ .bp_bits = 4,
+ },
+ {
/* W25Q256_V */
.id[0] = 0x4019,
.nr_sectors_shift = 13,