Kconfig: remove DRV_ configs

Change-Id: Id162a7fe3620f7ad2bc25fbbd55c90b800f9ef70
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2015-05-26 08:21:59 -04:00
commit 89d50ec95a
5 changed files with 5 additions and 46 deletions

View file

@ -32,46 +32,10 @@
source "drivers/bluetooth/Kconfig"
config DRV_CONSOLE
bool
default y
help
This option enables the UART console driver.
source "drivers/console/Kconfig"
config DRV_SERIAL
bool
default n
help
This option enables the serial driver.
source "drivers/serial/Kconfig"
config DRV_TIMER
bool
default n
help
This option enables the timer driver.
source "drivers/timer/Kconfig"
config DRV_INTCTL
bool
default n
help
This option enables the interrupt controller driver.
config DRV_PCI
bool
default n
help
This option enables the PCI driver.
config DRV_RANDOM
bool
default n
help
This option enables the random number generator driver.
source "drivers/random/Kconfig"

View file

@ -33,7 +33,6 @@
config CONSOLE_HANDLER
bool
prompt "Enable console input handler"
depends on DRV_CONSOLE
select UART_INTERRUPT_DRIVEN
default n
help

View file

@ -3,4 +3,4 @@ EXTRA_CFLAGS += -I$(srctree)/include/drivers
EXTRA_CFLAGS +=-I$(srctree)/arch/$(ARCH)
EXTRA_CFLAGS +=-I$(srctree)/arch/$(ARCH)/$(strip $(CONFIG_BSP_DIR))
obj-y = pci.o pci_config.o pci_interface.o
obj-$(CONFIG_PCI) = pci.o pci_config.o pci_interface.o

View file

@ -32,8 +32,7 @@
config DRV_NS16550
bool
depends on DRV_SERIAL
bool "NS16550 serial driver"
default n
help
This option enables the NS16550 serial driver.
@ -41,18 +40,16 @@ config DRV_NS16550
available at the Generic PC and Quark.
config DRV_K20_UART
bool
bool "K20 serial driver"
default n
depends on DRV_SERIAL
help
This option enables the K20 serial driver.
This specific driver can be used for the serial hardware
available at the Freescale FRDM K64F BSP.
config DRV_STELLARIS_UART
bool
bool "Stellaris serial driver"
default n
depends on DRV_SERIAL
help
This option enables the Stellaris serial driver.
This specific driver can be used for the serial hardware
@ -61,7 +58,6 @@ config DRV_STELLARIS_UART
config UART_INTERRUPT_DRIVEN
bool
prompt "Interrupt driven UART support"
depends on DRV_SERIAL
default n
help
This option enables interrupt support for UART allowing console

View file

@ -33,6 +33,6 @@
config PIT
bool "PIT (i8253)"
default n
depends on ARCH="x86" && DRV_TIMER
depends on ARCH="x86"
help
This option selects legacy i8253 timer as system timer.