summaryrefslogtreecommitdiff
path: root/tools/binman/etype/u_boot_dtb.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-07-09 18:39:35 -0600
committerSimon Glass <sjg@chromium.org>2020-07-25 14:46:57 -0600
commit34861d506cafc8ff758dbba9ffa7340a6e3ec4f1 (patch)
tree118ecaec6b32bcdd194f184f84194b788b6c6267 /tools/binman/etype/u_boot_dtb.py
parent73bc9e2e21cbd973ef12876acaab1c0670525ee5 (diff)
binman: Use super() instead of specifying parent type
It is easier and less error-prone to use super() when the parent type is needed. Update binman to remove the type names. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'tools/binman/etype/u_boot_dtb.py')
-rw-r--r--tools/binman/etype/u_boot_dtb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/binman/etype/u_boot_dtb.py b/tools/binman/etype/u_boot_dtb.py
index e98350088f..65e71291d2 100644
--- a/tools/binman/etype/u_boot_dtb.py
+++ b/tools/binman/etype/u_boot_dtb.py
@@ -22,7 +22,7 @@ class Entry_u_boot_dtb(Entry_blob_dtb):
binman to know which entries contain a device tree.
"""
def __init__(self, section, etype, node):
- Entry_blob_dtb.__init__(self, section, etype, node)
+ super().__init__(section, etype, node)
def GetDefaultFilename(self):
return 'u-boot.dtb'