Skip to content

Commit

Permalink
soc: intel_adsp: lpsram enable retention mode
Browse files Browse the repository at this point in the history
This patch enables memory retention mode on lpsram.

Signed-off-by: Tomasz Leman <tomasz.m.leman@intel.com>
  • Loading branch information
tmleman committed Oct 17, 2023
1 parent 5e72285 commit 09d604b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions soc/xtensa/intel_adsp/ace/sram.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 09d604b

Please sign in to comment.