summaryrefslogtreecommitdiff
path: root/include/uapi/linux/switchtec_ioctl.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/uapi/linux/switchtec_ioctl.h')
-rw-r--r--include/uapi/linux/switchtec_ioctl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/uapi/linux/switchtec_ioctl.h b/include/uapi/linux/switchtec_ioctl.h
index 3e824e1a6495..5e392968bad2 100644
--- a/include/uapi/linux/switchtec_ioctl.h
+++ b/include/uapi/linux/switchtec_ioctl.h
@@ -39,6 +39,9 @@ struct switchtec_ioctl_flash_info {
__u32 padding;
};
+#define SWITCHTEC_IOCTL_PART_ACTIVE 1
+#define SWITCHTEC_IOCTL_PART_RUNNING 2
+
struct switchtec_ioctl_flash_part_info {
__u32 flash_partition;
__u32 address;