[U-Boot] [PATCH v3 31/62] dm: Add a more efficient libfdt library

Simon Glass sjg at chromium.org
Fri Jul 15 05:59:26 CEST 2016


On 4 July 2016 at 11:58, Simon Glass <sjg at chromium.org> wrote:
> Add a Python version of the libfdt library which contains enough features to
> support the dtoc tool. This is only a very bare-bones implementation. It
> requires the 'swig' to build.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v3:
> - Fix handling of boolean value (no impact, but it is more correct)
> - Enhance widening to handle array size changes
>
> Changes in v2: None
>
>  lib/libfdt/libfdt.swig    |  89 +++++++++++++++++++++++
>  lib/libfdt/setup.py       |  38 ++++++++++
>  lib/libfdt/test_libfdt.py |  14 ++++
>  scripts/Makefile.host     |   9 ++-
>  tools/Makefile            |  11 +++
>  tools/dtoc/fdt.py         | 180 ++++++++++++++++++++++++++++++++++++++++++++++
>  6 files changed, 339 insertions(+), 2 deletions(-)
>  create mode 100644 lib/libfdt/libfdt.swig
>  create mode 100644 lib/libfdt/setup.py
>  create mode 100644 lib/libfdt/test_libfdt.py
>  create mode 100644 tools/dtoc/fdt.py

Applied to u-boot-dm


More information about the U-Boot mailing list