summaryrefslogtreecommitdiff
path: root/ubi-utils/include/libubigen.h
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-01-24 13:17:24 +0200
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-01-24 13:17:24 +0200
commit6b424c2dd3576e0938762365411f75042e41b6b8 (patch)
tree078f4bea056e869b085db87fea632bdc92cbe726 /ubi-utils/include/libubigen.h
parent7c3f709388d1fcecad658d4166a4b16845fc4451 (diff)
ubinize: add autoresize flag support
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'ubi-utils/include/libubigen.h')
-rw-r--r--ubi-utils/include/libubigen.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ubi-utils/include/libubigen.h b/ubi-utils/include/libubigen.h
index 66f5fb1..f5c7616 100644
--- a/ubi-utils/include/libubigen.h
+++ b/ubi-utils/include/libubigen.h
@@ -25,6 +25,7 @@
#ifndef __LIBUBIGEN_H__
#define __LIBUBIGEN_H__
+#include <stdint.h>
#include <stdio.h>
#include <asm/byteorder.h>
@@ -73,6 +74,7 @@ struct ubigen_info
* for static volumes only)
* @bytes: size of the volume contents in bytes (relevant for static volumes
* only)
+ * @flags: volume flags (%UBI_VTBL_AUTORESIZE_FLG)
*/
struct ubigen_vol_info
{
@@ -86,6 +88,7 @@ struct ubigen_vol_info
int compat;
int used_ebs;
long long bytes;
+ uint8_t flags;
};
void ubigen_info_init(struct ubigen_info *ui, int peb_size, int min_io_size,