forked from Mirrors/opensbi
lib: utils/irqchip: Use kconfig for enabling/disabling drivers
We update irqchip drivers makefile to use kconfig for enabling/disabling drivers. To avoid compile errors, we also enable appropriate irqchip drivers for each platform. Signed-off-by: Anup Patel <apatel@ventanamicro.com> Tested-by: Andrew Jones <ajones@ventanamicro.com> Acked-by: Atish Patra <atishp@rivosinc.com> Tested-by: Atish Patra <atishp@rivosinc.com>
This commit is contained in:
@@ -2,5 +2,6 @@
|
||||
|
||||
config PLATFORM_ANDES_AE350
|
||||
bool
|
||||
select IRQCHIP_PLIC
|
||||
select SERIAL_UART8250
|
||||
default y
|
||||
|
@@ -3,6 +3,7 @@
|
||||
config PLATFORM_ARIANE_FPGA
|
||||
bool
|
||||
select IPI_MSWI
|
||||
select IRQCHIP_PLIC
|
||||
select SERIAL_UART8250
|
||||
select TIMER_MTIMER
|
||||
default y
|
||||
|
@@ -3,6 +3,7 @@
|
||||
config PLATFORM_OPENPITON_FPGA
|
||||
bool
|
||||
select IPI_MSWI
|
||||
select IRQCHIP_PLIC
|
||||
select SERIAL_UART8250
|
||||
select TIMER_MTIMER
|
||||
default y
|
||||
|
@@ -1,5 +1,9 @@
|
||||
CONFIG_FDT_IPI=y
|
||||
CONFIG_FDT_IPI_MSWI=y
|
||||
CONFIG_FDT_IRQCHIP=y
|
||||
CONFIG_FDT_IRQCHIP_APLIC=y
|
||||
CONFIG_FDT_IRQCHIP_IMSIC=y
|
||||
CONFIG_FDT_IRQCHIP_PLIC=y
|
||||
CONFIG_FDT_RESET=y
|
||||
CONFIG_FDT_RESET_GPIO=y
|
||||
CONFIG_FDT_RESET_HTIF=y
|
||||
|
@@ -3,6 +3,7 @@
|
||||
config PLATFORM_KENDRYTE_K210
|
||||
bool
|
||||
select IPI_MSWI
|
||||
select IRQCHIP_PLIC
|
||||
select SERIAL_SIFIVE
|
||||
select TIMER_MTIMER
|
||||
default y
|
||||
|
@@ -3,6 +3,7 @@
|
||||
config PLATFORM_NUCLEI_UX600
|
||||
bool
|
||||
select IPI_MSWI
|
||||
select IRQCHIP_PLIC
|
||||
select SERIAL_SIFIVE
|
||||
select TIMER_MTIMER
|
||||
default y
|
||||
|
@@ -10,6 +10,7 @@
|
||||
config PLATFORM_TEMPLATE
|
||||
bool
|
||||
select IPI_MSWI
|
||||
select IRQCHIP_PLIC
|
||||
select SERIAL_UART8250
|
||||
select TIMER_MTIMER
|
||||
default y
|
||||
|
Reference in New Issue
Block a user