aboutsummaryrefslogtreecommitdiff
path: root/cpu/arm1136
diff options
context:
space:
mode:
authorLadislav Michl <ladis@linux-mips.org>2009-03-30 18:58:41 +0200
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-03-30 18:58:41 +0200
commit81472d893fa565c9d300928a40e504a689bde131 (patch)
treec73cd5df42b68a991ff949f8135189d385e422ab /cpu/arm1136
parentfe672d60b2a8c9e803596ba4533fa1776015551d (diff)
downloadu-boot-81472d893fa565c9d300928a40e504a689bde131.zip
u-boot-81472d893fa565c9d300928a40e504a689bde131.tar.gz
u-boot-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/arm1136')
-rw-r--r--cpu/arm1136/omap24xx/interrupts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/arm1136/omap24xx/interrupts.c b/cpu/arm1136/omap24xx/interrupts.c
index fb02a49..6be1262 100644
--- a/cpu/arm1136/omap24xx/interrupts.c
+++ b/cpu/arm1136/omap24xx/interrupts.c
@@ -49,7 +49,7 @@ int interrupt_init (void)
/* Start the counter ticking up */
*((int32_t *) (CONFIG_SYS_TIMERBASE + TLDR)) = TIMER_LOAD_VAL; /* reload value on overflow*/
- val = (CONFIG_SYS_PVT << 2) | BIT5 | BIT1 | BIT0; /* mask to enable timer*/
+ val = (CONFIG_SYS_PTV << 2) | BIT5 | BIT1 | BIT0; /* mask to enable timer*/
*((int32_t *) (CONFIG_SYS_TIMERBASE + TCLR)) = val; /* start timer */
reset_timer_masked(); /* init the timestamp and lastinc value */