RFC: Host-endian device tree format

Nicolas Pitre nicolas.pitre at linaro.org
Thu Jan 20 02:41:32 EST 2011


On Wed, 19 Jan 2011, Dave Martin wrote:
> On Wed, Jan 19, 2011 at 1:41 PM, Grant Likely <grant.likely at secretlab.ca> wrote:
> > The dtb isn't so much bigendian as it is network byte order.
> 
> (For me, "network byte order" is a euphemism ... <insert
> unconstructive rant here>)

I concur.

> However I digress... it sounds like you are familiar with the
> arguments I would make, and I'm not trying to get into an endianness
> war ;)

I think this is the same issue as for filesystems.  Having different 
endianness in use might only lead to confusion when a piece of data can 
be externally provided.  And since DT was created on PPC first then that 
naturally decided on the endianness for it.


Nicolas


More information about the devicetree-discuss mailing list