riscv: Renamed PLIC driver

This renames the RISCV PLIC driver file hifive.h to riscv_plic0.h to
better reflect the fact that the driver could be used for a number of
platforms that use the PLIC used by SiFive and SiFive derived platforms.

Signed-off-by: Jesse Millwood <jesse.millwood@dornerworks.com>
This commit is contained in:
Jesse Millwood 2020-09-08 09:06:04 -04:00 committed by Gerwin Klein
parent b86bce2d4b
commit be2803cbc9
2 changed files with 1 additions and 1 deletions

View file

@ -17,7 +17,7 @@ if(KernelPlatformHifive)
list(APPEND KernelDTSList "src/plat/hifive/overlay-hifive.dts")
declare_default_headers(
TIMER_FREQUENCY 1000000llu PLIC_MAX_NUM_INT 53
INTERRUPT_CONTROLLER drivers/irq/hifive.h
INTERRUPT_CONTROLLER drivers/irq/riscv_plic0.h
)
else()
unset(KernelPlatformFirstHartID CACHE)