From 5ef1a839c795f574ecfe32f6b3aaeb93da880f1e Mon Sep 17 00:00:00 2001 From: Shaik Sajida Bhanu Date: Sun, 30 May 2021 23:04:47 +0530 Subject: [PATCH] drivers/spi: Add winbond chip details Added winbond W25Q512NW chip details. Change-Id: I5545c9431891f7fa74c1527591fb7c3cd3aba687 Signed-off-by: Shaik Sajida Bhanu Reviewed-on: https://review.coreboot.org/c/coreboot/+/55375 Tested-by: build bot (Jenkins) Reviewed-by: Shelley Chen --- src/drivers/spi/winbond.c | 8 ++++++++ 1 file changed, 8 insertions(+) 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 @@ -190,6 +190,14 @@ static const struct spi_flash_part_id flash_table[] = { .protection_granularity_shift = 18, .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,