From: Dan Wilson Date: Fri, 19 Oct 2007 16:33:48 +0000 (-0500) Subject: tsec driver should clear RHALT on startup X-Git-Tag: v1.3.0-rc4~27^2~1^2~1^2~2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5c7ea64bb74a850a2b2303f853a8270695ad8602;p=u-boot tsec driver should clear RHALT on startup This was causing problems for some people. Signed-off-by: Alain Gravel Signed-off-by: Dan Wilson Signed-off-by: Andy Fleming --- diff --git a/drivers/tsec.c b/drivers/tsec.c index 4ff3339c7d..7ba8f0cace 100644 --- a/drivers/tsec.c +++ b/drivers/tsec.c @@ -803,6 +803,7 @@ static void startup_tsec(struct eth_device *dev) /* Tell the DMA it is clear to go */ regs->dmactrl |= DMACTRL_INIT_SETTINGS; regs->tstat = TSTAT_CLEAR_THALT; + regs->rstat = RSTAT_CLEAR_RHALT; regs->dmactrl &= ~(DMACTRL_GRS | DMACTRL_GTS); }