summaryrefslogtreecommitdiff
path: root/tools/binman/etype/intel_refcode.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-20 11:37:47 -0600
commit1216448573419fb53f37e31427b29f7ef197deef (patch)
tree3fb9947a85031ca98a12c666d119f168479735be /tools/binman/etype/intel_refcode.py
parent0b9116e31a6807a442f3a2ec887927536ce3aee3 (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/intel_refcode.py')
-rw-r--r--tools/binman/etype/intel_refcode.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/binman/etype/intel_refcode.py b/tools/binman/etype/intel_refcode.py
index a1059f787e..5754fec4f8 100644
--- a/tools/binman/etype/intel_refcode.py
+++ b/tools/binman/etype/intel_refcode.py
@@ -21,7 +21,7 @@ class Entry_intel_refcode(Entry_blob):
See README.x86 for information about x86 binary blobs.
"""
def __init__(self, section, etype, node):
- Entry_blob.__init__(self, section, etype, node)
+ super().__init__(section, etype, node)
def GetDefaultFilename(self):
return 'refcode.bin'