[MTD NAND] Update CS553x NAND driver: Hardware ECC support, optimisations.
authorDavid Woodhouse <dwmw2@infradead.org>
Sat, 13 May 2006 03:12:40 +0000 (04:12 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Sat, 13 May 2006 03:12:40 +0000 (04:12 +0100)
commit9d75414b4fa7390975ef0e2b56ff40425657fe52
treeff21b8e752f83f285c0452c45b3f0c54ccb30550
parentc3f8abf481c2d2b221b028f7369bc6dd39a9590e
[MTD NAND] Update CS553x NAND driver: Hardware ECC support, optimisations.

- Implement HW ECC support,
- Provide read_buf() and write_buf() routines using memcpy
- Use on-flash bad block table
- Fix module refcounting
- Avoid read/modify/write in hwcontrol()
- Minor cosmetic fixes

Partly based on code and ideas from Tom Sylla <tom.sylla@amd.com>

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/nand/cs553x_nand.c