diff --git a/proxyclient/m1n1/hv/__init__.py b/proxyclient/m1n1/hv/__init__.py index 2662cf0f..b6bcf24d 100644 --- a/proxyclient/m1n1/hv/__init__.py +++ b/proxyclient/m1n1/hv/__init__.py @@ -1514,10 +1514,13 @@ class HV(Reloadable): die_count = self.adt["/arm-io"].die_count if hasattr(self.adt["/arm-io"], "die-count") else 1 for die in range(0, die_count): - if self.u.adt["/chosen"].chip_id in (0x8103, 0x6000, 0x6001, 0x6002): + chip_id = self.u.adt["/chosen"].chip_id + if chip_id in (0x8103, 0x6000, 0x6001, 0x6002): cpu_start = 0x54000 + die * 0x20_0000_0000 - elif self.u.adt["/chosen"].chip_id in (0x8112,): + elif chip_id in (0x8112,): cpu_start = 0x34000 + die * 0x20_0000_0000 + elif chip_id in (0x6021,): + cpu_start = 0x28000 + die * 0x20_0000_0000 else: self.log("CPUSTART unknown for this SoC!") break