[U-Boot] [PATCH v2 29/29] binman: Support updating the device tree with calc'd info

Simon Glass sjg at chromium.org
Mon Jul 9 19:53:35 UTC 2018


On 6 July 2018 at 10:27, Simon Glass <sjg at chromium.org> wrote:
> It is useful to write the position and size of each entry back to the
> device tree so that U-Boot can access this at runtime. Add a feature to
> support this, along with associated tests.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v2:
> - Update tests to main 100% code coverage
>
>  tools/binman/README                     |  6 +-
>  tools/binman/control.py                 |  2 +
>  tools/binman/etype/_testing.py          | 10 ++++
>  tools/binman/ftest.py                   | 77 +++++++++++++++++++++----
>  tools/binman/test/60_fdt_update.dts     | 31 ++++++++++
>  tools/binman/test/61_fdt_update_bad.dts | 32 ++++++++++
>  6 files changed, 144 insertions(+), 14 deletions(-)
>  create mode 100644 tools/binman/test/60_fdt_update.dts
>  create mode 100644 tools/binman/test/61_fdt_update_bad.dts

Applied to u-boot-dm.


More information about the U-Boot mailing list