aboutsummaryrefslogtreecommitdiff
path: root/hw/arm_timer.c
diff options
context:
space:
mode:
authorMark Langsdorf <mark.langsdorf@calxeda.com>2012-01-17 10:54:07 +0000
committerPeter Maydell <peter.maydell@linaro.org>2012-01-17 10:54:07 +0000
commit100cf55ff98ce7e9b7ff3747479fa924c9e4505b (patch)
tree3c175c9d1636374d3882b21b196e3df897ee1fec /hw/arm_timer.c
parent5a15758874cfad886e637e015baa7888a0c60262 (diff)
arm: Remove incorrect comment in arm_timer
The current comment says that the arm_timers are restricted to between 32 KHz and 1 MHz, but sp804 TRM does not specify those limits. Signed-off-by: Mark Langsdorf <mark.langsdorf@calxeda.com> Reviewed-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/arm_timer.c')
-rw-r--r--hw/arm_timer.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/hw/arm_timer.c b/hw/arm_timer.c
index 1902f1a7b9..ead2535f91 100644
--- a/hw/arm_timer.c
+++ b/hw/arm_timer.c
@@ -273,11 +273,8 @@ static int sp804_init(SysBusDevice *dev)
qi = qemu_allocate_irqs(sp804_set_irq, s, 2);
sysbus_init_irq(dev, &s->irq);
- /* The timers are configurable between 32kHz and 1MHz
- * defaulting to 1MHz but overrideable as individual properties */
s->timer[0] = arm_timer_init(s->freq0);
s->timer[1] = arm_timer_init(s->freq1);
-
s->timer[0]->irq = qi[0];
s->timer[1]->irq = qi[1];
memory_region_init_io(&s->iomem, &sp804_ops, s, "sp804", 0x1000);