Commit 7b0dd72a authored by Jean Pihet's avatar Jean Pihet Committed by Daniel Lezcano

arm: clocksource: mvebu: Use the main timer as clock source from DT

This commit:
  573145f0
  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: default avatarJean Pihet <jean.pihet@linaro.org>
Acked-by: default avatarEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
parent 4a10c2ac
...@@ -26,6 +26,7 @@ config DW_APB_TIMER_OF ...@@ -26,6 +26,7 @@ config DW_APB_TIMER_OF
config ARMADA_370_XP_TIMER config ARMADA_370_XP_TIMER
bool bool
select CLKSRC_OF
config ORION_TIMER config ORION_TIMER
select CLKSRC_OF select CLKSRC_OF
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment