MTD struct mtd_geometry_s: Increase the size of blocksize again. Yes, there are devices with block size greater than 64KB.

This commit is contained in:
Gregory Nutt 2016-03-09 07:42:34 -06:00
parent fde277a388
commit c7e7bda830
1 changed files with 1 additions and 2 deletions

View File

@ -114,8 +114,7 @@
struct mtd_geometry_s
{
uint16_t blocksize; /* Size of one read/write block. */
/* Probably 16-bits wasted here for alignment */
uint32_t blocksize; /* Size of one read/write block. */
uint32_t erasesize; /* Size of one erase blocks -- must be a multiple
* of blocksize.*/
uint32_t neraseblocks; /* Number of erase blocks */