cavs: fix LSPGISTS and LSPGCTL access
On cAVS 1.8, 2.0 and 2.5 LSPGISTS and LSPGCTL are located in a different shim register range, they cannot be accessed, using the usual SHIM_BASE offset. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
This commit is contained in:
parent
c5a763f607
commit
7242b567fc
5 changed files with 3 additions and 14 deletions
|
@ -301,8 +301,8 @@ static int32_t lp_sram_init(void)
|
|||
/* add some delay before writing power registers */
|
||||
idelay(delay_count);
|
||||
|
||||
lspgctl_value = shim_read(SHIM_LSPGISTS);
|
||||
shim_write(SHIM_LSPGCTL, lspgctl_value & ~LPSRAM_MASK(0));
|
||||
lspgctl_value = io_reg_read(LSPGISTS);
|
||||
io_reg_write(LSPGCTL, lspgctl_value & ~LPSRAM_MASK(0));
|
||||
|
||||
/* add some delay before checking the status */
|
||||
idelay(delay_count);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue