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)