From 52efa3bb9b8a4204acad587d8ef7bc92ed277b20 Mon Sep 17 00:00:00 2001 From: Kai Vehmanen Date: Thu, 10 Oct 2024 23:58:20 +0300 Subject: [PATCH] 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: 6ad9b6ccabeb ("soc: intel_adsp: tools: add intel_adsp_ace30 support to cavstool.py") Signed-off-by: Kai Vehmanen --- soc/intel/intel_adsp/tools/cavstool.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/soc/intel/intel_adsp/tools/cavstool.py b/soc/intel/intel_adsp/tools/cavstool.py index b28cd2d5cbd..aa59f4fdc80 100755 --- a/soc/intel/intel_adsp/tools/cavstool.py +++ b/soc/intel/intel_adsp/tools/cavstool.py @@ -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