summaryrefslogtreecommitdiff
path: root/fs/yaffs2/yaffs_ecc.c
diff options
context:
space:
mode:
authorWilliam Juul <william.juul@datarespons.no>2007-11-15 12:23:57 +0100
committerScott Wood <scottwood@freescale.com>2008-08-12 11:31:19 -0500
commit90ef117b68387d66763291af0117677644166611 (patch)
tree829e4954f6d1b0976734c0d2ef2b2bbd173d7572 /fs/yaffs2/yaffs_ecc.c
parent0e8cc8bd92257da2e1df88cbc985e166e472ce61 (diff)
downloadu-boot-imx-90ef117b68387d66763291af0117677644166611.zip
u-boot-imx-90ef117b68387d66763291af0117677644166611.tar.gz
u-boot-imx-90ef117b68387d66763291af0117677644166611.tar.bz2
Incorporate yaffs2 into U-boot
To use YAFFS2 define CONFIG_YAFFS2 Signed-off-by: William Juul <william.juul@tandberg.com> Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'fs/yaffs2/yaffs_ecc.c')
-rw-r--r--fs/yaffs2/yaffs_ecc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/yaffs2/yaffs_ecc.c b/fs/yaffs2/yaffs_ecc.c
index d0b405f..a05a6b5 100644
--- a/fs/yaffs2/yaffs_ecc.c
+++ b/fs/yaffs2/yaffs_ecc.c
@@ -28,6 +28,9 @@
* this bytes influence on the line parity.
*/
+/* XXX U-BOOT XXX */
+#include <common.h>
+
const char *yaffs_ecc_c_version =
"$Id: yaffs_ecc.c,v 1.9 2007/02/14 01:09:06 wookey Exp $";
@@ -328,4 +331,3 @@ int yaffs_ECCCorrectOther(unsigned char *data, unsigned nBytes,
return -1;
}
-