diff options
author | Wolfgang Denk <wd@pollux.denx.de> | 2005-10-06 17:08:18 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@pollux.denx.de> | 2005-10-06 17:08:18 +0200 |
commit | 87cb6862b94e342d6c99467e0dbb0d4f625cc7ef (patch) | |
tree | 82c6530f0de6cc1e224cdc17458ab6a503cf072f /cpu/arm720t/interrupts.c | |
parent | bccae9039e59ac09a776429119389a6a4e679fd7 (diff) | |
download | u-boot-imx-87cb6862b94e342d6c99467e0dbb0d4f625cc7ef.zip u-boot-imx-87cb6862b94e342d6c99467e0dbb0d4f625cc7ef.tar.gz u-boot-imx-87cb6862b94e342d6c99467e0dbb0d4f625cc7ef.tar.bz2 |
Update make target for ARM supported boards.
Use lowlevel_init() instead of platformsetup() [rename].
Patch by Peter Pearse, 06 Oct 2005
Diffstat (limited to 'cpu/arm720t/interrupts.c')
-rw-r--r-- | cpu/arm720t/interrupts.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cpu/arm720t/interrupts.c b/cpu/arm720t/interrupts.c index d0eaca5..575d923 100644 --- a/cpu/arm720t/interrupts.c +++ b/cpu/arm720t/interrupts.c @@ -193,6 +193,8 @@ void do_irq (struct pt_regs *pt_regs) /* clear pending interrupt */ PUT_REG( REG_INTPEND, (1<<(pending>>2))); } +#elif defined(CONFIG_INTEGRATOR) && defined(CONFIG_ARCH_INTEGRATOR) + /* No do_irq() for IntegratorAP/CM720T as yet */ #else #error do_irq() not defined for this CPU type #endif @@ -219,6 +221,10 @@ static void timer_isr( void *data) { static ulong timestamp; static ulong lastdec; +#if defined(CONFIG_INTEGRATOR) && defined(CONFIG_ARCH_INTEGRATOR) + /* Use IntegratorAP routines in board/integratorap.c */ +#else + int interrupt_init (void) { @@ -296,6 +302,8 @@ int interrupt_init (void) return (0); } +#endif /* ! IntegratorAP */ + /* * timer without interrupts */ @@ -398,6 +406,8 @@ void udelay (unsigned long usec) } +#elif defined(CONFIG_INTEGRATOR) && defined(CONFIG_ARCH_INTEGRATOR) + /* No timer routines for IntegratorAP/CM720T as yet */ #else #error Timer routines not defined for this CPU type #endif |