ARM: tegra11: Set up tegra timer as clock source
authorBo Yan <byan@nvidia.com>
Tue, 17 Jul 2012 06:23:45 +0000 (23:23 -0700)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 19:13:52 +0000 (12:13 -0700)
commit3377fa80509190dc93137539b75685c1c3ba9dc3
tree92dfbf41f95a23d5d5b5d51ea6ace15d7cabf156
parenta65d62231305fbbd24d6cdfbbcec9e917d254a05
ARM: tegra11: Set up tegra timer as clock source

architected timer is set up for boot cpu in percpu_timer_setup, this
is quite late during system boot. Before it's done, it is necessary
to register clockevents using tegra timer.

The same thing is also true for ARM twd timer, which is already taken
care of in the code. This change merely enables the same code for
arch timer.

Change-Id: I2ffd1ffa9be8b71902cb6151462d5b6cb641a355
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/116349
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

Rebase-Id: R279b90cf0a18fcb3d126b12056c76241a558e8ef
arch/arm/mach-tegra/timer.c