ARM: 5863/1: fix bugs of clock source of NUC900
authorLi Jie <eltshanli@gmail.com>
Thu, 31 Dec 2009 14:57:53 +0000 (15:57 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 5 Jan 2010 20:52:10 +0000 (20:52 +0000)
commit1368c51c501978e5c4148322b7c77d4f49549557
treefaf0beee26ecee8944b78dbf493f3d4c141125ab
parent070f1f178c4377c09f72e414513aeacd8403f6d6
ARM: 5863/1: fix bugs of clock source of NUC900

This patch fix following bugs:

1. typo error, CLOCK_EVT_MODE_PERIODIC -> CLOCK_EVT_FEAT_PERIODIC
2. TCSR register of timer1 missed PRESCALE
3. timer1 should be enabled before register it to clock source.

Signed-off-by: lijie <eltshanli@gmail.com>
Acked-by: Wan ZongShun <mcuos.com@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-w90x900/time.c