mtd: Add MTDIOC_ERASESTATE command for retrieving erase state value
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
This commit is contained in:
parent
b10905015a
commit
30cb497fe1
|
@ -71,6 +71,9 @@
|
|||
#define MTDIOC_FLUSH _MTDIOC(0x0009) /* IN: None
|
||||
* OUT: None (ioctl return value provides
|
||||
* success/failure indication). */
|
||||
#define MTDIOC_ERASESTATE _MTDIOC(0x000a) /* IN: Pointer to uint8_t
|
||||
* OUT: Byte value that represents the
|
||||
* erased state of the MTD cell */
|
||||
|
||||
/* Macros to hide implementation */
|
||||
|
||||
|
|
Loading…
Reference in New Issue