diff options
author | Simon Glass <sjg@chromium.org> | 2020-04-18 03:09:03 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2020-04-26 23:25:21 +0300 |
commit | 16287933a852bab2ac4985a770e08c9aa69d21b1 (patch) | |
tree | e907492e72c279b64ac971c916de8078a48e8157 /tools/binman/etype/u_boot_ucode.py | |
parent | 0ede00fdaf1d2162350631294f57645675737d89 (diff) | |
download | u-boot-16287933a852bab2ac4985a770e08c9aa69d21b1.tar.xz |
binman: Move to absolute imports
At present binman sets the python path on startup so that it can access
the libraries it needs. If we convert to use absolute imports this is not
necessary.
Move binman to use absolute imports. This enables removable of the path
adjusting in Entry also.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/binman/etype/u_boot_ucode.py')
-rw-r--r-- | tools/binman/etype/u_boot_ucode.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/binman/etype/u_boot_ucode.py b/tools/binman/etype/u_boot_ucode.py index dee8848db7..692ccceb71 100644 --- a/tools/binman/etype/u_boot_ucode.py +++ b/tools/binman/etype/u_boot_ucode.py @@ -5,8 +5,8 @@ # Entry-type module for a U-Boot binary with an embedded microcode pointer # -from entry import Entry -from blob import Entry_blob +from binman.entry import Entry +from binman.etype.blob import Entry_blob import tools class Entry_u_boot_ucode(Entry_blob): |