[PATCH v2 2/3] dtc: Add data_append_integer function

Anton Staaf robotboy at google.com
Fri Sep 23 13:24:25 EST 2011


On Thu, Sep 22, 2011 at 5:19 PM, David Gibson
<david at gibson.dropbear.id.au> wrote:
> 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.

Good point, I'll send a patch tomorrow if you haven't already.

Thanks,
    Anton

> --
> 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