summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-07-03 18:16:50 -0500
committerWaldemar Brodkorb <wbx@openadk.org>2015-07-03 18:16:50 -0500
commitce956d0f964c2a85207f3c81f392b88a7b03cc91 (patch)
treea4ec79810f1f0276fdf1e0498528ce0d2c9f4823 /target/linux
parentfea381bb3d32ad8b6f04f2268429d00b3486869d (diff)
do not enable PCI in kernel by default
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/Config.in1
-rw-r--r--target/linux/config/Config.in.bus10
-rw-r--r--target/linux/kernel.config2
3 files changed, 11 insertions, 2 deletions
diff --git a/target/linux/Config.in b/target/linux/Config.in
index dd0fb43de..05927e8d3 100644
--- a/target/linux/Config.in
+++ b/target/linux/Config.in
@@ -3,6 +3,7 @@
source target/linux/config/Config.in.kernel
source target/linux/config/Config.in.cpu
+source target/linux/config/Config.in.bus
source target/linux/config/Config.in.block
source target/linux/config/Config.in.flash
source target/linux/config/Config.in.fs
diff --git a/target/linux/config/Config.in.bus b/target/linux/config/Config.in.bus
new file mode 100644
index 000000000..2b7bd757d
--- /dev/null
+++ b/target/linux/config/Config.in.bus
@@ -0,0 +1,10 @@
+config ADK_KERNEL_PCI
+ bool
+ select ADK_KERNEL_PCI_QUIRKS
+ depends on ADK_TARGET_WITH_PCI \
+ || ADK_TARGET_QEMU \
+ || ADK_TARGET_VBOX
+ default y
+
+config ADK_KERNEL_PCI_QUIRKS
+ bool
diff --git a/target/linux/kernel.config b/target/linux/kernel.config
index 9300be488..e8423c7b6 100644
--- a/target/linux/kernel.config
+++ b/target/linux/kernel.config
@@ -37,8 +37,6 @@ CONFIG_TIMERFD=y
CONFIG_EVENTFD=y
CONFIG_SHMEM=y
CONFIG_AIO=y
-CONFIG_PCI=y
-CONFIG_PCI_QUIRKS=y
CONFIG_TTY=y
CONFIG_UNIX98_PTYS=y
CONFIG_DEVMEM=y