[U-Boot] [PATCH v3 28/62] dm: Add a library to provide simple device-tree access

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


On 4 July 2016 at 11:58, Simon Glass <sjg at chromium.org> wrote:
> This Python library provides a way to access the contents of the device
> tree. It uses fdtget, so is inefficient for larger device tree files.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v3:
> - Update comments a little
> - Add GetEmpty() to obtain an empty/zero value of a given type
>
> Changes in v2: None
>
>  tools/dtoc/.gitignore      |   1 +
>  tools/dtoc/fdt_fallback.py | 207 +++++++++++++++++++++++++++++++++++++++++++++
>  tools/dtoc/fdt_util.py     |  86 +++++++++++++++++++
>  3 files changed, 294 insertions(+)
>  create mode 100644 tools/dtoc/.gitignore
>  create mode 100644 tools/dtoc/fdt_fallback.py
>  create mode 100644 tools/dtoc/fdt_util.py

Applied to u-boot-dm


More information about the U-Boot mailing list