[PATCH v5 1/5] Add fdt read/write utility functions

Simon Glass sjg at chromium.org
Fri Sep 23 05:07:34 EST 2011


Hi Jon,

On Thu, Sep 22, 2011 at 11:54 AM, Jon Loeliger <jdl at jdl.com> wrote:
>> This adds higher-level libfdt operations for reading/writing an fdt
>> blob from/to a file, as well as a function to decode a data type string
>> as will be used by fdtget, fdtput.
>>
>> This also adds a few tests for the simple type argument supported by
>> utilfdt_decode_type.
>>
>> Signed-off-by: Simon Glass <sjg at chromium.org>
>> Acked-by: David Gibson <david at gibson.dropbear.id.au>
>
>
> Applied.
>
> This patch still had corrupted content here:
>
>    142c42
>    <  cmp_tests test_tree1.dtb $WRONG_TREE1
>    ---
>    >      cmp_tests test_tree1.dtb $WRONG_TREE1
>    150c50
>    <  case $ARG in
>    ---
>    >      case $ARG in
>
> in this hunk:
>
>    > --- a/tests/run_tests.sh
>    > +++ b/tests/run_tests.sh
>    > @@ -391,6 +391,10 @@ dtbs_equal_tests () {
>    >  cmp_tests test_tree1.dtb $WRONG_TREE1
>    >  }
>    >
>    > +utilfdt_tests () {
>    > +    run_test utilfdt_test
>    > +}
>    > +
>    >  while getopts "vt:m" ARG ; do
>    >  case $ARG in
>    >   "v")
>
> Using 'git am --ignore-whitespace' allowed it to apply.

Thanks for fixing that. It wasn't apparent in my git branch. I have
been thinking about adding 'git am' to my checking flow and it looks
like there are cases where it is needed, although I'm still not sure
why.

Regards,
Simon

>
> Thanks,
> jdl
>


More information about the devicetree-discuss mailing list