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

Jon Loeliger jdl at jdl.com
Fri Sep 23 04:54:46 EST 2011


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


More information about the devicetree-discuss mailing list