diff options
author | Anup Patel <apatel@ventanamicro.com> | 2022-08-08 07:03:52 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2022-08-08 07:03:52 +0300 |
commit | 0b1cf2f64519887188c83d17d21302580a6c970e (patch) | |
tree | fc571cca4003555b9e4ba8aa3eca6866e0df66a4 /platform | |
parent | 76af9d40da21c4c67efb7730de263f914452fca0 (diff) | |
download | opensbi-0b1cf2f64519887188c83d17d21302580a6c970e.tar.xz |
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>
Diffstat (limited to 'platform')
-rw-r--r-- | platform/andes/ae350/Kconfig | 1 | ||||
-rw-r--r-- | platform/fpga/ariane/Kconfig | 1 | ||||
-rw-r--r-- | platform/fpga/openpiton/Kconfig | 1 | ||||
-rw-r--r-- | platform/generic/configs/defconfig | 4 | ||||
-rw-r--r-- | platform/kendryte/k210/Kconfig | 1 | ||||
-rw-r--r-- | platform/nuclei/ux600/Kconfig | 1 | ||||
-rw-r--r-- | platform/template/Kconfig | 1 |
7 files changed, 10 insertions, 0 deletions
diff --git a/platform/andes/ae350/Kconfig b/platform/andes/ae350/Kconfig index 162d19c..87deab0 100644 --- a/platform/andes/ae350/Kconfig +++ b/platform/andes/ae350/Kconfig @@ -2,5 +2,6 @@ config PLATFORM_ANDES_AE350 bool + select IRQCHIP_PLIC select SERIAL_UART8250 default y diff --git a/platform/fpga/ariane/Kconfig b/platform/fpga/ariane/Kconfig index 0bc1597..5a720d9 100644 --- a/platform/fpga/ariane/Kconfig +++ b/platform/fpga/ariane/Kconfig @@ -3,6 +3,7 @@ config PLATFORM_ARIANE_FPGA bool select IPI_MSWI + select IRQCHIP_PLIC select SERIAL_UART8250 select TIMER_MTIMER default y diff --git a/platform/fpga/openpiton/Kconfig b/platform/fpga/openpiton/Kconfig index 0e4e3ba..973906e 100644 --- a/platform/fpga/openpiton/Kconfig +++ b/platform/fpga/openpiton/Kconfig @@ -3,6 +3,7 @@ config PLATFORM_OPENPITON_FPGA bool select IPI_MSWI + select IRQCHIP_PLIC select SERIAL_UART8250 select TIMER_MTIMER default y diff --git a/platform/generic/configs/defconfig b/platform/generic/configs/defconfig index e218c32..ad66a63 100644 --- a/platform/generic/configs/defconfig +++ b/platform/generic/configs/defconfig @@ -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 diff --git a/platform/kendryte/k210/Kconfig b/platform/kendryte/k210/Kconfig index 685a5cd..2a1daaa 100644 --- a/platform/kendryte/k210/Kconfig +++ b/platform/kendryte/k210/Kconfig @@ -3,6 +3,7 @@ config PLATFORM_KENDRYTE_K210 bool select IPI_MSWI + select IRQCHIP_PLIC select SERIAL_SIFIVE select TIMER_MTIMER default y diff --git a/platform/nuclei/ux600/Kconfig b/platform/nuclei/ux600/Kconfig index cd995a3..464802e 100644 --- a/platform/nuclei/ux600/Kconfig +++ b/platform/nuclei/ux600/Kconfig @@ -3,6 +3,7 @@ config PLATFORM_NUCLEI_UX600 bool select IPI_MSWI + select IRQCHIP_PLIC select SERIAL_SIFIVE select TIMER_MTIMER default y diff --git a/platform/template/Kconfig b/platform/template/Kconfig index 4d9646d..d73825d 100644 --- a/platform/template/Kconfig +++ b/platform/template/Kconfig @@ -10,6 +10,7 @@ config PLATFORM_TEMPLATE bool select IPI_MSWI + select IRQCHIP_PLIC select SERIAL_UART8250 select TIMER_MTIMER default y |