aboutsummaryrefslogtreecommitdiff
path: root/drivers/timer/arm_global_timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/timer/arm_global_timer.c')
-rw-r--r--drivers/timer/arm_global_timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/timer/arm_global_timer.c b/drivers/timer/arm_global_timer.c
index 065f10bb74..2e50d9fbc5 100644
--- a/drivers/timer/arm_global_timer.c
+++ b/drivers/timer/arm_global_timer.c
@@ -59,7 +59,7 @@ static int arm_global_timer_probe(struct udevice *dev)
return ret;
uc_priv->clock_rate = ret;
} else {
- uc_priv->clock_rate = CONFIG_SYS_HZ_CLOCK;
+ uc_priv->clock_rate = CFG_SYS_HZ_CLOCK;
}
/* init timer */