1 Star 0 Fork 2

hanna_lee/yaffs2utils

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
mtd-abi.h 1.21 KB
一键复制 编辑 原始数据 按行查看 历史
Luen-Yung Lin 提交于 2012-06-27 05:08 . * global:
/*
* yaffs2utils: Utilities to make/extract a YAFFS2/YAFFS1 image.
* Copyright (C) 2010-2011 Luen-Yung Lin <penguin.lin@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* 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 Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef __YAFFS2UTILS_MTD_ABI_H__
#define __YAFFS2UTILS_MTD_ABI_H__
#define MTD_MAX_OOBFREE_ENTRIES 8
struct nand_oobfree {
unsigned offset;
unsigned length;
};
struct nand_ecclayout_user {
unsigned eccbytes;
unsigned eccpos[64];
unsigned oobavail;
struct nand_oobfree oobfree[MTD_MAX_OOBFREE_ENTRIES];
};
#define ECCGETLAYOUT _IOR('M', 17, struct nand_ecclayout_user)
typedef struct nand_ecclayout_user nand_ecclayout_t;
#endif
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/LIJIN0088/yaffs2utils.git
git@gitee.com:LIJIN0088/yaffs2utils.git
LIJIN0088
yaffs2utils
yaffs2utils
master

搜索帮助