diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-10-30 18:53:12 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-10-30 18:53:12 +0000 |
commit | 1802137ccbb542b6dcf4221c76f277821a8374c3 (patch) | |
tree | 89575a2298e403e3b340a2c98caf793fc92119e9 /target/linux/generic/files/fs/yaffs2/yaffs_ecc.h | |
parent | dfe9e683b0c294ac7c1ab0198d952331aa08e1bc (diff) | |
download | openwrt-1802137ccbb542b6dcf4221c76f277821a8374c3.tar.gz openwrt-1802137ccbb542b6dcf4221c76f277821a8374c3.zip |
AA: generic: fold yaffs_git_2010_10_20 patch to generic/files
Backport of r34013.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34018 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/files/fs/yaffs2/yaffs_ecc.h')
-rw-r--r-- | target/linux/generic/files/fs/yaffs2/yaffs_ecc.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/target/linux/generic/files/fs/yaffs2/yaffs_ecc.h b/target/linux/generic/files/fs/yaffs2/yaffs_ecc.h index 60765176e..124e5a0d4 100644 --- a/target/linux/generic/files/fs/yaffs2/yaffs_ecc.h +++ b/target/linux/generic/files/fs/yaffs2/yaffs_ecc.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> @@ -32,13 +32,13 @@ typedef struct { unsigned lineParityPrime; } yaffs_ECCOther; -void yaffs_ECCCalculate(const unsigned char *data, unsigned char *ecc); -int yaffs_ECCCorrect(unsigned char *data, unsigned char *read_ecc, +void yaffs_ecc_cacl(const unsigned char *data, unsigned char *ecc); +int yaffs_ecc_correct(unsigned char *data, unsigned char *read_ecc, const unsigned char *test_ecc); -void yaffs_ECCCalculateOther(const unsigned char *data, unsigned nBytes, +void yaffs_ecc_calc_other(const unsigned char *data, unsigned n_bytes, yaffs_ECCOther *ecc); -int yaffs_ECCCorrectOther(unsigned char *data, unsigned nBytes, +int yaffs_ecc_correct_other(unsigned char *data, unsigned n_bytes, yaffs_ECCOther *read_ecc, const yaffs_ECCOther *test_ecc); #endif |