diff options
author | Wolfgang Denk <wd@denx.de> | 2007-05-17 00:06:11 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2007-05-17 00:06:11 +0200 |
commit | 3a71b5ca775fc9cf506c12d91925019591446c7c (patch) | |
tree | 0eb875a5ed89145e1d73ce411b8e2705a53132bd /cpu/microblaze/timer.c | |
parent | 3162eb836903c8b247fdc7470dd39bfa6996f495 (diff) | |
parent | 70124c2602ae2d4c5d3dba05b482d91548242de8 (diff) | |
download | u-boot-imx-3a71b5ca775fc9cf506c12d91925019591446c7c.zip u-boot-imx-3a71b5ca775fc9cf506c12d91925019591446c7c.tar.gz u-boot-imx-3a71b5ca775fc9cf506c12d91925019591446c7c.tar.bz2 |
Merge with /home/git/u-boot
Diffstat (limited to 'cpu/microblaze/timer.c')
-rw-r--r-- | cpu/microblaze/timer.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cpu/microblaze/timer.c b/cpu/microblaze/timer.c index be4fd57..ab1cb12 100644 --- a/cpu/microblaze/timer.c +++ b/cpu/microblaze/timer.c @@ -24,6 +24,7 @@ #include <common.h> #include <asm/microblaze_timer.h> +#include <asm/microblaze_intc.h> volatile int timestamp = 0; @@ -44,9 +45,6 @@ void set_timer (ulong t) #ifdef CFG_INTC_0 #ifdef CFG_TIMER_0 -extern void install_interrupt_handler (int irq, interrupt_handler_t * hdlr, - void *arg); - microblaze_timer_t *tmr = (microblaze_timer_t *) (CFG_TIMER_0_ADDR); void timer_isr (void *arg) |