summaryrefslogtreecommitdiff
path: root/tools/binman
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-05-27 13:38:22 (GMT)
committerSimon Glass <sjg@chromium.org>2017-06-02 16:16:48 (GMT)
commitb4360206a4bc67404125b0478132aeaeea41683f (patch)
tree2c972001e3388a272993cff51869f856bdb3cf0b /tools/binman
parent4a28b007031404f5cf0a18e0b79d1e6f7ec982b0 (diff)
downloadu-boot-fsl-qoriq-b4360206a4bc67404125b0478132aeaeea41683f.tar.xz
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-xtools/binman/binman.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/binman/binman.py b/tools/binman/binman.py
index 857d698..95d3a048 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'))