rockchip: make sure timer7 is enabled on rk3288 platforms
authorHeiko Stuebner <heiko@sntech.de>
Tue, 20 Jan 2015 22:47:30 +0000 (23:47 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 16 Apr 2015 19:22:17 +0000 (21:22 +0200)
commit2a9fe3ca84afff6259820c4f62e579f41476becc
treea1ffd35f5a018419b42f23c11c5c3dc0a245de17
parentb403125d3bbf8046c1186e1a49cb17bb5551db14
rockchip: make sure timer7 is enabled on rk3288 platforms

timer7 supplies the architected timer and thus as has to run when
the system clocksource and clockevents drivers are registered.

While it should be the responsibility of the bootloader to do this,
and there exists a fix in a community u-boot, all u-boot based systems
that actually shipped have the mentioned issue.

Therefore to not require every developer to update their u-boot, add a
snippet for this, enabling the timer early in the kernel.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/mach-rockchip/rockchip.c