diff options
author | Wolfgang Denk <wd@denx.de> | 2007-05-16 00:11:53 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2007-05-16 00:11:53 +0200 |
commit | d6022573746856861f86f4f514dd1c1c14aaec9a (patch) | |
tree | 5d07b2e0f2acdb4e640aeb886f127c7a5c6c47b6 /cpu/microblaze/timer.c | |
parent | e73865897fe9e2b111d7f9ef32fe428438771b11 (diff) | |
parent | e69f66c6ebe82bbbd1da766bc4eda40ec7ee5af1 (diff) | |
download | u-boot-imx-d6022573746856861f86f4f514dd1c1c14aaec9a.zip u-boot-imx-d6022573746856861f86f4f514dd1c1c14aaec9a.tar.gz u-boot-imx-d6022573746856861f86f4f514dd1c1c14aaec9a.tar.bz2 |
Merge with /home/wd/git/u-boot/custodian/u-boot-microblaze
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) |