Kconfig symbols for drivers directory.

This commit adds the Kconfig files that describe the CONFIG
symbols that belongs to the drivers directory and subdirectories.

Signed-off-by: Juan Manuel Cruz <juan.m.cruz.alcaraz@linux.intel.com>
Change-Id: I924835ece11a3d597e77a55ace21d724dd5ddbe5
This commit is contained in:
Juan Manuel Cruz 2015-03-18 16:24:43 -06:00 committed by Anas Nashif
parent 132649f2cc
commit f98466d54b
4 changed files with 90 additions and 0 deletions

47
drivers/Kconfig Normal file
View file

@ -0,0 +1,47 @@
config DRV_CONSOLE
bool
default y
help
This option enables the UART console driver.
config DRV_SERIAL
bool
default n
help
This option enables the serial driver.
if DRV_SERIAL
source "drivers/serial/Kconfig"
endif
config DRV_TIMER
bool
default n
help
This option enables the timer driver.
if DRV_TIMER
source "drivers/timer/Kconfig"
endif
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.
if DRV_RANDOM
source "drivers/random/Kconfig"
endif

14
drivers/random/Kconfig Normal file
View file

@ -0,0 +1,14 @@
menu "Random Generation Configuration"
config TEST_RANDOM_GENERATOR
bool
prompt "Non-random number generator"
default n
depends on !CUSTOM_RANDOM_GENERATOR
help
This option signifies that the kernel's random number APIs are
permitted to return values that are not truly random.
This capability is provided for testing purposes, when a truly random
number generator is not available. The non-random number generator
should not be used in a production environment.
endmenu

23
drivers/serial/Kconfig Normal file
View file

@ -0,0 +1,23 @@
config DRV_NS16550
bool
default n
help
This option enables the NS16550 serial driver.
This specific driver can be used for the serial hardware
available at the Generic PC and Quark.
config DRV_K20_UART
bool
default n
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
default n
help
This option enables the Stellaris serial driver.
This specific driver can be used for the serial hardware
available at the Texas Instrument LM3S6965 BSP.

6
drivers/timer/Kconfig Normal file
View file

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