[PATCH] fix root cause of NAND trouble

Werner Almesberger werner at openmoko.org
Sat Nov 1 04:32:20 CET 2008


Andy Green wrote:
> Not sure this fix about memcpy from u32 is endian-clean (you need a
> conversion macro to le32?), but good work!

I wondered about this for a moment, too. If the bus was set up to
switch the endianness of words, that would indeed be a problem.

But then, I suppose the readsl would be wrong as well, wouldn't
it ? So my readl should be at least consistent :)

- Werner



More information about the openmoko-kernel mailing list