summaryrefslogtreecommitdiff
path: root/ubi-utils/include/libubi.h
diff options
context:
space:
mode:
authorViktar Palstsiuk <viktar.palstsiuk@promwad.com>2011-08-20 07:07:37 +0300
committerArtem Bityutskiy <Artem.Bityutskiy@intel.com>2011-08-20 07:07:37 +0300
commit92ed6c0bf6f6793395cdeec5a61ac2059b005056 (patch)
tree8770f62c2b47cba42fd0ef3f62d346c8873bc572 /ubi-utils/include/libubi.h
parentb602ab59b9782003d1179488d8c1580bc8563738 (diff)
mkfs.ubifs/ubinize: increase PEB size limit to 2MiB
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@intel.com>
Diffstat (limited to 'ubi-utils/include/libubi.h')
-rw-r--r--ubi-utils/include/libubi.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ubi-utils/include/libubi.h b/ubi-utils/include/libubi.h
index 03b16ad..02017e8 100644
--- a/ubi-utils/include/libubi.h
+++ b/ubi-utils/include/libubi.h
@@ -35,6 +35,9 @@ extern "C" {
/* UBI version libubi is made for */
#define LIBUBI_UBI_VERSION 1
+/* Maximum physical eraseblock size in bytes */
+#define UBI_MAX_PEB_SZ (2*1024*1024)
+
/* UBI library descriptor */
typedef void * libubi_t;