Skip to content

Commit

Permalink
mxc nand: use buffers
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sascha Hauer committed Nov 12, 2009
1 parent d970a07 commit f8f9608
Showing 1 changed file with 77 additions and 233 deletions.
Loading

0 comments on commit f8f9608

Please sign in to comment.