From 96cbd1d8a161bf5d0d6f089cbf1da4a63db5987c Mon Sep 17 00:00:00 2001 From: Alexander Vasiljev Date: Fri, 29 Jan 2021 12:30:39 +0300 Subject: [PATCH] drivers: mtd: w25qxxxjv.c : W25Q256's sector count is 8192 --- drivers/mtd/w25qxxxjv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/w25qxxxjv.c b/drivers/mtd/w25qxxxjv.c index 8cfe51d20b..51c9d7f66a 100644 --- a/drivers/mtd/w25qxxxjv.c +++ b/drivers/mtd/w25qxxxjv.c @@ -256,7 +256,7 @@ #define W25Q256_SECTOR_SIZE (4 * 1024) #define W25Q256_SECTOR_SHIFT (12) -#define W25Q256_SECTOR_COUNT (8196) +#define W25Q256_SECTOR_COUNT (8192) #define W25Q256_PAGE_SIZE (256) #define W25Q256_PAGE_SHIFT (8)