xiaoxiang781216 commented on a change in pull request #4248:
URL: https://github.com/apache/incubator-nuttx/pull/4248#discussion_r685406503



##########
File path: include/nuttx/mtd/mtd.h
##########
@@ -74,6 +74,12 @@
 #define MTDIOC_ERASESTATE _MTDIOC(0x000a) /* IN:  Pointer to uint8_t
                                            * OUT: Byte value that represents 
the
                                            *      erased state of the MTD cell 
*/
+#define MTDIOC_PARTINFO   _MTDIOC(0x000b) /* IN:  Pointer to write-able struct

Review comment:
       Should we add BIOC_PARTINFO in this PR? I would prefer the userspace 
program use BIOC_PARTINFO instead MTDIOC_PARTINFO since this make the program 
work with both block and mtd device.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to