mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08: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:
committed by
Gustavo Henrique Nihei
parent
2a7b97c0cd
commit
2e49e1bc5c
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user