scripts: sd_fusing: bpif3: remove unused 'env' partition
authorMarek Szyprowski <m.szyprowski@samsung.com>
Tue, 13 Aug 2024 13:13:59 +0000 (15:13 +0200)
committerŁukasz Stelmach <l.stelmach@samsung.com>
Wed, 4 Dec 2024 11:00:01 +0000 (12:00 +0100)
Tizen u-boot for BPif3 has been patched to store its environment on the
first 'boot' partition (FAT filesystem) in uboot.env file, like on other
Tizen boards. The 'env' partition is unused then, so remove it.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: Ie6b648f817e55f795e77358b8ce23846953cefa3

sd_fusing.py

index 72a090e1fd8eaaee6cbd31c6c7ff04f0f33fd6db..1fb061c4e91fd12c1c81f1db64a115da2bdfea13 100755 (executable)
@@ -712,10 +712,6 @@ class BpiF3(InitParams, SdFusingTargetAB):
          "start_sector": 256, "size_sectors": 512,
          "ptype":      "C12A7328-F81F-11D2-BA4B-00A0C93EC93B",
          "binaries":  ["FSBL.bin"],},
-        {"size": None, "name": "env",
-         "start_sector": 768, "size_sectors": 128,
-         "ptype":      "C12A7328-F81F-11D2-BA4B-00A0C93EC93B",
-         "binaries":  ["u-boot-env-default.bin"],},
         {"size": None, "name": "opensbi",
          "start_sector": 2048, "size_sectors": 2048,
          "ptype":      "C12A7328-F81F-11D2-BA4B-00A0C93EC93B",
@@ -766,7 +762,7 @@ class BpiF3(InitParams, SdFusingTargetAB):
     ]
 
     def __init__(self, device, args):
-        self.user_partition = 7
+        self.user_partition = 6
         self.reserved_space = 5
         self.update = args.update
         self.apply_partition_sizes(args.partition_sizes)