summaryrefslogtreecommitdiff
path: root/src/drivers/spi/winbond.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/spi/winbond.c')
-rw-r--r--src/drivers/spi/winbond.c2
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,