Skip to content

Commit 630be7e

Browse files
committed
ARM: sirf: enable sparse IRQ
Now that both irqchips for sirf are converted to not rely on legacy domains, let's move all of the platform over to sparse IRQ. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
1 parent 60dbd76 commit 630be7e

3 files changed

Lines changed: 3 additions & 17 deletions

File tree

‎arch/arm/Kconfig‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,7 @@ config ARCH_SIRF
427427
select PINCTRL
428428
select PINCTRL_SIRF
429429
select USE_OF
430+
select SPARSE_IRQ
430431
help
431432
Support for CSR SiRFprimaII/Marco/Polo platforms
432433

‎arch/arm/mach-prima2/common.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ static const char *atlas6_dt_match[] __initdata = {
4545

4646
DT_MACHINE_START(ATLAS6_DT, "Generic ATLAS6 (Flattened Device Tree)")
4747
/* Maintainer: Barry Song <baohua.song@csr.com> */
48+
.nr_irqs = 128,
4849
.map_io = sirfsoc_map_io,
4950
.init_irq = irqchip_init,
5051
.init_time = sirfsoc_prima2_timer_init,
@@ -63,6 +64,7 @@ static const char *prima2_dt_match[] __initdata = {
6364

6465
DT_MACHINE_START(PRIMA2_DT, "Generic PRIMA2 (Flattened Device Tree)")
6566
/* Maintainer: Barry Song <baohua.song@csr.com> */
67+
.nr_irqs = 128,
6668
.map_io = sirfsoc_map_io,
6769
.init_irq = irqchip_init,
6870
.init_time = sirfsoc_prima2_timer_init,

‎arch/arm/mach-prima2/include/mach/irqs.h‎

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)