diff options
author | Ladislav Michl <ladis@linux-mips.org> | 2009-03-30 18:58:41 +0200 |
---|---|---|
committer | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2009-03-30 18:58:41 +0200 |
commit | 81472d893fa565c9d300928a40e504a689bde131 (patch) | |
tree | c73cd5df42b68a991ff949f8135189d385e422ab /cpu/arm926ejs/omap/timer.c | |
parent | fe672d60b2a8c9e803596ba4533fa1776015551d (diff) | |
download | u-boot-imx-81472d893fa565c9d300928a40e504a689bde131.zip u-boot-imx-81472d893fa565c9d300928a40e504a689bde131.tar.gz u-boot-imx-81472d893fa565c9d300928a40e504a689bde131.tar.bz2 |
OMAP: rename timer divisor
Divisor field is called PTV not PVT.
Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'cpu/arm926ejs/omap/timer.c')
-rw-r--r-- | cpu/arm926ejs/omap/timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/arm926ejs/omap/timer.c b/cpu/arm926ejs/omap/timer.c index 49e74ab..bedc2e7 100644 --- a/cpu/arm926ejs/omap/timer.c +++ b/cpu/arm926ejs/omap/timer.c @@ -52,7 +52,7 @@ int timer_init (void) /* Start the decrementer ticking down from 0xffffffff */ *((int32_t *) (CONFIG_SYS_TIMERBASE + LOAD_TIM)) = TIMER_LOAD_VAL; - val = MPUTIM_ST | MPUTIM_AR | MPUTIM_CLOCK_ENABLE | (CONFIG_SYS_PVT << MPUTIM_PTV_BIT); + val = MPUTIM_ST | MPUTIM_AR | MPUTIM_CLOCK_ENABLE | (CONFIG_SYS_PTV << MPUTIM_PTV_BIT); *((int32_t *) (CONFIG_SYS_TIMERBASE + CNTL_TIMER)) = val; /* init the timestamp and lastdec value */ |