]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
tools: binman: Call correct init for Entry_u_boot_spl_with_ucode_ptr
authorBin Meng <bmeng.cn@gmail.com>
Wed, 18 Jan 2017 11:32:59 +0000 (03:32 -0800)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 7 Feb 2017 05:27:17 +0000 (13:27 +0800)
u_boot_spl_with_ucode_ptr is derived from u_boot_with_ucode_ptr,
hence it should call its parent's init.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
tools/binman/etype/u_boot_spl_with_ucode_ptr.py

index 764c2824ffd3f0bf809a932828cbddcba9d75b7b..1c6706df6db3cff2edae7d55b45ffcbea3418aca 100644 (file)
@@ -21,7 +21,7 @@ class Entry_u_boot_spl_with_ucode_ptr(Entry_u_boot_with_ucode_ptr):
     process.
     """
     def __init__(self, image, etype, node):
-        Entry_blob.__init__(self, image, etype, node)
+        Entry_u_boot_with_ucode_ptr.__init__(self, image, etype, node)
         self.elf_fname = 'spl/u-boot-spl'
 
     def GetDefaultFilename(self):