diff options
author | Shaik Sajida Bhanu <sbhanu@codeaurora.org> | 2021-05-30 23:04:47 +0530 |
---|---|---|
committer | Julius Werner <jwerner@chromium.org> | 2021-07-22 17:21:29 +0000 |
commit | 7ce0236941df5729fd9cf64c58adeec3657b2815 (patch) | |
tree | 94c7cf6c8290431e4e75093ac85b06211a0cbecc | |
parent | 6eca3b7b81bdc17efd6413d7ba8ab5fe38b069ce (diff) |
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>
-rw-r--r-- | src/drivers/spi/winbond.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/spi/winbond.c b/src/drivers/spi/winbond.c index 8f93e3be92..046ec9e9ab 100644 --- a/src/drivers/spi/winbond.c +++ b/src/drivers/spi/winbond.c @@ -205,7 +205,7 @@ static const struct spi_flash_part_id flash_table[] = { { /* W25Q512NW-IM */ .id[0] = 0x8020, - .nr_sectors_shift = 11, + .nr_sectors_shift = 14, .fast_read_dual_output_support = 1, .fast_read_dual_io_support = 1, .protection_granularity_shift = 16, |