Skip to content
Commit 76a7b3cf authored by Yong Cong Sin's avatar Yong Cong Sin Committed by Carles Cufí
Browse files

drivers: intc: plic: initial refactor for multi-instance support



Use a config struct to store per-instance device config during
init and connect the IRQ based on the devicetree instead of
hardcoded value and instance number.

The `get_plic_dev_from_irq` is still a placeholder for now and
always return the first instance.

Signed-off-by: default avatarYong Cong Sin <ycsin@meta.com>
parent b72e5c1f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment