summaryrefslogtreecommitdiffstats
path: root/cpu
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2007-07-05 18:02:09 +0200
committerSascha Hauer <sha@octopus.labnet.pengutronix.de>2007-07-05 18:02:09 +0200
commitcd59a601014ce1121c51bd58901fa865975d8b5f (patch)
treeeffd93fe4f4921a79624a888dcb5ec4439b211cf /cpu
parent443b2171076b5cb44521c64077a65c3b997889a4 (diff)
downloadbarebox-cd59a601014ce1121c51bd58901fa865975d8b5f.tar.gz
barebox-cd59a601014ce1121c51bd58901fa865975d8b5f.tar.xz
svn_rev_601
Diffstat (limited to 'cpu')
-rw-r--r--cpu/mpc5xxx/interrupts.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/cpu/mpc5xxx/interrupts.c b/cpu/mpc5xxx/interrupts.c
index beb9eea7a3..8665a066b0 100644
--- a/cpu/mpc5xxx/interrupts.c
+++ b/cpu/mpc5xxx/interrupts.c
@@ -43,6 +43,7 @@
#include <command.h>
#include <asm/arch/sdma.h>
#include <asm/bitops.h>
+#include <asm/arch/clocks.h>
struct irq_action {
interrupt_handler_t *handler;
@@ -231,11 +232,11 @@ int mpc5xxx_get_irq(struct pt_regs *regs)
int interrupt_init_cpu(ulong * decrementer_count)
{
- *decrementer_count = get_tbclk() / 1000;
+ *decrementer_count = get_timebase_clock() / 1000;
mpc5xxx_init_irq();
- return (0);
+ return 0;
}
/****************************************************************************/