linux/include/uapi/mtd/inftl-user.h

/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
/*
 * Parts of INFTL headers shared with userspace
 *
 */

#ifndef __MTD_INFTL_USER_H__
#define __MTD_INFTL_USER_H__

#include <linux/types.h>

#define OSAK_VERSION
#define PERCENTUSED

#define SECTORSIZE

/* Block Control Information */

struct inftl_bci {} __attribute__((packed));

struct inftl_unithead1 {} __attribute__((packed));

struct inftl_unithead2 {} __attribute__((packed));

struct inftl_unittail {} __attribute__((packed));

inftl_uci;

struct inftl_oob {};


/* INFTL Media Header */

struct INFTLPartition {} __attribute__((packed));

struct INFTLMediaHeader {} __attribute__((packed));

/* Partition flag types */
#define INFTL_BINARY
#define INFTL_BDTL
#define INFTL_LAST

#endif /* __MTD_INFTL_USER_H__ */