Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 98647
b: refs/heads/master
c: 8986d2f
h: refs/heads/master
i:
  98645: 0148d62
  98643: 04cb85a
  98639: 8e9a057
v: v3
  • Loading branch information
Atsushi Nemoto authored and Ralf Baechle committed Jul 3, 2008
1 parent 7583ced commit cadbfdb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7e3297dc280f88ec0c6619a895f3d449776f952e
refs/heads/master: 8986d2f50e1a9ba63f64ccbf59181886aa7898c3
3 changes: 3 additions & 0 deletions trunk/arch/mips/kernel/cevt-txx9.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,9 @@ void __init txx9_tmr_init(unsigned long baseaddr)
struct txx9_tmr_reg __iomem *tmrptr;

tmrptr = ioremap(baseaddr, sizeof(struct txx9_tmr_reg));
/* Start once to make CounterResetEnable effective */
__raw_writel(TXx9_TMTCR_CRE | TXx9_TMTCR_TCE, &tmrptr->tcr);
/* Stop and reset the counter */
__raw_writel(TXx9_TMTCR_CRE, &tmrptr->tcr);
__raw_writel(0, &tmrptr->tisr);
__raw_writel(0xffffffff, &tmrptr->cpra);
Expand Down

0 comments on commit cadbfdb

Please sign in to comment.