]> git.karo-electronics.de Git - karo-tx-uboot.git/commit
dtoc: Create a base class for Fdt
authorSimon Glass <sjg@chromium.org>
Tue, 26 Jul 2016 00:59:04 +0000 (18:59 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 19 Sep 2016 03:04:38 +0000 (21:04 -0600)
commita06a34b2031e0797892e188595bfb305cd9719ab
tree7980eea5b4835aeee5f8cc5dcd644aeb486811da
parent66051b1f59dfba48566dc3e0eee4c093e1104590
dtoc: Create a base class for Fdt

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@chromium.org>
tools/dtoc/fdt.py [new file with mode: 0644]
tools/dtoc/fdt_fallback.py
tools/dtoc/fdt_normal.py
tools/dtoc/fdt_select.py