summaryrefslogtreecommitdiff
path: root/cpu/arm920t/s3c24x0/interrupts.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@openmoko.org>2007-12-19 14:19:38 +0100
committerWolfgang Denk <wd@denx.de>2008-02-04 23:49:13 +0100
commitbe19bd5cd0f454b63298844a0b5377e029b2caad (patch)
tree965f1a57e000fa705c64f82659a938084e1f4a50 /cpu/arm920t/s3c24x0/interrupts.c
parenta41dbbd98d201d8aea31b5d21df4742c20cd7eda (diff)
downloadu-boot-imx-be19bd5cd0f454b63298844a0b5377e029b2caad.zip
u-boot-imx-be19bd5cd0f454b63298844a0b5377e029b2caad.tar.gz
u-boot-imx-be19bd5cd0f454b63298844a0b5377e029b2caad.tar.bz2
ARM: arm920/s3c24xx: IRQ demulitplexer callback
This patch adds a IRQ demultiplexer callback to the arm920 cpu core code, plus a stub implementation of it for the S3C2410. The purpose is to allow arm920t implementations such as the s3c24x0 to implement interrupt handlers in u-boot without having to touch core arm920t code. Signed-off-by: Harald Welte <laforge@openmoko.org>
Diffstat (limited to 'cpu/arm920t/s3c24x0/interrupts.c')
-rw-r--r--cpu/arm920t/s3c24x0/interrupts.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/cpu/arm920t/s3c24x0/interrupts.c b/cpu/arm920t/s3c24x0/interrupts.c
index 1b36412..7ad9fcb 100644
--- a/cpu/arm920t/s3c24x0/interrupts.c
+++ b/cpu/arm920t/s3c24x0/interrupts.c
@@ -216,4 +216,13 @@ void reset_cpu (ulong ignored)
/*NOTREACHED*/
}
+#ifdef CONFIG_USE_IRQ
+void s3c2410_irq(void)
+{
+ S3C24X0_INTERRUPT * irq = S3C24X0_GetBase_INTERRUPT();
+ u_int32_t intpnd = irq->INTPND;
+
+}
+#endif /* USE_IRQ */
+
#endif /* defined(CONFIG_S3C2400) || defined (CONFIG_S3C2410) || defined (CONFIG_TRAB) */