summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@org.rmk.(none)>2005-01-10 21:48:31 +0000
committerRussell King <rmk@flint.arm.linux.org.uk>2005-01-10 21:48:31 +0000
commite911b333ab9ec0b637b8656d7ca57267a5601df1 (patch)
treec2291245bb6e85bc85b0fa7d51944595e39aa332 /include
parent020af26601348413538994709defc57030aee487 (diff)
[ARM PATCH] 2374/1: S3C2410 - remove unused code from entry-macro.S
Patch from Ben Dooks Remove code for decoding LCD Frame/FIFO IRQs from the include/asm-arm/arch-s3c2410/entry-macro.S file. These are not currently implemented, and should be decoded by a chained IRQ handler from the irq code. Signed-off-by: Ben Dooks Signed-off-by: Russell King
Diffstat (limited to 'include')
-rw-r--r--include/asm-arm/arch-s3c2410/entry-macro.S17
1 files changed, 1 insertions, 16 deletions
diff --git a/include/asm-arm/arch-s3c2410/entry-macro.S b/include/asm-arm/arch-s3c2410/entry-macro.S
index c5d0310e96c5..4cc886ed1dbb 100644
--- a/include/asm-arm/arch-s3c2410/entry-macro.S
+++ b/include/asm-arm/arch-s3c2410/entry-macro.S
@@ -17,8 +17,6 @@
teq \irqnr, #4
teqne \irqnr, #5
beq 1002f @ external irq reg
- teq \irqnr, #16
- beq 1003f @ lcd controller
@ debug check to see if interrupt reported is the same
@ as the offset....
@@ -51,7 +49,7 @@
ldmfd r13!, { r0 - r4 , r8-r12, r14 }
#endif
- @ try working out interript number for ourselves
+ @ try working out interrupt number for ourselves
mov \irqnr, #0
ldr \irqstat, [ \tmp, #0x10 ] @ INTPND
10021:
@@ -102,19 +100,6 @@
@ found no interrupt, set Z flag and leave
movs \irqnr, #0
- b 1001f
-
-1003:
- @ lcd interrupt has been asserted...
- add \tmp, \tmp, #S3C2410_VA_LCD - S3C2410_VA_IRQ
- ldr \irqstat, [ \tmp, # 0x54 ] @ lcd int pending
-
- tst \irqstat, #2
- movne \irqnr, #IRQ_LCD_FRAME
- tst \irqstat, #1
- movne \irqnr, #IRQ_LCD_FIFO
-
- @ fall through to exit with flags updated
1004: @ ensure Z flag clear in case our MOVS shifted out the last bit
teq \irqnr, #0