summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mvebu/timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-mvebu/timer.c')
-rw-r--r--arch/arm/mach-mvebu/timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-mvebu/timer.c b/arch/arm/mach-mvebu/timer.c
index aef2df2f7a..f5c2eaa808 100644
--- a/arch/arm/mach-mvebu/timer.c
+++ b/arch/arm/mach-mvebu/timer.c
@@ -31,7 +31,7 @@ int timer_init(void)
writel(TIMER_LOAD_VAL, MVEBU_TIMER_BASE + 0x10);
writel(TIMER_LOAD_VAL, MVEBU_TIMER_BASE + 0x14);
-#if defined(CONFIG_ARMADA_XP)
+#if defined(CONFIG_ARCH_MVEBU)
/* On Armada XP / 38x ..., the 25MHz clock source needs to be enabled */
setbits_le32(MVEBU_TIMER_BASE + 0x00, BIT(11));
#endif