m1n1.hv: Add M3 and M3 Max chip IDs

Signed-off-by: Daniel Berlin <dberlin@dberlin.org>
Signed-off-by: Janne Grunau <j@jannau.net>
This commit is contained in:
Daniel Berlin 2023-12-02 09:45:42 -05:00 committed by Hector Martin
parent dd74f20bf5
commit 750f3307f0

View file

@ -1562,10 +1562,12 @@ class HV(Reloadable):
chip_id = self.u.adt["/chosen"].chip_id chip_id = self.u.adt["/chosen"].chip_id
if chip_id in (0x8103, 0x6000, 0x6001, 0x6002): if chip_id in (0x8103, 0x6000, 0x6001, 0x6002):
cpu_start = 0x54000 + die * 0x20_0000_0000 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 cpu_start = 0x34000 + die * 0x20_0000_0000
elif chip_id in (0x6020, 0x6021, 0x6022): elif chip_id in (0x6020, 0x6021, 0x6022):
cpu_start = 0x28000 + die * 0x20_0000_0000 cpu_start = 0x28000 + die * 0x20_0000_0000
elif chip_id in (0x6031,):
cpu_start = 0x88000 + die * 0x20_0000_0000
else: else:
self.log("CPUSTART unknown for this SoC!") self.log("CPUSTART unknown for this SoC!")
break break