From: Jaehoon Chung Date: Tue, 2 Jan 2024 01:28:02 +0000 (+0900) Subject: scripts: Change a class name from RpiInitParams to InitParams X-Git-Tag: accepted/tizen/unified/20240110.154144~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=49d8f0f0ad42688878c13bd2a6a1a1504173425e;p=platform%2Fkernel%2Fu-boot.git scripts: Change a class name from RpiInitParams to InitParams InitParams can be also used for other targets, not only Rpi. So the Rpi prefix can be removed. Change-Id: I6b55056cddb8aef2fa582a9e40565423319904fe Signed-off-by: Jaehoon Chung --- diff --git a/scripts/tizen/sd_fusing.py b/scripts/tizen/sd_fusing.py index 16867a9..a3d4415 100755 --- a/scripts/tizen/sd_fusing.py +++ b/scripts/tizen/sd_fusing.py @@ -156,7 +156,7 @@ class SdFusingTargetAB(SdFusingTarget): return self.binaries_b.get(binary, None) return self.binaries.get(binary, None) -class RpiInitParams: +class InitParams: def initialize_parameters(self): logging.debug("Initializing parameterss") n = None @@ -190,7 +190,7 @@ class RpiInitParams: stdin=subprocess.DEVNULL, stdout=None, stderr=None) -class Rpi3(RpiInitParams, SdFusingTarget): +class Rpi3(InitParams, SdFusingTarget): long_name = "Raspberry Pi 3" part_table = [ {"size": 64, "fstype": "vfat", "name": "boot", "start": 4, "ptype": "0xe", "bootable": True, @@ -220,7 +220,7 @@ class Rpi3(RpiInitParams, SdFusingTarget): self.user_partition = 4 super().__init__(device, "dos") -class Rpi4Super(RpiInitParams, SdFusingTargetAB): +class Rpi4Super(InitParams, SdFusingTargetAB): long_name = "Raspberry Pi 4 w/ super partition" part_table = [ {"size": 64, "fstype": "vfat", "name": "boot_a","start": 4, @@ -269,7 +269,7 @@ class Rpi4Super(RpiInitParams, SdFusingTargetAB): self.with_super = True self.super_alignment = 1048576 -class Rpi4(RpiInitParams, SdFusingTargetAB): +class Rpi4(InitParams, SdFusingTargetAB): long_name = "Raspberry Pi 4" part_table = [ {"size": 64, "fstype": "vfat", "name": "boot_a", "start": 4,