[PATCH] MTD: OMAP2-NAND: Fix partition reading from board info
David Brownell
david-b at pacbell.net
Mon Aug 4 16:02:46 EDT 2008
On Monday 04 August 2008, Tony Lindgren wrote:
> Looks like this driver does not exist outside linux-omap tree,
> care to send the whole driver to MTD list?
Unless someone created a big-endian OMAP, the cpu_to_le16()
calls in the read/write buffer calls can be removed ... and
then the read buffer code can use __raw_readsw(...) to get
what's been a significant speedup on some other ARMs. (The
atmel_nand.c code should be usable as-is.)
If there are big-endian OMAPs, it's still unclear why that
would be needed (maybe the hardware ECC code would need to
become byteorder-aware?) ... little point in byteswapping
on the i/o paths, except maybe to slow things down.
It'd make sense to merge the driver version which handles
both OMAP2 and OMAP3, too. With beagleboard.org pushing
out those puppies, the omap3 support matters more. :)
- Dave
More information about the linux-mtd
mailing list