drivers/spi: Increase sector number to 14 for Winbond W25Q512NW-IM

Update proper number of sectors info for winbond W25Q512NW-IM chip

BUG=b:182963902
TEST=Validated on qualcomm sc7280 development board

Change-Id: I12a22321bb9180e32cd47faa6ac3960ba5b2dfb8
Signed-off-by: Shaik Sajida Bhanu <sbhanu@codeaurora.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/56038
Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-by: Shelley Chen <shchen@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Shaik Sajida Bhanu 2021-05-30 23:04:47 +05:30 committed by Julius Werner
parent 6eca3b7b81
commit 7ce0236941
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,7 @@ static const struct spi_flash_part_id flash_table[] = {
{ {
/* W25Q512NW-IM */ /* W25Q512NW-IM */
.id[0] = 0x8020, .id[0] = 0x8020,
.nr_sectors_shift = 11, .nr_sectors_shift = 14,
.fast_read_dual_output_support = 1, .fast_read_dual_output_support = 1,
.fast_read_dual_io_support = 1, .fast_read_dual_io_support = 1,
.protection_granularity_shift = 16, .protection_granularity_shift = 16,