mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 06:42:32 +08:00
fs: Add model field to geometry and mtd_geometry_s
the model is very useful to track the device info Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Gustavo Henrique Nihei
parent
30aa0ee700
commit
9f027208d4
@@ -556,6 +556,8 @@ static int imxrt_flexspi_nor_ioctl(struct mtd_dev_s *dev,
|
||||
|
||||
if (geo)
|
||||
{
|
||||
memset(geo, 0, sizeof(*geo));
|
||||
|
||||
/* Populate the geometry structure with information need to
|
||||
* know the capacity and how to access the device.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user