diff options
author | Timo Teras <timo.teras@solidboot.com> | 2006-06-26 16:16:23 -0700 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2006-06-26 16:16:23 -0700 |
commit | 83379c81f6f05a6e80db66ae33378feb4cbca6b3 (patch) | |
tree | 77d1c1b535ec0708df1325ddb0474aa878aba332 /include/asm-arm/arch-omap | |
parent | 7df3450e5c22ba3969e4253dce0d7807dd210bf0 (diff) | |
download | talos-op-linux-83379c81f6f05a6e80db66ae33378feb4cbca6b3.tar.gz talos-op-linux-83379c81f6f05a6e80db66ae33378feb4cbca6b3.zip |
ARM: OMAP: Update dmtimers
- Initialize timer outside of spinlock to reduce the time the spinlock is held
- Do clk_get to the source clocks during initialization to avoid sleeping later
- New function to set counter register
Signed-off-by: Timo Teras <timo.teras@solidboot.com>
Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'include/asm-arm/arch-omap')
-rw-r--r-- | include/asm-arm/arch-omap/dmtimer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-arm/arch-omap/dmtimer.h b/include/asm-arm/arch-omap/dmtimer.h index 5b58e3d62742..7a289ff07404 100644 --- a/include/asm-arm/arch-omap/dmtimer.h +++ b/include/asm-arm/arch-omap/dmtimer.h @@ -73,6 +73,7 @@ void omap_dm_timer_set_int_enable(struct omap_dm_timer *timer, unsigned int valu unsigned int omap_dm_timer_read_status(struct omap_dm_timer *timer); void omap_dm_timer_write_status(struct omap_dm_timer *timer, unsigned int value); unsigned int omap_dm_timer_read_counter(struct omap_dm_timer *timer); +void omap_dm_timer_write_counter(struct omap_dm_timer *timer, unsigned int value); int omap_dm_timers_active(void); |