[U-Boot] [PATCH 08/30] dtoc: Create a base class for Fdt
Simon Glass
sjg at chromium.org
Sat Aug 27 18:05:34 CEST 2016
On 25 July 2016 at 18:59, Simon Glass <sjg at chromium.org> wrote:
> At present we have two separate implementations of the Fdt library, one which
> uses fdtget/fdtput and one which uses libfdt (via swig).
>
> Before adding more functionality it makes sense to create a base class for
> these. This will allow common functions to be shared, and make the Fdt API
> a little clearer.
>
> Create a new fdt.py file with the base class, and adjust fdt_normal.py and
> fdt_fallback.py to use it.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> tools/dtoc/fdt.py | 68 ++++++++++++++++++++++++++++++++++++++++++++++
> tools/dtoc/fdt_fallback.py | 61 +++++++++++++++++++++++++----------------
> tools/dtoc/fdt_normal.py | 58 +++++++++++++++++++++++++--------------
> tools/dtoc/fdt_select.py | 9 ++++--
> 4 files changed, 148 insertions(+), 48 deletions(-)
> create mode 100644 tools/dtoc/fdt.py
Applied to u-boot-dm/next.
More information about the U-Boot
mailing list