>-----Original Message----- >From: Biwen Li <[email protected]> >Sent: Wednesday, September 25, 2019 4:11 PM >To: [email protected]; Prabhakar X ><[email protected]>; Rajesh Bhagat <[email protected]>; >Priyanka Jain <[email protected]>; Ran Wang <[email protected]>; >Leo Li <[email protected]>; Jagdish Gediya <[email protected]> >Cc: [email protected]; Biwen Li <[email protected]> >Subject: [v3,2/2] armv7: ls102xa: Don't power down OCRAM1 during deep >sleep > >Don't power down OCRAM1 for wakeup source to wakeup system in deep >sleep > >Signed-off-by: Biwen Li <[email protected]> >--- >Change in v3: > - update subject and description > >Change in v2: > - split one patch to two patches > - always not power down OCRAM1 > > arch/arm/cpu/armv7/ls102xa/ls102xa_psci.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/arch/arm/cpu/armv7/ls102xa/ls102xa_psci.c >b/arch/arm/cpu/armv7/ls102xa/ls102xa_psci.c >index afa4fd7a48..3df5a1141a 100644 >--- a/arch/arm/cpu/armv7/ls102xa/ls102xa_psci.c >+++ b/arch/arm/cpu/armv7/ls102xa/ls102xa_psci.c >@@ -74,7 +74,8 @@ static void __secure ls1_deepsleep_irq_cfg(void) > * register ippdexpcr1 itself. > */ > ippdexpcr1 = in_le32(&scfg->sparecr[7]); >- out_be32(&rcpm->ippdexpcr1, ippdexpcr1); >+ /* Always not power down OCRAM1 */ >+ out_be32(&rcpm->ippdexpcr1, ippdexpcr1 | >RCPM_IPPDEXPCR1_OCRAM1); > > if (ippdexpcr0 & RCPM_IPPDEXPCR0_ETSEC) > pmcintecr |= SCFG_PMCINTECR_ETSECRXG0 | >-- >2.17.1
Updated description and comment in code. Applied to fsl-qoriq master, awaiting upstream. Thanks priyankajain _______________________________________________ U-Boot mailing list [email protected] https://lists.denx.de/listinfo/u-boot

