1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16#ifndef __YAFFS_MTDIF2_H__
17#define __YAFFS_MTDIF2_H__
18
19#include "yaffs_guts.h"
20int nandmtd2_WriteChunkWithTagsToNAND(yaffs_Device * dev, int chunkInNAND,
21 const __u8 * data,
22 const yaffs_ExtendedTags * tags);
23int nandmtd2_ReadChunkWithTagsFromNAND(yaffs_Device * dev, int chunkInNAND,
24 __u8 * data, yaffs_ExtendedTags * tags);
25int nandmtd2_MarkNANDBlockBad(struct yaffs_DeviceStruct *dev, int blockNo);
26int nandmtd2_QueryNANDBlock(struct yaffs_DeviceStruct *dev, int blockNo,
27 yaffs_BlockState * state, int *sequenceNumber);
28
29#endif
30