tsec driver should clear RHALT on startup
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>
This commit is contained in:
parent
7600d47b8f
commit
5c7ea64bb7
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user