summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/rtdef.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/rtdef.h b/include/rtdef.h
index f2f1266de0..37082f8a76 100644
--- a/include/rtdef.h
+++ b/include/rtdef.h
@@ -647,6 +647,13 @@ struct rt_device
void* private;
};
+struct rt_device_blk_geometry
+{
+ rt_uint32_t sector_count; /* count of sectors */
+ rt_uint32_t bytes_per_sector; /* number of bytes per sector */
+ rt_uint32_t block_size; /* size to erase one block */
+};
+
/*@}*/
#endif