summaryrefslogtreecommitdiff
path: root/yaffs_mtdif2.h
diff options
context:
space:
mode:
authorcharles <charles>2004-12-17 04:39:04 +0000
committercharles <charles>2004-12-17 04:39:04 +0000
commit37fd9ec3587b5c4d497a7682522a9adfab682e51 (patch)
tree75762aeb55cea32b8e2dcdc8f34708e54ef5bffd /yaffs_mtdif2.h
parentf216bcabdaf791aa93ad2e58c1d747d2d8bd6617 (diff)
*** empty log message ***
Diffstat (limited to 'yaffs_mtdif2.h')
-rw-r--r--yaffs_mtdif2.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/yaffs_mtdif2.h b/yaffs_mtdif2.h
new file mode 100644
index 0000000..5b308ee
--- /dev/null
+++ b/yaffs_mtdif2.h
@@ -0,0 +1,27 @@
+/*
+ * YAFFS: Yet another FFS. A NAND-flash specific file system.
+ * yaffs_mtdif.c NAND mtd wrapper functions.
+ *
+ * Copyright (C) 2002 Aleph One Ltd.
+ * for Toby Churchill Ltd and Brightstar Engineering
+ *
+ * Created by Charles Manning <charles@aleph1.co.uk>
+ *
+ * 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.
+ *
+ */
+
+
+#ifndef __YAFFS_MTDIF2_H__
+#define __YAFFS_MTDIF2_H__
+
+
+#include "yaffs_guts.h"
+int nandmtd2_WriteChunkWithTagsToNAND(yaffs_Device *dev,int chunkInNAND,const __u8 *data, const yaffs_ExtendedTags *tags);
+int nandmtd2_ReadChunkWithTagsFromNAND(yaffs_Device *dev,int chunkInNAND, __u8 *data, yaffs_ExtendedTags *tags);
+int nandmtd2_MarkNANDBlockBad(struct yaffs_DeviceStruct *dev, int blockNo);
+int nandmtd2_QueryNANDBlock(struct yaffs_DeviceStruct *dev, int blockNo, yaffs_BlockState *state, int *sequenceNumber);
+
+#endif