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>
This commit is contained in:
Shaik Sajida Bhanu 2021-05-30 23:04:47 +05:30 committed by Patrick Georgi
parent ef9136ff25
commit 5ef1a839c7
1 changed files with 8 additions and 0 deletions

View File

@ -190,6 +190,14 @@ static const struct spi_flash_part_id flash_table[] = {
.protection_granularity_shift = 18, .protection_granularity_shift = 18,
.bp_bits = 3, .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 */ /* W25Q256_V */
.id[0] = 0x4019, .id[0] = 0x4019,