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"
20
21int nandmtd2_write_chunk_tags(struct yaffs_dev *dev, int chunkInNAND,
22 const u8 *data,
23 const struct yaffs_ext_tags *tags);
24int nandmtd2_read_chunk_tags(struct yaffs_dev *dev, int chunkInNAND,
25 u8 *data, struct yaffs_ext_tags *tags);
26int nandmtd2_MarkNANDBlockBad(struct yaffs_dev *dev, int blockNo);
27int nandmtd2_QueryNANDBlock(struct yaffs_dev *dev, int blockNo,
28 enum yaffs_block_state *state, u32 *sequenceNumber);
29
30#endif
31