[PATCH v2 11/49] binman: Use super() instead of specifying parent type
Bin Meng
bmeng.cn at gmail.com
Mon Jun 29 08:54:18 CEST 2020
On Sun, Jun 14, 2020 at 10:57 AM Simon Glass <sjg at chromium.org> wrote:
>
> 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 at chromium.org>
> ---
>
> (no changes since v1)
>
> tools/binman/etype/_testing.py | 4 ++--
> tools/binman/etype/blob.py | 2 +-
> tools/binman/etype/blob_dtb.py | 6 +++---
> tools/binman/etype/blob_named_by_arg.py | 2 +-
> tools/binman/etype/cbfs.py | 14 +++++++-------
> tools/binman/etype/cros_ec_rw.py | 3 +--
> tools/binman/etype/fdtmap.py | 2 +-
> tools/binman/etype/files.py | 2 +-
> tools/binman/etype/fill.py | 4 ++--
> tools/binman/etype/fmap.py | 2 +-
> tools/binman/etype/gbb.py | 2 +-
> tools/binman/etype/image_header.py | 4 ++--
> tools/binman/etype/intel_cmc.py | 2 +-
> tools/binman/etype/intel_descriptor.py | 4 ++--
> tools/binman/etype/intel_fit.py | 4 ++--
> tools/binman/etype/intel_fit_ptr.py | 4 ++--
> tools/binman/etype/intel_fsp.py | 2 +-
> tools/binman/etype/intel_fsp_m.py | 2 +-
> tools/binman/etype/intel_fsp_s.py | 2 +-
> tools/binman/etype/intel_fsp_t.py | 2 +-
> tools/binman/etype/intel_ifwi.py | 4 ++--
> tools/binman/etype/intel_me.py | 2 +-
> tools/binman/etype/intel_mrc.py | 2 +-
> tools/binman/etype/intel_refcode.py | 2 +-
> tools/binman/etype/intel_vbt.py | 2 +-
> tools/binman/etype/intel_vga.py | 2 +-
> tools/binman/etype/mkimage.py | 2 +-
> .../etype/powerpc_mpc85xx_bootpg_resetvec.py | 2 +-
> tools/binman/etype/section.py | 16 ++++++++--------
> tools/binman/etype/text.py | 2 +-
> tools/binman/etype/u_boot.py | 2 +-
> tools/binman/etype/u_boot_dtb.py | 2 +-
> tools/binman/etype/u_boot_dtb_with_ucode.py | 4 ++--
> tools/binman/etype/u_boot_elf.py | 4 ++--
> tools/binman/etype/u_boot_img.py | 2 +-
> tools/binman/etype/u_boot_nodtb.py | 2 +-
> tools/binman/etype/u_boot_spl.py | 2 +-
> tools/binman/etype/u_boot_spl_bss_pad.py | 2 +-
> tools/binman/etype/u_boot_spl_dtb.py | 2 +-
> tools/binman/etype/u_boot_spl_elf.py | 2 +-
> tools/binman/etype/u_boot_spl_nodtb.py | 2 +-
> tools/binman/etype/u_boot_spl_with_ucode_ptr.py | 2 +-
> tools/binman/etype/u_boot_tpl.py | 2 +-
> tools/binman/etype/u_boot_tpl_dtb.py | 2 +-
> tools/binman/etype/u_boot_tpl_dtb_with_ucode.py | 2 +-
> tools/binman/etype/u_boot_tpl_elf.py | 2 +-
> tools/binman/etype/u_boot_tpl_with_ucode_ptr.py | 2 +-
> tools/binman/etype/u_boot_ucode.py | 2 +-
> tools/binman/etype/u_boot_with_ucode_ptr.py | 2 +-
> tools/binman/etype/vblock.py | 2 +-
> tools/binman/etype/x86_reset16.py | 2 +-
> tools/binman/etype/x86_reset16_spl.py | 2 +-
> tools/binman/etype/x86_reset16_tpl.py | 2 +-
> tools/binman/etype/x86_start16.py | 2 +-
> tools/binman/etype/x86_start16_spl.py | 2 +-
> tools/binman/etype/x86_start16_tpl.py | 2 +-
> tools/binman/image.py | 12 ++++++------
> 57 files changed, 86 insertions(+), 87 deletions(-)
>
Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
More information about the U-Boot
mailing list