kconf: Add an option to select PCI on x86 architecture

By default it is set to 'n'. This will be useful to enable the PCI layer
code if required. On quark boark, it is selected by default as UART
driver needs it currently.

Change-Id: I7aa38e73c431c66ebbd8092aff0a14d5fb9268d5
Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
Tomasz Bursztyka 2015-05-21 13:04:49 +03:00 committed by Anas Nashif
parent 1cc9c3901e
commit 68a58ca587
4 changed files with 23 additions and 1 deletions

View file

@ -53,6 +53,14 @@ bsp_drivers_SRC = $(strip \
drivers/console/uart_console.c \
)
ifeq (${CONFIG_PCI},y)
bsp_drivers_SRC += $(strip \
drivers/pci/pci_config.c \
drivers/pci/pci_interface.c \
drivers/pci/pci.c \
)
endif
ifeq (${CONFIG_MICROKERNEL},y)
bsp_kernel_SRC += $(strip \
)

View file

@ -54,10 +54,15 @@ bsp_drivers_SRC = $(strip \
arch/${vARCH}/interrupt_controller/loApicIntr.c \
drivers/serial/ns16550.c \
drivers/console/uart_console.c \
)
ifeq (${CONFIG_PCI},y)
bsp_drivers_SRC += $(strip \
drivers/pci/pci_config.c \
drivers/pci/pci_interface.c \
drivers/pci/pci.c \
)
)
endif
ifeq (${CONFIG_MICROKERNEL},y)
bsp_kernel_SRC += $(strip \

View file

@ -48,6 +48,7 @@ config BSP_QUARK
select CPU_MINUTEIA
select IOAPIC
select HPET_TIMER
select PCI
select EOI_HANDLER_SUPPORTED
select BOOTLOADER_UNKNOWN
select EXTRA_SERIAL_PORT

View file

@ -262,6 +262,14 @@ config PIT
help
This option selects legacy i8253 timer as system timer.
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 EXTRA_SERIAL_PORT
bool
# omit prompt to signify a "hidden" option