Kconfig: serial driver menu

Change-Id: Ia5c5db741f811595e914a1f877c3c7fd0007aa94

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2015-05-26 10:25:55 -04:00
commit 3026d8ac1f
2 changed files with 10 additions and 6 deletions

View file

@ -31,7 +31,9 @@
#
config DRV_NS16550
menu "Serial Drivers"
config NS16550
bool "NS16550 serial driver"
default n
help
@ -39,7 +41,7 @@ config DRV_NS16550
This specific driver can be used for the serial hardware
available at the Generic PC and Quark.
config DRV_K20_UART
config K20_UART
bool "K20 serial driver"
default n
help
@ -47,7 +49,7 @@ config DRV_K20_UART
This specific driver can be used for the serial hardware
available at the Freescale FRDM K64F BSP.
config DRV_STELLARIS_UART
config STELLARIS_UART
bool "Stellaris serial driver"
default n
help
@ -62,3 +64,5 @@ config UART_INTERRUPT_DRIVEN
help
This option enables interrupt support for UART allowing console
input and UART based drivers.
endmenu

View file

@ -3,6 +3,6 @@ EXTRA_CFLAGS +=-I$(srctree)/arch/$(ARCH)
EXTRA_CFLAGS +=-I$(srctree)/arch/$(ARCH)/$(strip $(CONFIG_BSP_DIR))
obj-$(CONFIG_DRV_NS16550) = ns16550.o
obj-$(CONFIG_DRV_K20_UART) = k20UartDrv.o
obj-$(CONFIG_DRV_STELLARIS_UART) = stellarisUartDrv.o
obj-$(CONFIG_NS16550) = ns16550.o
obj-$(CONFIG_K20_UART) = k20UartDrv.o
obj-$(CONFIG_STELLARIS_UART) = stellarisUartDrv.o