summaryrefslogtreecommitdiff
path: root/ubi-utils/src/libubi_int.h
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2007-12-26 15:12:26 +0200
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2007-12-26 16:23:04 +0200
commit9ba41c4dc891e38c92126bfcc4c366d765841da0 (patch)
tree5d095e949421d86dc2e2df83245405bbf7c84945 /ubi-utils/src/libubi_int.h
parent126341588c5e9d9077e31c4a5f550c83b2e3e93d (diff)
ubi-utils: add ubiattach and ubidetach
Add 2 new utilities to attach and detach UBI devices. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'ubi-utils/src/libubi_int.h')
-rw-r--r--ubi-utils/src/libubi_int.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ubi-utils/src/libubi_int.h b/ubi-utils/src/libubi_int.h
index 4c26eb5..6490864 100644
--- a/ubi-utils/src/libubi_int.h
+++ b/ubi-utils/src/libubi_int.h
@@ -58,6 +58,7 @@ extern "C" {
#define DEV_MAX_RSVD "reserved_for_bad"
#define DEV_MAX_VOLS "max_vol_count"
#define DEV_MIN_IO_SIZE "min_io_size"
+#define DEV_MTD_NUM "mtd_num"
#define UBI_VOL_NAME_PATT "ubi%d_%d"
#define VOL_TYPE "type"
@@ -114,6 +115,7 @@ struct libubi
char *dev_bad_rsvd;
char *dev_max_vols;
char *dev_min_io_size;
+ char *dev_mtd_num;
char *ubi_vol;
char *vol_type;
char *vol_dev;