summaryrefslogtreecommitdiffstats
path: root/arch/riscv/Kconfig
diff options
context:
space:
mode:
authorAhmad Fatoum <ahmad@a3f.at>2021-11-22 22:34:35 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2021-11-25 08:47:18 +0100
commitdf070eda1dfd7206739cab622f004645a118819a (patch)
tree77674885770a7fe57ce2aec8dadfb8a510c72f82 /arch/riscv/Kconfig
parentfdf8416a2b9fad1188106e0490975eff11f6b13a (diff)
downloadbarebox-df070eda1dfd7206739cab622f004645a118819a.tar.gz
barebox-df070eda1dfd7206739cab622f004645a118819a.tar.xz
RISC-V: enable HW_HAS_PCI
With the recently added generic ECAM PCI driver, we can now use PCI device drivers on the RISC-V Virt machine. Enable HW_HAS_PCI, so the driver and bus support can be selected. As HW_HAS_PCI on its own doesn't add any code, just enable it for the whole architecture. Signed-off-by: Ahmad Fatoum <ahmad@a3f.at> Link: https://lore.barebox.org/20211122213436.309749-1-ahmad@a3f.at Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/riscv/Kconfig')
-rw-r--r--arch/riscv/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index a814a1a45b..8c66697185 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -14,6 +14,7 @@ config RISCV
select HAS_ARCH_SJLJ
select HAS_KALLSYMS
select RISCV_TIMER if RISCV_SBI
+ select HW_HAS_PCI
config ARCH_TEXT_BASE
hex