[PATCH] [ARM] orion5x: accelerate NAND on the TS-78xx

Alexander Clouter alex at digriz.org.uk
Wed Jan 5 13:35:04 EST 2011


Russell King - ARM Linux <linux at arm.linux.org.uk> wrote:
>
> On Tue, Jan 04, 2011 at 11:51:59PM +0000, Alexander Clouter wrote:
>> The NAND supports 32bit reads and writes so lets stop shunting 8bit
>> chunks across the bus.
>> 
>> Doing a dumb 'dd' benchmark, this increases performance roughly like so:
>>  * read: 1.3MB/s to 3.4MB/s
>>  * write: 614kB/s to 882kB/s
> 
> Try something like the below.  It's slightly more typing, but the
> underlying string IO functions should improve your transfer speed.
> Note that they won't do endian conversions.
>
I get roughly the same speeds with your approach...I am happy to swing 
either your way or my original implementation; well actually it was 
stolen from Nico's orion_nand implementation :)

What should I submit?  These functions will at somestage get DMA support 
added.
 
Cheers

-- 
Alexander Clouter
.sigmonster says: Live Free or Live in Massachusetts.




More information about the linux-arm-kernel mailing list