soc: intel_adsp: tools: fix ace15 ROM status check in cavstool.py

Fix definition for ROM status register for ACE1.5. The value should be
same as ACE2.0 and only different for ACE3.0.

Fixes: 6ad9b6ccab ("soc: intel_adsp: tools: add intel_adsp_ace30
support to cavstool.py")
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
This commit is contained in:
Kai Vehmanen 2024-10-10 23:58:20 +03:00 committed by David Leach
parent fb010719ed
commit 52efa3bb9b

View file

@ -274,8 +274,8 @@ def map_regs(log_only):
dsp = Regs(bar4_mem)
if adsp_is_ace():
dsp.HFDSSCS = 0x1000
dsp.HFPWRCTL = 0x1d18 if ace20 else 0x1d20
dsp.HFPWRSTS = 0x1d1c if ace20 else 0x1d24
dsp.HFPWRCTL = 0x1d18 if ace15 or ace20 else 0x1d20
dsp.HFPWRSTS = 0x1d1c if ace15 or ace20 else 0x1d24
dsp.DSP2CXCTL_PRIMARY = 0x178d04
dsp.HFIPCXTDR = 0x73200
dsp.HFIPCXTDA = 0x73204