projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7600d47
)
tsec driver should clear RHALT on startup
author
Dan Wilson
<dwilson@fulcrummicro.com>
Fri, 19 Oct 2007 16:33:48 +0000
(11:33 -0500)
committer
Andrew 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
patch
|
blob
|
history
diff --git
a/drivers/tsec.c
b/drivers/tsec.c
index 4ff3339c7de40d64955b9937470e923f2f939daa..7ba8f0cace90eeeb61d40eb26f0860bc844cc4f1 100644
(file)
--- 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);
}