ARM: S5P: Change S5P_TIMER_IRQ based to 11 for SAMSUNG S5P series.
Subsystems (3)
PATCH 1/1 ARM: S5P: Change S5P_TIMER_IRQ based to 11 for SAMSUNG S5P series.
From: Atul Dahiya <[email protected]>
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.
--- arch/arm/plat-s5p/include/plat/irqs.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/plat-s5p/include/plat/irqs.h +1 -1
@@ -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)
Signature · 1 line
1.6.2.5
Quoted 5 lines · Kukjin Kim
From: Atul Dahiya <[email protected]>
Currently,
S5P_TIMER_IRQis based at the end of VICs. This patch changes theS5P_TIMER_IRQbase from end of VICs to 11 in ISA IRQ space. No of VICs varies between SOCs. This causes an exception on S5P6442.
It would have been nice to have included the extact warning it tripped, to make the bug report clearer.
The main omission is that we no longer want to reserve the traditional ISA space as done on previous architectures,so a note about the reuse of this space would have been useful. I'll edit the commit message before applying this.
Quoted 19 lines
Signed-off-by Atul Dahiya <[email protected]>Signed-off-by Kukjin Kim <[email protected]>--- arch/arm/plat-s5p/include/plat/irqs.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)arch/arm/plat-s5p/include/plat/irqs.h +1
-1@@ -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)
Signature · 4 lines
Ben Q: What's a light-year? A: One-third less calories than a regular year.