binman: Move to absolute imports
[oweals/u-boot.git] / tools / binman / etype / fdtmap.py
index 5dc08b8289a0c7f382b8c46e1c31051e235b1429..820f34515a8b233e747914892b51298269b3a4cb 100644 (file)
@@ -8,7 +8,7 @@ This handles putting an FDT into the image with just the information about the
 image.
 """
 
-from entry import Entry
+from binman.entry import Entry
 import tools
 import tout
 
@@ -82,8 +82,8 @@ class Entry_fdtmap(Entry):
         global Fdt
 
         import libfdt
-        import state
-        from fdt import Fdt
+        from binman import state
+        from dtoc.fdt import Fdt
 
         Entry.__init__(self, section, etype, node)