RISC-V: Force select RISCV_INTC for CONFIG_RISCV

The RISC-V per-HART local interrupt controller driver is mandatory
for all RISC-V system (with/without MMU) hence we force select it
for CONFIG_RISCV (just like RISCV_TIMER).

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
This commit is contained in:
Anup Patel 2020-06-01 14:45:43 +05:30 committed by Palmer Dabbelt
parent 24dc17005c
commit e71ee06e3c
No known key found for this signature in database
GPG key ID: 2E1319F35FBB1889

View file

@ -66,6 +66,7 @@ config RISCV
select OF_IRQ select OF_IRQ
select PCI_DOMAINS_GENERIC if PCI select PCI_DOMAINS_GENERIC if PCI
select PCI_MSI if PCI select PCI_MSI if PCI
select RISCV_INTC
select RISCV_TIMER select RISCV_TIMER
select SPARSEMEM_STATIC if 32BIT select SPARSEMEM_STATIC if 32BIT
select SPARSE_IRQ select SPARSE_IRQ