aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files/fs/yaffs2/yaffs_nand.h
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-10-30 14:58:17 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-10-30 14:58:17 +0000
commit449f88df0f02fea3a7206d44daf62a553f9e819e (patch)
treeffd5be768cbfd686f28bba684734db5b9faf0829 /target/linux/generic/files/fs/yaffs2/yaffs_nand.h
parent56190ed0fcdb453b218be4fcefa938850a81c83e (diff)
downloadupstream-449f88df0f02fea3a7206d44daf62a553f9e819e.tar.gz
upstream-449f88df0f02fea3a7206d44daf62a553f9e819e.tar.bz2
upstream-449f88df0f02fea3a7206d44daf62a553f9e819e.zip
generic: fold yaffs_git_2010_10_20 patch to generic/files
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34013
Diffstat (limited to 'target/linux/generic/files/fs/yaffs2/yaffs_nand.h')
-rw-r--r--target/linux/generic/files/fs/yaffs2/yaffs_nand.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/target/linux/generic/files/fs/yaffs2/yaffs_nand.h b/target/linux/generic/files/fs/yaffs2/yaffs_nand.h
index e013cdc2f5..24cd147af8 100644
--- a/target/linux/generic/files/fs/yaffs2/yaffs_nand.h
+++ b/target/linux/generic/files/fs/yaffs2/yaffs_nand.h
@@ -1,7 +1,7 @@
/*
* YAFFS: Yet another Flash File System . A NAND-flash specific file system.
*
- * Copyright (C) 2002-2007 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>
@@ -19,26 +19,26 @@
-int yaffs_ReadChunkWithTagsFromNAND(yaffs_Device *dev, int chunkInNAND,
+int yaffs_rd_chunk_tags_nand(yaffs_dev_t *dev, int nand_chunk,
__u8 *buffer,
- yaffs_ExtendedTags *tags);
+ yaffs_ext_tags *tags);
-int yaffs_WriteChunkWithTagsToNAND(yaffs_Device *dev,
- int chunkInNAND,
+int yaffs_wr_chunk_tags_nand(yaffs_dev_t *dev,
+ int nand_chunk,
const __u8 *buffer,
- yaffs_ExtendedTags *tags);
+ yaffs_ext_tags *tags);
-int yaffs_MarkBlockBad(yaffs_Device *dev, int blockNo);
+int yaffs_mark_bad(yaffs_dev_t *dev, int block_no);
-int yaffs_QueryInitialBlockState(yaffs_Device *dev,
- int blockNo,
- yaffs_BlockState *state,
- unsigned *sequenceNumber);
+int yaffs_query_init_block_state(yaffs_dev_t *dev,
+ int block_no,
+ yaffs_block_state_t *state,
+ unsigned *seq_number);
-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