aboutsummaryrefslogtreecommitdiff
path: root/include/libubi.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libubi.h')
-rw-r--r--include/libubi.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/libubi.h b/include/libubi.h
index 46c732a..e1e234e 100644
--- a/include/libubi.h
+++ b/include/libubi.h
@@ -25,6 +25,7 @@
#include <ctype.h>
#include <stdint.h>
+#include <stdbool.h>
#include <mtd/ubi-user.h>
#ifdef __cplusplus
@@ -53,6 +54,8 @@ typedef void * libubi_t;
* @vid_hdr_offset: VID header offset (%0 means default offset and this is what
* most of the users want)
* @max_beb_per1024: Maximum expected bad eraseblocks per 1024 eraseblocks
+ * @disable_fm: whether disable fastmap
+ * @need_resv_pool: whether reserve free pebs for filling pool/wl_pool
*/
struct ubi_attach_request
{
@@ -61,6 +64,8 @@ struct ubi_attach_request
const char *mtd_dev_node;
int vid_hdr_offset;
int max_beb_per1024;
+ bool disable_fm;
+ bool need_resv_pool;
};
/**