Skip to contentSkip to conversation

riscv/Kconfig: enable PCI_DEVICES

PATCH Applied David Abdurachmanov 3 participants 3 messages Mar 11, 2019 RISC-V

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 riscv/Kconfig: enable PCI_DEVICES

Re-enable PCI_DEVICES for RISC-V.
The patch is based on other <arch>/Kconfig.

Fixes 82a230d5a303 ("riscv-softmmu.mak: replace CONFIG_* with Kconfig "select" directives")
---
 hw/riscv/Kconfig | 3 +++
 1 file changed, 3 insertions(+)
hw/riscv/Kconfig +3 -0
index e0ee3043a6..8c7fc1f31d 100644
@@ -26,6 +26,9 @@ config SPIKE
 
 config RISCV_VIRT
     bool
+    imply PCI_DEVICES
+    imply TEST_DEVICES
+    select PCI
     select HART
     select SERIAL
     select VIRTIO_MMIO
Signature · 1 line
2.20.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 15 lines · David Abdurachmanov

Re-enable PCI_DEVICES for RISC-V.
The patch is based on other <arch>/Kconfig.

Fixes 82a230d5a303 ("riscv-softmmu.mak: replace CONFIG_* with Kconfig "select" directives")
---
 hw/riscv/Kconfig | 3 +++
 1 file changed, 3 insertions(+)
hw/riscv/Kconfig +0 -0
index e0ee3043a6..8c7fc1f31d 100644

hw/riscv/Kconfig config SPIKE · line 34

Quoted 9 lines
hw/riscv/Kconfig +3 -0
@@ -26,6 +26,9 @@ config SPIKE
 
 config RISCV_VIRT
     bool
+    imply PCI_DEVICES
+    imply TEST_DEVICES
+    select PCI
     select HART
     select SERIAL
     select VIRTIO_MMIO
#2 lore raw
Quoted 16 lines · Thomas Huth
Quoted 15 lines · David Abdurachmanov

Re-enable PCI_DEVICES for RISC-V.
The patch is based on other <arch>/Kconfig.

Fixes 82a230d5a303 ("riscv-softmmu.mak: replace CONFIG_* with Kconfig "select" directives")
---
 hw/riscv/Kconfig | 3 +++
 1 file changed, 3 insertions(+)
hw/riscv/Kconfig +0 -0
index e0ee3043a6..8c7fc1f31d 100644
@@ -26,6 +26,9 @@ config SPIKE
 
Quoted 12 lines

hw/riscv/Kconfig config SPIKE · line 34

Quoted 9 lines
hw/riscv/Kconfig +3 -0
 config RISCV_VIRT
     bool
+    imply PCI_DEVICES
+    imply TEST_DEVICES
+    select PCI
     select HART
     select SERIAL
     select VIRTIO_MMIO

Queued, thanks.

Paolo