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:
parent
1cc9c3901e
commit
68a58ca587
|
@ -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 \
|
||||
)
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue