Commit e911b333 authored by Ben Dooks's avatar Ben Dooks Committed by Russell King

[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
parent 020af266
...@@ -17,8 +17,6 @@ ...@@ -17,8 +17,6 @@
teq \irqnr, #4 teq \irqnr, #4
teqne \irqnr, #5 teqne \irqnr, #5
beq 1002f @ external irq reg beq 1002f @ external irq reg
teq \irqnr, #16
beq 1003f @ lcd controller
@ debug check to see if interrupt reported is the same @ debug check to see if interrupt reported is the same
@ as the offset.... @ as the offset....
...@@ -51,7 +49,7 @@ ...@@ -51,7 +49,7 @@
ldmfd r13!, { r0 - r4 , r8-r12, r14 } ldmfd r13!, { r0 - r4 , r8-r12, r14 }
#endif #endif
@ try working out interript number for ourselves @ try working out interrupt number for ourselves
mov \irqnr, #0 mov \irqnr, #0
ldr \irqstat, [ \tmp, #0x10 ] @ INTPND ldr \irqstat, [ \tmp, #0x10 ] @ INTPND
10021: 10021:
...@@ -102,19 +100,6 @@ ...@@ -102,19 +100,6 @@
@ found no interrupt, set Z flag and leave @ found no interrupt, set Z flag and leave
movs \irqnr, #0 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 1004: @ ensure Z flag clear in case our MOVS shifted out the last bit
teq \irqnr, #0 teq \irqnr, #0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment