From c7e7bda830f3b99137164f432526ff48334d5eb9 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 9 Mar 2016 07:42:34 -0600 Subject: [PATCH] MTD struct mtd_geometry_s: Increase the size of blocksize again. Yes, there are devices with block size greater than 64KB. --- include/nuttx/mtd/mtd.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/nuttx/mtd/mtd.h b/include/nuttx/mtd/mtd.h index f17b7d3b70..c8a34052c8 100644 --- a/include/nuttx/mtd/mtd.h +++ b/include/nuttx/mtd/mtd.h @@ -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 */