mirror of
https://github.com/apache/nuttx.git
synced 2026-10-19 12:48:48 +00:00
mtd: Add MTDIOC_FLUSH IOCTL like MTDIOC_XIPBASE
since the old design reuse BIOC_FLUSH for MTD device which make some confusion Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
2a7b97c0cd
commit
2e49e1bc5c
4 changed files with 13 additions and 6 deletions
|
|
@ -68,6 +68,9 @@
|
|||
* OUT: None */
|
||||
#define MTDIOC_ECCSTATUS _MTDIOC(0x0008) /* IN: Pointer to uint8_t
|
||||
* OUT: ECC status */
|
||||
#define MTDIOC_FLUSH _MTDIOC(0x0009) /* IN: None
|
||||
* OUT: None (ioctl return value provides
|
||||
* success/failure indication). */
|
||||
|
||||
/* Macros to hide implementation */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue