summaryrefslogtreecommitdiff
path: root/cpu/mpc5xxx/interrupts.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/mpc5xxx/interrupts.c')
-rw-r--r--cpu/mpc5xxx/interrupts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/mpc5xxx/interrupts.c b/cpu/mpc5xxx/interrupts.c
index 8816dd1e2d..6035771eeb 100644
--- a/cpu/mpc5xxx/interrupts.c
+++ b/cpu/mpc5xxx/interrupts.c
@@ -229,7 +229,7 @@ int mpc5xxx_get_irq(struct pt_regs *regs)
int interrupt_init_cpu(ulong * decrementer_count)
{
- *decrementer_count = get_tbclk() / CFG_HZ;
+ *decrementer_count = get_tbclk() / CONFIG_SYS_HZ;
mpc5xxx_init_irq();