summaryrefslogtreecommitdiff
path: root/tools/binman/entry.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-07-20 21:23:25 +0300
committerSimon Glass <sjg@chromium.org>2019-07-29 18:38:05 +0300
commit935461262e322fce6fcfc48caf2b9a6ec05caaae (patch)
tree311a4f7d2e2f4f9067720387c0814b9439fa30c5 /tools/binman/entry.py
parentb88e81c622fd683f59498b03d34c88ce7fe68184 (diff)
downloadu-boot-935461262e322fce6fcfc48caf2b9a6ec05caaae.tar.xz
binman: Move GetFdtSet() into blob_dtb
At present we check the filename to see if an entry holds a device-tree file. It is easier to use the base class designed for this purpose. Move this method implementation into Entry_blob_dtb and update the default one to return an empty set. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/binman/entry.py')
-rw-r--r--tools/binman/entry.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/tools/binman/entry.py b/tools/binman/entry.py
index 1c382f3b85..276035ed32 100644
--- a/tools/binman/entry.py
+++ b/tools/binman/entry.py
@@ -192,11 +192,6 @@ class Entry(object):
Set containing the filename from this entry, if it is a .dtb, else
an empty set
"""
- fname = self.GetDefaultFilename()
- # It would be better to use isinstance(self, Entry_blob_dtb) here but
- # we cannot access Entry_blob_dtb
- if fname and fname.endswith('.dtb'):
- return set([fname])
return set()
def ExpandEntries(self):