1
0
Fork 0

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

This commit:
  573145f08c
  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>
hifive-unleashed-5.1
Jean Pihet 2013-09-18 20:55:09 +02:00 committed by Daniel Lezcano
parent 4a10c2ac2f
commit 7b0dd72a44
1 changed files with 1 additions and 0 deletions

View File

@ -26,6 +26,7 @@ config DW_APB_TIMER_OF
config ARMADA_370_XP_TIMER
bool
select CLKSRC_OF
config ORION_TIMER
select CLKSRC_OF