PMUFW: Release RPU island reset on power up

swbeta2 commit 572db0eb0f48b4f7f5684abea721c6fac92ccdee

When powering up the RPU island the individual RPU core resets as well
as the reset for the whole island are asserted. To ensure proper resume,
the island reset needs to be released when the island is powered up.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
This commit is contained in:
Soren Brinkmann 2015-04-12 20:24:21 -07:00 committed by Nava kishore Manne
parent 6fcdc41593
commit 12c2e29937

View file

@ -128,8 +128,17 @@ static u32 PmPwrUpHandler(PmNode* const nodePtr)
ret = XST_SUCCESS;
break;
case NODE_RPU:
{
u32 reg;
ret = XpbrPwrUpRpuHandler();
/* release RPU island reset */
reg = Xil_In32(CRL_APB_RST_LPD_TOP);
reg &= ~CRL_APB_RST_LPD_TOP_RPU_PGE_RESET_MASK;
Xil_Out32(CRL_APB_RST_LPD_TOP, reg);
break;
}
default:
PmDbg("%s ERROR - unsupported node %s(%d)\n", __func__,
PmStrNode(nodePtr->nodeId), nodePtr->nodeId);