📄 nand_yaffs.c
字号:
/* * 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -