From 92ed6c0bf6f6793395cdeec5a61ac2059b005056 Mon Sep 17 00:00:00 2001 From: Viktar Palstsiuk Date: Sat, 20 Aug 2011 07:07:37 +0300 Subject: mkfs.ubifs/ubinize: increase PEB size limit to 2MiB Signed-off-by: Artem Bityutskiy --- ubi-utils/include/libubi.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ubi-utils/include') 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; -- cgit v1.2.3