24 lines
453 B
C
24 lines
453 B
C
#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 */
|