]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[MTD] Improve software ECC calculation
authorThomas Gleixner <tglx@cruncher.tec.linutronix.de>
Tue, 23 May 2006 09:32:45 +0000 (11:32 +0200)
committerThomas Gleixner <tglx@cruncher.tec.linutronix.de>
Tue, 23 May 2006 09:32:45 +0000 (11:32 +0200)
commit819d6a32c397534c819d3c72a3947b7e7e4bec4b
treee5c25ca9545014a4512102629d09b42438cb378d
parenta1b563d652b54647ffacb2d6edf7859d3e97a723
[MTD] Improve software ECC calculation

Unrolling the loops produces denser and much faster code.
Add a config switch which allows to select the byte order of the
resulting ecc code. The current Linux implementation has a byte
swap versus the SmartMedia specification

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/mtd/nand/Kconfig
drivers/mtd/nand/nand_ecc.c