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 <[email protected]>
Acked-by: Ezequiel Garcia <[email protected]>
Signed-off-by: Daniel Lezcano <[email protected]>
This commit is contained in:
Jean Pihet 2013-09-18 20:55:09 +02:00 • committed by Daniel Lezcano
commit 7b0dd72a44

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