arm_timer: fix oneshot mode
commita9cf98d939c4f6539fad7e7d812ea16d96ba3dc9
authorRabin Vincent <rabin@rab.in>
Sun, 2 May 2010 09:50:52 +0000 (2 15:20 +0530)
committerAurelien Jarno <aurelien@aurel32.net>
Fri, 21 May 2010 10:00:22 +0000 (21 12:00 +0200)
tree3552913c1ed28779ac10d631ed66610285b88fb6
parentd6759902cb467c002086853d2eb38fb969c29f7f
arm_timer: fix oneshot mode

In oneshot mode, the delta needs to come from the TimerLoad register,
not the maximum limit.

Signed-off-by: Rabin Vincent <rabin@rab.in>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
hw/arm_timer.c