From 44dd5a4da9c099648cb256c4227423b37a6d3808 Mon Sep 17 00:00:00 2001 From: Kai Vehmanen Date: Mon, 27 May 2024 19:38:33 +0300 Subject: [PATCH] soc: intel_adsp: tools: fix ace20 fw load flow Use the correct register to read ROM status on intel_adsp_ace20. Without this this fix, firmware load is successful but boot takes extra 2 seconds and following warning was emitted: WARNING:cavs-fw:Load failed? ROM_STATUS = 0x0 The log-only mode (-l) was not working at all and is fixed by this commit. Signed-off-by: Kai Vehmanen --- soc/intel/intel_adsp/tools/cavstool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/soc/intel/intel_adsp/tools/cavstool.py b/soc/intel/intel_adsp/tools/cavstool.py index b10cfa135fc..ac9624f744b 100755 --- a/soc/intel/intel_adsp/tools/cavstool.py +++ b/soc/intel/intel_adsp/tools/cavstool.py @@ -281,7 +281,7 @@ def map_regs(): dsp.HFIPCXCTL = 0x73228 dsp.HFIPCXTDDY = 0x73300 dsp.HFIPCXIDDY = 0x73380 - dsp.ROM_STATUS = 0x163200 + dsp.ROM_STATUS = 0x163200 if ace15 else 0x160200 dsp.SRAM_FW_STATUS = WINDOW_BASE_ACE else: dsp.ADSPCS = 0x00004