]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: S5P: Change S5P_TIMER_IRQ based to 11 for SAMSUNG S5P series.
authorAtul Dahiya <atul.dahiya@samsung.com>
Fri, 29 Jan 2010 00:08:28 +0000 (09:08 +0900)
committerBen Dooks <ben-linux@fluff.org>
Fri, 29 Jan 2010 01:37:34 +0000 (10:37 +0900)
Currently, S5P_TIMER_IRQ is based at the end of VICs. This patch changes
the S5P_TIMER_IRQ base from end of VICs to 11 in ISA IRQ space.
No of VICs varies between SOCs. This causes an exception on S5P6442.

Signed-off-by: Atul Dahiya <atul.dahiya@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
arch/arm/plat-s5p/include/plat/irqs.h

index 878acfe3690f6253d5ede59f2b67c4be5c40529c..101038d499440240fcd604baea42ff39d5f23d4f 100644 (file)
@@ -74,7 +74,7 @@
 #define S5P_IRQ_VIC0(x)                (S5P_VIC0_BASE + (x))
 #define S5P_IRQ_VIC1(x)                (S5P_VIC1_BASE + (x))
 
-#define S5P_TIMER_IRQ(x)       S5P_IRQ(64 + (x))
+#define S5P_TIMER_IRQ(x)       S5P_IRQ(11 + (x))
 
 #define IRQ_TIMER0             S5P_TIMER_IRQ(0)
 #define IRQ_TIMER1             S5P_TIMER_IRQ(1)