]> git.baikalelectronics.ru Git - kernel.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)
commit5a65ea97c38d26a51968b05d44b3b4c6a75e4a6f
treee5c25ca9545014a4512102629d09b42438cb378d
parent1791a9b0b711670d300598a125386e3d4628e5a2
[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