
On Wed, Jun 25, 2014 at 02:43:32PM +0200, Daniel Mack wrote:
Enable GPMC's prefetch feature for NAND access. This speeds up NAND read access a lot by pre-fetching contents in the background and reading them through the FIFO address.
The current implementation has two limitations:
a) it only works in 8-bit mode b) it only supports read access
Both is easily fixable by someone who has hardware to implement it.
Note that U-Boot code uses non word-aligned buffers to read data into, and request read lengths that are not multiples of 4, so both partial buffers (head and tail) have to be addressed.
Tested on AM335x hardware.
Signed-off-by: Daniel Mack zonque@gmail.com
Applied to u-boot-ti/master, after adding the change Guido talked about and adding his Tested/Reviewed tags, thanks!