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

/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
/*
 * Copyright © 1999-2010 David Woodhouse <[email protected]>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 *
 */

#ifndef __MTD_NFTL_USER_H__
#define __MTD_NFTL_USER_H__

#include <linux/types.h>

/* Block Control Information */

struct nftl_bci {}__attribute__((packed));

/* Unit Control Information */

struct nftl_uci0 {} __attribute__((packed));

struct nftl_uci1 {} __attribute__((packed));

struct nftl_uci2 {} __attribute__((packed));

nftl_uci;

struct nftl_oob {};

/* NFTL Media Header */

struct NFTLMediaHeader {} __attribute__((packed));

#define MAX_ERASE_ZONES

#define ERASE_MARK
#define SECTOR_FREE
#define SECTOR_USED
#define SECTOR_IGNORE
#define SECTOR_DELETED

#define FOLD_MARK_IN_PROGRESS

#define ZONE_GOOD
#define ZONE_BAD_ORIGINAL
#define ZONE_BAD_MARKED


#endif /* __MTD_NFTL_USER_H__ */