soc: intel_adsp: tools: align code style in maps_regs()
Cosmetic change to align code style when initializing DSP registers. The code in intel_is_ace() branch was moved as-is from acetool.py when the two tools were merged to make reviewing easier. Fix the code style to be coherent in the merged cavstool.py. No functional change. Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
This commit is contained in:
parent
44dd5a4da9
commit
db00b813f0
1 changed files with 11 additions and 11 deletions
|
@ -270,18 +270,18 @@ def map_regs():
|
|||
(bar4_mem, bar4_mmap) = bar_map(pcidir, 4)
|
||||
dsp = Regs(bar4_mem)
|
||||
if adsp_is_ace():
|
||||
dsp.HFDSSCS = 0x1000
|
||||
dsp.HFPWRCTL = 0x1d18
|
||||
dsp.HFPWRSTS = 0x1d1c
|
||||
dsp.HFDSSCS = 0x1000
|
||||
dsp.HFPWRCTL = 0x1d18
|
||||
dsp.HFPWRSTS = 0x1d1c
|
||||
dsp.DSP2CXCTL_PRIMARY = 0x178d04
|
||||
dsp.HFIPCXTDR = 0x73200
|
||||
dsp.HFIPCXTDA = 0x73204
|
||||
dsp.HFIPCXIDR = 0x73210
|
||||
dsp.HFIPCXIDA = 0x73214
|
||||
dsp.HFIPCXCTL = 0x73228
|
||||
dsp.HFIPCXTDDY = 0x73300
|
||||
dsp.HFIPCXIDDY = 0x73380
|
||||
dsp.ROM_STATUS = 0x163200 if ace15 else 0x160200
|
||||
dsp.HFIPCXTDR = 0x73200
|
||||
dsp.HFIPCXTDA = 0x73204
|
||||
dsp.HFIPCXIDR = 0x73210
|
||||
dsp.HFIPCXIDA = 0x73214
|
||||
dsp.HFIPCXCTL = 0x73228
|
||||
dsp.HFIPCXTDDY = 0x73300
|
||||
dsp.HFIPCXIDDY = 0x73380
|
||||
dsp.ROM_STATUS = 0x163200 if ace15 else 0x160200
|
||||
dsp.SRAM_FW_STATUS = WINDOW_BASE_ACE
|
||||
else:
|
||||
dsp.ADSPCS = 0x00004
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue