mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-14 03:17:05 +00:00
f5ba42e3bb
Also adds m1n1.hw.spmi Signed-off-by: Asahi Lina <lina@asahilina.net>
9 lines
248 B
Python
9 lines
248 B
Python
import sys, pathlib, time
|
|
sys.path.append(str(pathlib.Path(__file__).resolve().parents[1]))
|
|
|
|
from m1n1.setup import *
|
|
from m1n1.hw.spmi import SPMI
|
|
|
|
s = SPMI(u, "/arm-io/nub-spmi")
|
|
leg_scrpad = 0x9f00
|
|
s.write8(15, leg_scrpad + 2, 0) # error counts
|