nand_yaffs.c

来自「使用Linux ARM GCC编译器来编译」· C语言 代码 · 共 32 行

C
32
字号
/* * vivi/drivers/mtd/nand/nand_yaffs.c  * * Based on vivi/util/imagewrite * * $Id: bon.c,v 1.1.1.1 2004/02/04 06:22:25 laputa Exp $ * * 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. * * Description: Simple management routines for the yaffs file system. * */#include <config.h>#include <mtd/mtd.h>#include <mtd/nand_ecc.h>#include <printk.h>#include <errno.h>#include <heap.h>#include <string.h>#include <command.h>#include <ctype.h>//extern struct mtd_info *mymtd;#define MAX_PART		5#define MAX_RETRY		5#define PARTITION_OFFSET	(~0)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?