[U-Boot] NAND_SPL Endianess problem?

Simon Schwarz simonschwarzcor at googlemail.com
Fri Jun 24 13:15:15 CEST 2011


Hi list,

still working on NAND for my SPL...

The system is working - I can read from the device. But the endianess
seems to be big endian and not little as I would expect.

If I program e.g. 13 00 00 EA I read  EA 00 00 13 from NAND. Sure I
could write a conversion function but IMHO there has to be another
problem. I use the standard nand_read_buf16 function from nand_base.c.

Is there something I miss? It just doesn't make sense to me that the
same driver would write/read in different endianness.... any ideas?

Regards
Simon


More information about the U-Boot mailing list