diff options
author | Shaik Sajida Bhanu <sbhanu@codeaurora.org> | 2021-05-30 23:04:47 +0530 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-06-11 07:33:33 +0000 |
commit | 5ef1a839c795f574ecfe32f6b3aaeb93da880f1e (patch) | |
tree | c5cad802e7d185fe6a2790ccd0c970c64fd5f14e /src | |
parent | ef9136ff253a96d66a9b2348f967045cefb56ac3 (diff) |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/drivers/spi/winbond.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/drivers/spi/winbond.c b/src/drivers/spi/winbond.c index e4151de9ce..9fe0492b75 100644 --- a/src/drivers/spi/winbond.c +++ b/src/drivers/spi/winbond.c @@ -191,6 +191,14 @@ static const struct spi_flash_part_id flash_table[] = { .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, |