]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
Use timer_init() instead of board supplied interrupt_init()
authorStelian Pop <stelian@popies.net>
Wed, 26 Mar 2008 20:52:27 +0000 (21:52 +0100)
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Mon, 31 Mar 2008 23:44:05 +0000 (01:44 +0200)
The timer on AT91CAP9/AT91SAM9 is supplied by the SoC, and not by
the board, so use timer_init() instead of interrupt_init().

Signed-off-by: Stelian Pop <stelian@popies.net>
cpu/arm926ejs/at91cap9/timer.c
cpu/arm926ejs/interrupts.c

index 4110e15b5cc107517bfb1d9a3c6821f8307c1701..c6df5bd81b85527d11bfaa2fe79ee13b6dfc245d 100644 (file)
@@ -41,7 +41,7 @@ ulong resettime;
 AT91PS_PITC p_pitc;
 
 /* nothing really to do with interrupts, just starts up a counter. */
-int interrupt_init(void)
+int timer_init(void)
 {
        /*
         * Enable PITC Clock
index 0971fea8143b39dea218648dd31b5ec0c4fd5ea0..1819f6b0787963ab3309be2c9992d8b0bbdaf03c 100644 (file)
@@ -38,7 +38,7 @@
 #include <common.h>
 #include <arm926ejs.h>
 
-#if defined(CONFIG_INTEGRATOR) || defined(CONFIG_AT91CAP9ADK)
+#ifdef CONFIG_INTEGRATOR
 
        /* Timer functionality supplied by Integrator board (AP or CP) */