aboutsummaryrefslogtreecommitdiffstats
path: root/features/pci
diff options
context:
space:
mode:
Diffstat (limited to 'features/pci')
-rw-r--r--features/pci/pci-of-generic.cfg3
-rw-r--r--features/pci/pci-of-generic.scc5
-rw-r--r--features/pci/pci.cfg6
3 files changed, 9 insertions, 5 deletions
diff --git a/features/pci/pci-of-generic.cfg b/features/pci/pci-of-generic.cfg
new file mode 100644
index 00000000..67a3ccff
--- /dev/null
+++ b/features/pci/pci-of-generic.cfg
@@ -0,0 +1,3 @@
+# Support a simple generic PCI host controller, such as the one emulated by kvmtool
+CONFIG_PCI_HOST_GENERIC=y
+
diff --git a/features/pci/pci-of-generic.scc b/features/pci/pci-of-generic.scc
new file mode 100644
index 00000000..cc76fb88
--- /dev/null
+++ b/features/pci/pci-of-generic.scc
@@ -0,0 +1,5 @@
+# SPDX-License-Identifier: MIT
+define KFEATURE_DESCRIPTION "Enable Generic PCI OF device"
+define KFEATURE_COMPATIBILITY board
+
+kconf hardware pci-of-generic.cfg
diff --git a/features/pci/pci.cfg b/features/pci/pci.cfg
index f3c57c54..3ed13b59 100644
--- a/features/pci/pci.cfg
+++ b/features/pci/pci.cfg
@@ -1,12 +1,8 @@
# SPDX-License-Identifier: MIT
CONFIG_PCI=y
-CONFIG_PCI_MMCONFIG=y
CONFIG_PCI_MSI=y
CONFIG_PCIEPORTBUS=y
CONFIG_HOTPLUG_PCI=y
-# CONFIG_HOTPLUG_PCI_PCIE is not set
-
-
-
+CONFIG_HOTPLUG_PCI_PCIE=n