mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-21 14:23:01 +00:00
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:
parent
dd74f20bf5
commit
750f3307f0
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue