Skip to content

Commit

Permalink
m1n1.hv: Add M3 and M3 Max chip IDs
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Berlin <[email protected]>
Signed-off-by: Janne Grunau <[email protected]>
  • Loading branch information
dberlin authored and marcan committed Nov 3, 2024
1 parent 5801c20 commit 68ea08f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion proxyclient/m1n1/hv/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1562,10 +1562,12 @@ def cpustart_wh(base, off, data, width):
chip_id = self.u.adt["/chosen"].chip_id
if chip_id in (0x8103, 0x6000, 0x6001, 0x6002):
cpu_start = 0x54000 + die * 0x20_0000_0000
elif chip_id in (0x8112,):
elif chip_id in (0x8112, 0x8122):
cpu_start = 0x34000 + die * 0x20_0000_0000
elif chip_id in (0x6020, 0x6021, 0x6022):
cpu_start = 0x28000 + die * 0x20_0000_0000
elif chip_id in (0x6031,):
cpu_start = 0x88000 + die * 0x20_0000_0000
else:
self.log("CPUSTART unknown for this SoC!")
break
Expand Down

0 comments on commit 68ea08f

Please sign in to comment.