diff options
author | Simon Glass <sjg@chromium.org> | 2017-05-27 07:38:22 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2017-06-02 10:16:48 -0600 |
commit | b4360206a4bc67404125b0478132aeaeea41683f (patch) | |
tree | 2c972001e3388a272993cff51869f856bdb3cf0b /tools/binman | |
parent | 4a28b007031404f5cf0a18e0b79d1e6f7ec982b0 (diff) | |
download | u-boot-b4360206a4bc67404125b0478132aeaeea41683f.tar.gz |
fdt: Support use of the new python libfdt library
Use the new library if available, while retaining backwards compatibility
with the old library for now.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/binman')
-rwxr-xr-x | tools/binman/binman.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/binman/binman.py b/tools/binman/binman.py index 857d698b4c..95d3a048d8 100755 --- a/tools/binman/binman.py +++ b/tools/binman/binman.py @@ -21,6 +21,9 @@ sys.path.append(os.path.join(our_path, '../patman')) sys.path.append(os.path.join(our_path, '../dtoc')) sys.path.append(os.path.join(our_path, '../')) +# Bring in the libfdt module +sys.path.append('tools') + # Also allow entry-type modules to be brought in from the etype directory. sys.path.append(os.path.join(our_path, 'etype')) |