aboutsummaryrefslogtreecommitdiff
path: root/original/uapi/mtd
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2021-07-01 01:00:12 +0000
committerChristopher Ferris <cferris@google.com>2021-07-01 01:00:12 +0000
commit593d772550f0e614f594656146fc02f8ba128bea (patch)
tree69c40e054bc96a905419c2f857748e790c95727c /original/uapi/mtd
parent0ac04c2374826fccde29bec0789daffe7ba348c3 (diff)
downloadkernel-headers-593d772550f0e614f594656146fc02f8ba128bea.tar.gz
Update to v5.13 kernel headers.
Kernel headers coming from: Git: https://android.googlesource.com/kernel/common/ Branch: android-mainline Tag: android-mainline-5.13 Test: NA Change-Id: I270de6abe42c647c8ea039143255277b5c25b991
Diffstat (limited to 'original/uapi/mtd')
-rw-r--r--original/uapi/mtd/mtd-abi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/original/uapi/mtd/mtd-abi.h b/original/uapi/mtd/mtd-abi.h
index 65b9db9..b869990 100644
--- a/original/uapi/mtd/mtd-abi.h
+++ b/original/uapi/mtd/mtd-abi.h
@@ -205,6 +205,8 @@ struct otp_info {
* without OOB, e.g., NOR flash.
*/
#define MEMWRITE _IOWR('M', 24, struct mtd_write_req)
+/* Erase a given range of user data (must be in mode %MTD_FILE_MODE_OTP_USER) */
+#define OTPERASE _IOW('M', 25, struct otp_info)
/*
* Obsolete legacy interface. Keep it in order not to break userspace