summaryrefslogtreecommitdiff
path: root/extmod/vfs.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2019-10-29 12:29:56 +1100
committerDamien George <damien.p.george@gmail.com>2019-10-29 14:17:29 +1100
commit4cf054a130e90bec19399ef2b8181d434dd22d8e (patch)
treee638ee94aa41e7112fe8e445ac685523bfcf310f /extmod/vfs.h
parentcfe1c5abf884027eb0a5792d5a980fee8757051a (diff)
extmod/vfs: Add MP_BLOCKDEV_IOCTL_BLOCK_ERASE constant.
Diffstat (limited to 'extmod/vfs.h')
-rw-r--r--extmod/vfs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/extmod/vfs.h b/extmod/vfs.h
index 15bd2a5f5..004b002f5 100644
--- a/extmod/vfs.h
+++ b/extmod/vfs.h
@@ -50,6 +50,7 @@
#define MP_BLOCKDEV_IOCTL_SYNC (3)
#define MP_BLOCKDEV_IOCTL_BLOCK_COUNT (4)
#define MP_BLOCKDEV_IOCTL_BLOCK_SIZE (5)
+#define MP_BLOCKDEV_IOCTL_BLOCK_ERASE (6)
// At the moment the VFS protocol just has import_stat, but could be extended to other methods
typedef struct _mp_vfs_proto_t {