]> git.sur5r.net Git - u-boot/commitdiff
tsec driver should clear RHALT on startup
authorDan Wilson <dwilson@fulcrummicro.com>
Fri, 19 Oct 2007 16:33:48 +0000 (11:33 -0500)
committerAndrew Fleming-AFLEMING <afleming@freescale.com>
Fri, 19 Oct 2007 16:33:48 +0000 (11:33 -0500)
This was causing problems for some people.

Signed-off-by: Alain Gravel <agravel@fulcrummicro.com>
Signed-off-by: Dan Wilson <dwilson@fulcrummicro.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
drivers/tsec.c

index 4ff3339c7de40d64955b9937470e923f2f939daa..7ba8f0cace90eeeb61d40eb26f0860bc844cc4f1 100644 (file)
@@ -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);
 }