03 Dec, 2017

1 commit


06 Oct, 2017

1 commit

  • With the overlay tests now being built in sandbox Coverity has found a
    number of issues in the tests. In short, if malloc ever failed we would
    leak the previous mallocs, so we need to do the usual goto pattern to
    free each in turn. Finally, we always looked at the free()d location to
    see how many tests had failed for the return code.

    Reported-by: Coverity (CID: 167224, 167227, 167230, 167236)
    Signed-off-by: Tom Rini

    Tom Rini
     

15 Sep, 2017

2 commits


14 Oct, 2016

1 commit

  • These have now landed upstream. The naming is different and in one case the
    function signature has changed. Update the code to match.

    This applies the following upstream commits by
    Thierry Reding :

    604e61e fdt: Add functions to retrieve strings
    8702bd1 fdt: Add a function to get the index of a string
    2218387 fdt: Add a function to count strings

    Signed-off-by: Simon Glass

    Simon Glass
     

20 Aug, 2016

1 commit

  • This adds a bunch of unit tests for the "fdt apply" command.

    They've all been run successfully in the sandbox. However, as you still
    require an out-of-tree dtc with overlay support, this is disabled by
    default.

    Acked-by: Simon Glass
    Acked-by: Pantelis Antoniou
    Signed-off-by: Maxime Ripard

    Maxime Ripard