diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index b2815c8457..baa941fc0b 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -289,24 +289,6 @@ config XIP endmenu -menu "Bus options (PCI etc.)" -config PCI - bool - # omit prompt to signify a "hidden" option - default n - help - This options enables support of PCI bus enumeration for device - drivers. - -config PCI_DEBUG - bool - prompt "Enable PCI debugging" - depends on PCI - default n - help - This options enables PCI debigging functions - -endmenu source "arch/x86/core/Kconfig" diff --git a/drivers/Kconfig b/drivers/Kconfig index 2e523768be..c3093c4e91 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -47,4 +47,6 @@ source "drivers/timer/Kconfig" source "drivers/random/Kconfig" +source "drivers/pci/Kconfig" + endmenu diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig new file mode 100644 index 0000000000..8ce2ba77a8 --- /dev/null +++ b/drivers/pci/Kconfig @@ -0,0 +1,20 @@ + +menu "PCI Settings" + depends on X86_32 +config PCI + bool + default n + depends on X86_32 + help + This options enables support of PCI bus enumeration for device + drivers. + +config PCI_DEBUG + bool + prompt "Enable PCI debugging" + depends on PCI + default n + help + This options enables PCI debigging functions + +endmenu