Skip to content

Commit a6c7786

Browse files
committed
cavs_v25: fix copy-pasted definitions
shim.h on cAVS 2.5 contains register definitions, copy-pasted from other architectures. Fix them to correct values. Signed-off-by: Guennadi Liakhovetski <[email protected]>
1 parent 14abcaf commit a6c7786

File tree

1 file changed

+3
-3
lines changed
  • soc/xtensa/intel_adsp/cavs_v25/include/soc

1 file changed

+3
-3
lines changed

soc/xtensa/intel_adsp/cavs_v25/include/soc/shim.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -247,11 +247,11 @@
247247

248248
/** \brief LDO Control */
249249
#define SHIM_LDOCTL 0xA4
250-
#define SHIM_LDOCTL_HPSRAM_MASK (3 << 0)
250+
#define SHIM_LDOCTL_HPSRAM_MASK (3 << 0 | 3 << 16)
251251
#define SHIM_LDOCTL_LPSRAM_MASK (3 << 2)
252-
#define SHIM_LDOCTL_HPSRAM_LDO_ON (3 << 0)
252+
#define SHIM_LDOCTL_HPSRAM_LDO_ON (3 << 0 | 3 << 16)
253253
#define SHIM_LDOCTL_LPSRAM_LDO_ON (3 << 2)
254-
#define SHIM_LDOCTL_HPSRAM_LDO_BYPASS BIT(0)
254+
#define SHIM_LDOCTL_HPSRAM_LDO_BYPASS (BIT(0) | BIT(16))
255255
#define SHIM_LDOCTL_LPSRAM_LDO_BYPASS BIT(2)
256256
#define SHIM_LDOCTL_HPSRAM_LDO_OFF (0 << 0)
257257
#define SHIM_LDOCTL_LPSRAM_LDO_OFF (0 << 2)

0 commit comments

Comments
 (0)