From 09d604bc3619fcadc4118760110afec622cc9b76 Mon Sep 17 00:00:00 2001 From: Tomasz Leman Date: Tue, 17 Oct 2023 10:52:54 +0200 Subject: [PATCH] soc: intel_adsp: lpsram enable retention mode This patch enables memory retention mode on lpsram. Signed-off-by: Tomasz Leman --- soc/xtensa/intel_adsp/ace/sram.c | 1 + 1 file changed, 1 insertion(+) diff --git a/soc/xtensa/intel_adsp/ace/sram.c b/soc/xtensa/intel_adsp/ace/sram.c index 0a7aac78d10ce1..fb3348e0f33a82 100644 --- a/soc/xtensa/intel_adsp/ace/sram.c +++ b/soc/xtensa/intel_adsp/ace/sram.c @@ -41,6 +41,7 @@ __imr void lp_sram_init(void) for (idx = 0; idx < lpsram_ebb_quantity; ++idx) { LPSRAM_REGS(idx)->USxPGCTL = 0; + LPSRAM_REGS(idx)->USxRMCTL = 1; } for (idx = 0; idx < lpsram_ebb_quantity; ++idx) { while (LPSRAM_REGS(idx)->USxPGISTS != 0) {