mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 22:20:45 +00:00
armv7: ls102xa: Don't power down OCRAM1 during deep sleep
To allow OCRAM to be used as wakeup source in deep sleep, do not power it down. Signed-off-by: Biwen Li <biwen.li@nxp.com> Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
This commit is contained in:
parent
1936841b11
commit
d20f184ce3
1 changed files with 6 additions and 1 deletions
|
@ -74,7 +74,12 @@ static void __secure ls1_deepsleep_irq_cfg(void)
|
|||
* is first saved to a spare register and then read from it
|
||||
*/
|
||||
ippdexpcr1 = in_be32(&scfg->sparecr[7]);
|
||||
out_be32(&rcpm->ippdexpcr1, ippdexpcr1);
|
||||
|
||||
/*
|
||||
* To allow OCRAM to be used as wakeup source in deep sleep,
|
||||
* do not power it down.
|
||||
*/
|
||||
out_be32(&rcpm->ippdexpcr1, ippdexpcr1 | RCPM_IPPDEXPCR1_OCRAM1);
|
||||
|
||||
if (ippdexpcr0 & RCPM_IPPDEXPCR0_ETSEC)
|
||||
pmcintecr |= SCFG_PMCINTECR_ETSECRXG0 |
|
||||
|
|
Loading…
Reference in a new issue