sh: Support early IRQ vector map reservation for delayed controllers.
Some controllers will need to be initialized lazily due to pinmux constraints, while others may simply have no need to be brought online if there are no backing devices for them attached. In this case it's still necessary to be able to reserve their hardware vector map before dynamic IRQs get a hold of them. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
@@ -478,6 +478,9 @@ void __init plat_irq_setup_pins(int mode)
|
||||
|
||||
void __init plat_irq_setup(void)
|
||||
{
|
||||
reserve_intc_vectors(vectors_irq, ARRAY_SIZE(vectors_irq));
|
||||
reserve_intc_vectors(vectors_irl, ARRAY_SIZE(vectors_irl));
|
||||
|
||||
register_intc_controller(&intc_desc);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user