diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2009-06-04 11:12:26 -0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2009-11-12 02:32:32 -0500 |
commit | f8f9608d9b7a5b3349605284a4f3876e898413f1 (patch) | |
tree | 30f2525e4aa2a0822486d17bad356b90423d7478 /drivers/mtd/nand/sharpsl.c | |
parent | d970a0730ba5598b711d42bac287a17db5b6268a (diff) |
mxc nand: use buffers
The NAND controller has some limitations how to access the
internal buffers. It only allows 32 bit accesses. The driver
used to work around this by having special alignment aware
copy routines.
We now copy the whole page to a buffer in memory and let the
access functions use this buffer. This simplifies the driver.
A bonnie++ test showed that this has no negative performance
impact on the driver.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/mtd/nand/sharpsl.c')
0 files changed, 0 insertions, 0 deletions