Mitch Bradley wrote:


I can't speak for flattened device trees specifically, but IEEE1275 (Open Firmware) specifies that integers are encoded in property values in big-endian byte order. The model is serialization/deserialization, rather than overlaying a C struct on top of the data.


The FDT adopted the same big-endian serialize/deserialize approach.

To be honest, I don't know what motivated the big-endian choice
(Network order, PPC, 1275, One True Format, etc.)  Doesn't matter.

jdl


_______________________________________________
devicetree-discuss mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/devicetree-discuss

Reply via email to