From be2803cbc9bf0686a1d0cf6d762fbf1af34130ac Mon Sep 17 00:00:00 2001 From: Jesse Millwood Date: Tue, 8 Sep 2020 09:06:04 -0400 Subject: [PATCH] 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 --- include/drivers/irq/{hifive.h => riscv_plic0.h} | 0 src/plat/hifive/config.cmake | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename include/drivers/irq/{hifive.h => riscv_plic0.h} (100%) diff --git a/include/drivers/irq/hifive.h b/include/drivers/irq/riscv_plic0.h similarity index 100% rename from include/drivers/irq/hifive.h rename to include/drivers/irq/riscv_plic0.h diff --git a/src/plat/hifive/config.cmake b/src/plat/hifive/config.cmake index b4feb2ca4..5696056ce 100644 --- a/src/plat/hifive/config.cmake +++ b/src/plat/hifive/config.cmake @@ -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)