drivers/mtd/mtd_config.c: enlarge the limits of blocksize in struct mtdconfig_struct_s
This commit is contained in:
parent
63aa11ca11
commit
6166dd5833
@ -77,8 +77,8 @@ struct mtdconfig_struct_s
|
||||
{
|
||||
FAR struct mtd_dev_s *mtd; /* Contained MTD interface */
|
||||
sem_t exclsem; /* Supports mutual exclusion */
|
||||
uint32_t blocksize :14; /* Size of blocks in contained MTD */
|
||||
uint32_t erasesize :18; /* Size of erase block in contained MTD */
|
||||
uint32_t blocksize; /* Size of blocks in contained MTD */
|
||||
uint32_t erasesize; /* Size of erase block in contained MTD */
|
||||
size_t nblocks; /* Number of blocks available */
|
||||
size_t neraseblocks; /* Number of erase blocks available */
|
||||
off_t readoff; /* Read offset (for hexdump) */
|
||||
|
Loading…
Reference in New Issue
Block a user