changeset 2977:7a3f0b89a102

ea_lpc2468: use new fast ECC alg
author Ross Younger <wry@ecoscentric.com>
date Fri, 06 Nov 2009 17:54:20 +0000
parents 758f9d488949
children fbb6348661fe
files packages/hal/arm/lpc24xx/ea2468/current/ChangeLog packages/hal/arm/lpc24xx/ea2468/current/src/ea_lpc2468_nand.c
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/packages/hal/arm/lpc24xx/ea2468/current/ChangeLog
+++ b/packages/hal/arm/lpc24xx/ea2468/current/ChangeLog
@@ -1,3 +1,7 @@
+2009-11-06  Ross Younger <wry@ecoscentric.com>
+
+	* ea_lpc2468_nand.c: Use mtd_ecc256_fast, not linux_mtd_ecc.
+
 2009-08-18  Ross Younger <wry@ecoscentric.com>
 
 	* ea_lpc_2468_nand.c: Minor bugfix - attach on the interrupt handle,
--- a/packages/hal/arm/lpc24xx/ea2468/current/src/ea_lpc2468_nand.c
+++ b/packages/hal/arm/lpc24xx/ea2468/current/src/ea_lpc2468_nand.c
@@ -453,5 +453,5 @@ static inline void k9_devunlock(cyg_nand
 #include <cyg/devs/nand/k9fxx08x0x.inl>
 
 CYG_NAND_DEVICE(ea_nand, "onboard", &k9f8_funs, &_k9_ea_lpc2468_priv,
-                &linux_mtd_ecc, &nand_mtd_oob_64);
+                &mtd_ecc256_fast, &nand_mtd_oob_64);