soc: intel_adsp: hpsram enable retention mode
This patch enables memory retention mode on hpsram. Signed-off-by: Tomasz Leman <tomasz.m.leman@intel.com>
This commit is contained in:
parent
16f729214b
commit
eeb4f2f76d
1 changed files with 1 additions and 0 deletions
|
@ -24,6 +24,7 @@ __imr void hp_sram_init(uint32_t memory_size)
|
|||
|
||||
for (idx = 0; idx < hpsram_ebb_quantity; ++idx) {
|
||||
HPSRAM_REGS(idx)->HSxPGCTL = 0;
|
||||
HPSRAM_REGS(idx)->HSxRMCTL = 1;
|
||||
}
|
||||
for (idx = 0; idx < hpsram_ebb_quantity; ++idx) {
|
||||
while (HPSRAM_REGS(idx)->HSxPGISTS != 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue