MPFS: Remove definition and reference to MPFS_PLIC_CTRL
The register does not exist. c906 implementation has it, but MPFS does not.
This commit is contained in:
parent
0f91eab626
commit
f8ffcbbf36
@ -97,8 +97,6 @@
|
||||
#define MPFS_PLIC_H4_SIE4 (MPFS_PLIC_BASE + 0x002410)
|
||||
#define MPFS_PLIC_H4_SIE5 (MPFS_PLIC_BASE + 0x002414)
|
||||
|
||||
#define MPFS_PLIC_CTRL (MPFS_PLIC_BASE + 0x1FFFFC)
|
||||
|
||||
#define MPFS_PLIC_NEXTHART_OFFSET (0x2000)
|
||||
#define MPFS_PLIC_MTHRESHOLD_OFFSET (0x0000)
|
||||
#define MPFS_PLIC_MCLAIM_OFFSET (0x0004)
|
||||
|
@ -60,10 +60,6 @@ void up_irqinitialize(void)
|
||||
|
||||
up_disable_irq(RISCV_IRQ_MTIMER);
|
||||
|
||||
/* enable access from supervisor mode */
|
||||
|
||||
putreg32(0x1, MPFS_PLIC_CTRL);
|
||||
|
||||
/* Disable all global interrupts for current hart */
|
||||
|
||||
uint64_t hart_id = READ_CSR(mhartid);
|
||||
|
Loading…
Reference in New Issue
Block a user