On 25 July 2016 at 18:59, Simon Glass <s...@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 <s...@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. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot