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