Skip to content
Commit 98ac0cc2 authored by Linus Walleij's avatar Linus Walleij
Browse files

ARM: ixp4xx: Convert to MULTI_IRQ_HANDLER



This rewrites the IXP4xx to use MULTI_IRQ_HANDLER and
create an irqdomain for the irqchip in the platform. We
convert the timer to request the interrupt like any other
driver in the process.

We bump all IRQs to 16+offset to avoid using IRQ 0 and
set NR_IRQS to 512 (the default for most systems).
This conveniently fits with the first 16 IRQs being
pre-allocated when using SPARSE_IRQ.

This is a prerequisite for SPARSE_IRQ and DT boot.

Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 64534e06
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