aboutsummaryrefslogtreecommitdiff
path: root/tools/binman/etype/fdtmap.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/binman/etype/fdtmap.py')
-rw-r--r--tools/binman/etype/fdtmap.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/binman/etype/fdtmap.py b/tools/binman/etype/fdtmap.py
index 76e8dbe..33c9d03 100644
--- a/tools/binman/etype/fdtmap.py
+++ b/tools/binman/etype/fdtmap.py
@@ -15,6 +15,11 @@ from patman import tout
FDTMAP_MAGIC = b'_FDTMAP_'
FDTMAP_HDR_LEN = 16
+# These is imported if needed
+Fdt = None
+libfdt = None
+state = None
+
def LocateFdtmap(data):
"""Search an image for an fdt map