summaryrefslogtreecommitdiff
path: root/arch/arm/mach-iop32x/n2100.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2022-04-02 17:45:07 +0300
committerArnd Bergmann <arnd@arndb.de>2022-04-08 18:20:49 +0300
commita3102fafdce6f150e5a46e1725bb1732f8953a01 (patch)
tree294d078bcd402eea96a14706d5c64201ab791d9d /arch/arm/mach-iop32x/n2100.c
parent8c1fb11b8a77dc489a8ef6d96c38c1297b629d06 (diff)
downloadlinux-a3102fafdce6f150e5a46e1725bb1732f8953a01.tar.xz
ARM: iop32x: enable multiplatform support
After iop32x was converted to the generic multi-irq entry code, nothing really stops us from building it into a generic kernel. The two last headers can simply be removed, the mach/irqs.h gets replaced with the sparse-irq intiialization from the board specific .nr_irqs value, and the decompressor debug output can use the debug_ll hack that all other platforms use. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-iop32x/n2100.c')
-rw-r--r--arch/arm/mach-iop32x/n2100.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-iop32x/n2100.c b/arch/arm/mach-iop32x/n2100.c
index bf99e718f8b8..bb1e2e11bf35 100644
--- a/arch/arm/mach-iop32x/n2100.c
+++ b/arch/arm/mach-iop32x/n2100.c
@@ -358,6 +358,7 @@ static void __init n2100_init_machine(void)
MACHINE_START(N2100, "Thecus N2100")
/* Maintainer: Lennert Buytenhek <buytenh@wantstofly.org> */
.atag_offset = 0x100,
+ .nr_irqs = IOP32X_NR_IRQS,
.map_io = n2100_map_io,
.init_irq = iop32x_init_irq,
.init_time = n2100_timer_init,