arm: clocksource: mvebu: Use the main timer as clock source from DT
authorJean Pihet <jean.pihet@linaro.org>
Wed, 18 Sep 2013 18:55:09 +0000 (20:55 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 26 Sep 2013 00:30:15 +0000 (02:30 +0200)
commit7b0dd72a4401d999dac70377f5d423b8e6d44f4b
treee8d34242e12906da25bb11fea2206c624e305312
parent4a10c2ac2f368583138b774ca41fac4207911983
arm: clocksource: mvebu: Use the main timer as clock source from DT

This commit:
  573145f08c2b92c45498468afbbba909f6ce6135
  clocksource: armada-370-xp: Use CLOCKSOURCE_OF_DECLARE

replaced a call to the driver's timer initialization by a call to
clocksource_of_init(). However, it failed to select CONFIG_CLKSRC_OF.

Fix this by selecting CONFIG_CLKSRC_OF for Armada370/XP machines.
Without this change the kernel is stuck at: 'Calibrating delay loop...'.

Signed-off-by: Jean Pihet <jean.pihet@linaro.org>
Acked-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/Kconfig