mirror of
https://github.com/apache/nuttx.git
synced 2026-09-21 13:25:12 +08:00
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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user