mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-13 05:55:02 -04:00
Use timer_init() instead of board supplied interrupt_init()
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>
This commit is contained in:
parent
5604e2178c
commit
61106a5658
@ -41,7 +41,7 @@ ulong resettime;
|
|||||||
AT91PS_PITC p_pitc;
|
AT91PS_PITC p_pitc;
|
||||||
|
|
||||||
/* nothing really to do with interrupts, just starts up a counter. */
|
/* nothing really to do with interrupts, just starts up a counter. */
|
||||||
int interrupt_init(void)
|
int timer_init(void)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* Enable PITC Clock
|
* Enable PITC Clock
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
#include <common.h>
|
#include <common.h>
|
||||||
#include <arm926ejs.h>
|
#include <arm926ejs.h>
|
||||||
|
|
||||||
#if defined(CONFIG_INTEGRATOR) || defined(CONFIG_AT91CAP9ADK)
|
#ifdef CONFIG_INTEGRATOR
|
||||||
|
|
||||||
/* Timer functionality supplied by Integrator board (AP or CP) */
|
/* Timer functionality supplied by Integrator board (AP or CP) */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user