[PATCH v2 2/3] dtc: Add data_append_integer function
David Gibson
david at gibson.dropbear.id.au
Fri Sep 23 10:19:17 EST 2011
On Thu, Sep 22, 2011 at 11:25:26AM -0700, Anton Staaf wrote:
> This function deals with appending integers of various sizes (8, 16
> 32, and 64 bit currently). It handles endianess conversions and
> verifies that the given integer is not larger than the specified
> size.
>
> Signed-off-by: Anton Staaf <robotboy at chromium.org>
Acked-by: David Gibson <david at gibson.dropbear.id.au>
It occurs to me that data_append_cell() could be rewritten in terms of
this function.
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
More information about the devicetree-discuss
mailing list