Skip to content

Commit

Permalink
arm: clocksource: mvebu: Use the main timer as clock source from DT
Browse files Browse the repository at this point in the history
This commit:
  573145f
  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>
  • Loading branch information
Jean Pihet authored and Daniel Lezcano committed Sep 26, 2013
1 parent 4a10c2a commit 7b0dd72
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/clocksource/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ config DW_APB_TIMER_OF

config ARMADA_370_XP_TIMER
bool
select CLKSRC_OF

config ORION_TIMER
select CLKSRC_OF
Expand Down

0 comments on commit 7b0dd72

Please sign in to comment.