summaryrefslogtreecommitdiff
path: root/mkfs.ubifs/ubifs.h
diff options
context:
space:
mode:
Diffstat (limited to 'mkfs.ubifs/ubifs.h')
-rw-r--r--mkfs.ubifs/ubifs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/mkfs.ubifs/ubifs.h b/mkfs.ubifs/ubifs.h
index f94a52c..434b651 100644
--- a/mkfs.ubifs/ubifs.h
+++ b/mkfs.ubifs/ubifs.h
@@ -25,6 +25,9 @@
#ifndef __UBIFS_H__
#define __UBIFS_H__
+/* Maximum logical eraseblock size in bytes */
+#define UBIFS_MAX_LEB_SZ (2*1024*1024)
+
/* Minimum amount of data UBIFS writes to the flash */
#define MIN_WRITE_SZ (UBIFS_DATA_NODE_SZ + 8)