drivers: mtd: w25qxxxjv.c : W25Q256's sector count is 8192

This commit is contained in:
Alexander Vasiljev 2021-01-29 12:30:39 +03:00 committed by Xiang Xiao
parent 585884fde9
commit 96cbd1d8a1

View File

@ -256,7 +256,7 @@
#define W25Q256_SECTOR_SIZE (4 * 1024) #define W25Q256_SECTOR_SIZE (4 * 1024)
#define W25Q256_SECTOR_SHIFT (12) #define W25Q256_SECTOR_SHIFT (12)
#define W25Q256_SECTOR_COUNT (8196) #define W25Q256_SECTOR_COUNT (8192)
#define W25Q256_PAGE_SIZE (256) #define W25Q256_PAGE_SIZE (256)
#define W25Q256_PAGE_SHIFT (8) #define W25Q256_PAGE_SHIFT (8)