Alignment of mixed-data type items in properties

David VomLehn dvomlehn at cisco.com
Tue Nov 9 12:07:09 EST 2010


I have a property that seems most simply expressed as:

	prop = "abc",<0x12345678 0x87654321>;

It looks like the u32 values are not aligned on four-byte boundaries. Given
the effort elsewhere in the device tree to make things aligned, this was
a bit of a surprise. It's easy enough to handle; I'm just wondering whether
this was the intent.
-- 
David VL


More information about the devicetree-discuss mailing list