drivers: intc: litex: remove machine timer IRQ usage
This platform does not use RISC-V machine timer, however, the interrupt controller had references to its IRQ. Remove them. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
parent
1c41423210
commit
3a19948510
1 changed files with 1 additions and 2 deletions
|
@ -124,8 +124,7 @@ static int vexriscv_litex_irq_init(const struct device *dev)
|
|||
{
|
||||
ARG_UNUSED(dev);
|
||||
__asm__ volatile ("csrrs x0, mie, %0"
|
||||
:: "r"((1 << RISCV_MACHINE_TIMER_IRQ)
|
||||
| (1 << RISCV_MACHINE_EXT_IRQ)));
|
||||
:: "r"(1 << RISCV_MACHINE_EXT_IRQ));
|
||||
vexriscv_litex_irq_setie(1);
|
||||
IRQ_CONNECT(RISCV_MACHINE_EXT_IRQ, 0, vexriscv_litex_irq_handler,
|
||||
NULL, 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue