mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-22 14:43:08 +00:00
hv.py: Disable secondary CPUs for now
Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
parent
95542a4619
commit
2df4654555
1 changed files with 5 additions and 0 deletions
|
@ -81,6 +81,11 @@ class HV:
|
||||||
print(f"Removing ADT node /arm-io/{name}")
|
print(f"Removing ADT node /arm-io/{name}")
|
||||||
del self.adt["arm-io"][name]
|
del self.adt["arm-io"][name]
|
||||||
|
|
||||||
|
for cpu in list(self.adt["cpus"]):
|
||||||
|
if cpu.name != "cpu0":
|
||||||
|
print(f"Removing ADT node {cpu._path}")
|
||||||
|
del self.adt["cpus"][cpu.name]
|
||||||
|
|
||||||
self.u.push_adt()
|
self.u.push_adt()
|
||||||
|
|
||||||
print(f"Setting up bootargs...")
|
print(f"Setting up bootargs...")
|
||||||
|
|
Loading…
Reference in a new issue