risc-v: call plic_init_hart() unconditionally
The function plic_init_hart() is part of the internal kernel API, so every SOC's PLIC implementation has to provide it, even if it is empty. Signed-off-by: Axel Heider <axel.heider@hensoldt-cyber.de>
This commit is contained in:
parent
b21faf8a9c
commit
59e8aa73a8
1 changed files with 0 additions and 2 deletions
|
|
@ -237,10 +237,8 @@ BOOT_CODE void initLocalIRQController(void)
|
||||||
{
|
{
|
||||||
printf("Init local IRQ\n");
|
printf("Init local IRQ\n");
|
||||||
|
|
||||||
#ifdef CONFIG_PLAT_HIFIVE
|
|
||||||
/* Init per-hart PLIC */
|
/* Init per-hart PLIC */
|
||||||
plic_init_hart();
|
plic_init_hart();
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Enable timer and external interrupt. If SMP is enabled, then enable the
|
/* Enable timer and external interrupt. If SMP is enabled, then enable the
|
||||||
* software interrupt also, it is usec as IPI between cores. */
|
* software interrupt also, it is usec as IPI between cores. */
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue