summaryrefslogtreecommitdiff
path: root/yaffs_ecc.c
diff options
context:
space:
mode:
authorwookey <wookey>2007-02-14 01:09:06 +0000
committerwookey <wookey>2007-02-14 01:09:06 +0000
commite1ac494e05a5dc7ab61d799af815d103a11d318c (patch)
tree1efd650c2316199773d99707ce405ce644a620f4 /yaffs_ecc.c
parent12427f939eea34eaa0b5863782e2e005521d64c9 (diff)
Updated headers so they really are the same
Diffstat (limited to 'yaffs_ecc.c')
-rw-r--r--yaffs_ecc.c21
1 files changed, 10 insertions, 11 deletions
diff --git a/yaffs_ecc.c b/yaffs_ecc.c
index 2eb69ba..be860d0 100644
--- a/yaffs_ecc.c
+++ b/yaffs_ecc.c
@@ -9,18 +9,17 @@
* 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
* published by the Free Software Foundation.
- *
*/
- /*
- * This code implements the ECC algorithm used in SmartMedia.
- *
- * The ECC comprises 22 bits of parity information and is stuffed into 3 bytes.
- * The two unused bit are set to 1.
- * The ECC can correct single bit errors in a 256-byte page of data. Thus, two such ECC
- * blocks are used on a 512-byte NAND page.
- *
- */
+/*
+ * This code implements the ECC algorithm used in SmartMedia.
+ *
+ * The ECC comprises 22 bits of parity information and is stuffed into 3 bytes.
+ * The two unused bit are set to 1.
+ * The ECC can correct single bit errors in a 256-byte page of data. Thus, two such ECC
+ * blocks are used on a 512-byte NAND page.
+ *
+ */
/* Table generated by gen-ecc.c
* Using a table means we do not have to calculate p1..p4 and p1'..p4'
@@ -30,7 +29,7 @@
*/
const char *yaffs_ecc_c_version =
- "$Id: yaffs_ecc.c,v 1.8 2007-02-12 16:55:25 wookey Exp $";
+ "$Id: yaffs_ecc.c,v 1.9 2007-02-14 01:09:06 wookey Exp $";
#include "yportenv.h"