summaryrefslogtreecommitdiff
path: root/include/arch/x86_64/mtd
diff options
context:
space:
mode:
authorKacper <kacper@mail.openlinux.dev>2025-12-09 19:20:15 +0100
committerKacper <kacper@mail.openlinux.dev>2025-12-09 19:20:15 +0100
commit885f5974cdf65b59415837ae97f5a14ef1350670 (patch)
tree66ac13de29c7f4932c5fcae11773df574e4e256a /include/arch/x86_64/mtd
parent8f9e448b2ef6db7cd905540c21f3c5b190e7a1e7 (diff)
feat: add gzip and new headers
Diffstat (limited to 'include/arch/x86_64/mtd')
-rw-r--r--include/arch/x86_64/mtd/mtd-abi.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/include/arch/x86_64/mtd/mtd-abi.h b/include/arch/x86_64/mtd/mtd-abi.h
index dc98d120..a239dac9 100644
--- a/include/arch/x86_64/mtd/mtd-abi.h
+++ b/include/arch/x86_64/mtd/mtd-abi.h
@@ -147,12 +147,13 @@ struct mtd_read_req {
#define MTD_UBIVOLUME 7
#define MTD_MLCNANDFLASH 8 /* MLC NAND (including TLC) */
-#define MTD_WRITEABLE 0x400 /* Device is writeable */
-#define MTD_BIT_WRITEABLE 0x800 /* Single bits can be flipped */
-#define MTD_NO_ERASE 0x1000 /* No erase necessary */
-#define MTD_POWERUP_LOCK 0x2000 /* Always locked after reset */
-#define MTD_SLC_ON_MLC_EMULATION 0x4000 /* Emulate SLC behavior on MLC NANDs \
- */
+#define MTD_WRITEABLE 0x400 /* Device is writeable */
+#define MTD_BIT_WRITEABLE 0x800 /* Single bits can be flipped */
+#define MTD_NO_ERASE 0x1000 /* No erase necessary */
+#define MTD_POWERUP_LOCK 0x2000 /* Always locked after reset */
+#define MTD_SLC_ON_MLC_EMULATION \
+ 0x4000 /* Emulate SLC behavior on MLC NANDs \
+ */
/* Some common devices / combinations of capabilities */
#define MTD_CAP_ROM 0