Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 339717
b: refs/heads/master
c: ffe5cd8
h: refs/heads/master
i:
  339715: 55de508
v: v3
  • Loading branch information
Jean-Christophe PLAGNIOL-VILLARD committed Nov 6, 2012
1 parent 038f1a3 commit 912a7b3
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 35 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 176bdd2c54ffddb4ea0ba1d1db170832f2085e61
refs/heads/master: ffe5cd8e3a5b0b6e13d3f51d3abab5715df75ff0
14 changes: 12 additions & 2 deletions trunk/arch/arm/mach-at91/at91sam926x_time.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,18 @@

#include <asm/mach/time.h>

#include <mach/at91_pit.h>

#define AT91_PIT_MR 0x00 /* Mode Register */
#define AT91_PIT_PITIEN (1 << 25) /* Timer Interrupt Enable */
#define AT91_PIT_PITEN (1 << 24) /* Timer Enabled */
#define AT91_PIT_PIV (0xfffff) /* Periodic Interval Value */

#define AT91_PIT_SR 0x04 /* Status Register */
#define AT91_PIT_PITS (1 << 0) /* Timer Status */

#define AT91_PIT_PIVR 0x08 /* Periodic Interval Value Register */
#define AT91_PIT_PIIR 0x0c /* Periodic Interval Image Register */
#define AT91_PIT_PICNT (0xfff << 20) /* Interval Counter */
#define AT91_PIT_CPIV (0xfffff) /* Inverval Value */

#define PIT_CPIV(x) ((x) & AT91_PIT_CPIV)
#define PIT_PICNT(x) (((x) & AT91_PIT_PICNT) >> 20)
Expand Down
32 changes: 0 additions & 32 deletions trunk/arch/arm/mach-at91/include/mach/at91_pit.h

This file was deleted.

0 comments on commit 912a7b3

Please sign in to comment.