changeset 2965:9f3e6c0c9aab

Make synth NAND use fast ECC
author Ross Younger <wry@ecoscentric.com>
date Fri, 06 Nov 2009 17:53:37 +0000
parents b3d2f083ab91
children c6ce6b63dcb5
files packages/devs/nand/synth/current/ChangeLog packages/devs/nand/synth/current/src/nand_synth.c
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/packages/devs/nand/synth/current/ChangeLog
+++ b/packages/devs/nand/synth/current/ChangeLog
@@ -1,3 +1,7 @@
+2009-11-06  Ross Younger  <wry@ecoscentric.com>
+
+	* nand_synth.c: Use new fast ECC implementation.
+
 2009-10-19  Ross Younger  <wry@ecoscentric.com>
 
 	* nand_synth.c: Update to interface v2.
--- a/packages/devs/nand/synth/current/src/nand_synth.c
+++ b/packages/devs/nand/synth/current/src/nand_synth.c
@@ -1749,5 +1749,5 @@ static CYG_NAND_FUNS_V2(nand_synth_funs,
         synth_writebegin, synth_writestride, synth_writefinish,
         synth_eraseblock, synth_factorybad);
 
-CYG_NAND_DEVICE(nand_synth, "synth", &nand_synth_funs, NULL, &linux_mtd_ecc, 0);
+CYG_NAND_DEVICE(nand_synth, "synth", &nand_synth_funs, NULL, &mtd_ecc256_fast, 0);