diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2016-05-09 08:50:02 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-05-09 08:50:02 +0200 |
commit | 06f5a7c9ad41a78f6e19eca96574bb3c49d058c8 (patch) | |
tree | a9c5a63bf8a3fb778355832bee97cbb9b5e52d10 /include | |
parent | 5c83ce6091f7ec0ea25cd9c1fadbb8f3438fa2e4 (diff) | |
parent | c17e8cf262a16f6038cd6f76f58de031f2317171 (diff) | |
download | barebox-06f5a7c9ad41a78f6e19eca96574bb3c49d058c8.tar.gz barebox-06f5a7c9ad41a78f6e19eca96574bb3c49d058c8.tar.xz |
Merge branch 'for-next/ubiformat'
Diffstat (limited to 'include')
-rw-r--r-- | include/ubiformat.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/include/ubiformat.h b/include/ubiformat.h new file mode 100644 index 0000000000..b195fd8392 --- /dev/null +++ b/include/ubiformat.h @@ -0,0 +1,23 @@ +#ifndef __UBIFORMAT_H +#define __UBIFORMAT_H + +#include <linux/types.h> + +struct ubiformat_args { + unsigned int yes:1; + unsigned int quiet:1; + unsigned int verbose:1; + unsigned int override_ec:1; + unsigned int novtbl:1; + unsigned int manual_subpage; + int subpage_size; + int vid_hdr_offs; + int ubi_ver; + uint32_t image_seq; + long long ec; + const char *image; +}; + +int ubiformat(struct mtd_info *mtd, struct ubiformat_args *args); + +#endif /* __UBIFORMAT_H */ |