projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
yaffs fixing some bugs with basic-tests
[yaffs2.git]
/
yaffs_nand.h
diff --git
a/yaffs_nand.h
b/yaffs_nand.h
index 21e85c4c131767c555e2bb93c9cd4091a254d086..24cd147af82b8bb94e561a4a79ebeeeec67e518d 100644
(file)
--- a/
yaffs_nand.h
+++ b/
yaffs_nand.h
@@
-1,15
+1,16
@@
/*
/*
- * YAFFS: Yet another F
FS. A NAND-flash specific file system.
+ * YAFFS: Yet another F
lash File System . A NAND-flash specific file system.
*
*
- * Copyright (C) 2002 Aleph One Ltd.
+ * Copyright (C) 2002
-2010
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
* 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
+ * it under the terms of the GNU
Lesser General Public License version 2.1
as
* published by the Free Software Foundation.
*
* published by the Free Software Foundation.
*
+ * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
*/
#ifndef __YAFFS_NAND_H__
*/
#ifndef __YAFFS_NAND_H__
@@
-18,26
+19,26
@@
-int yaffs_
ReadChunkWithTagsFromNAND(yaffs_Device * dev, int chunkInNAND
,
-
__u8 *
buffer,
-
yaffs_ExtendedTags *
tags);
+int yaffs_
rd_chunk_tags_nand(yaffs_dev_t *dev, int nand_chunk
,
+
__u8 *
buffer,
+
yaffs_ext_tags *
tags);
-int yaffs_
WriteChunkWithTagsToNAND(yaffs_Device *
dev,
-
int chunkInNAND
,
-
const __u8 *
buffer,
-
yaffs_ExtendedTags *
tags);
+int yaffs_
wr_chunk_tags_nand(yaffs_dev_t *
dev,
+
int nand_chunk
,
+
const __u8 *
buffer,
+
yaffs_ext_tags *
tags);
-int yaffs_
MarkBlockBad(yaffs_Device * dev, int blockN
o);
+int yaffs_
mark_bad(yaffs_dev_t *dev, int block_n
o);
-int yaffs_
QueryInitialBlockState(yaffs_Device *
dev,
-
int blockN
o,
-
yaffs_BlockState *
state,
-
unsigned *sequenceN
umber);
+int yaffs_
query_init_block_state(yaffs_dev_t *
dev,
+
int block_n
o,
+
yaffs_block_state_t *
state,
+
unsigned *seq_n
umber);
-int yaffs_
EraseBlockInNAND(struct yaffs_DeviceStruct
*dev,
- int
blockInNAND
);
+int yaffs_
erase_block(struct yaffs_dev_s
*dev,
+ int
flash_block
);
-int yaffs_
InitialiseNAND(struct yaffs_DeviceStruct
*dev);
+int yaffs_
init_nand(struct yaffs_dev_s
*dev);
#endif
#endif