mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 06:00:43 +00:00
dm: Add Kconfig for driver/demo
Add a suitable Kconfig for this directory. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
This commit is contained in:
parent
fffff7268b
commit
2a4eeadd56
2 changed files with 28 additions and 0 deletions
|
@ -2,6 +2,8 @@ menu "Device Drivers"
|
|||
|
||||
source "drivers/core/Kconfig"
|
||||
|
||||
source "drivers/demo/Kconfig"
|
||||
|
||||
source "drivers/pci/Kconfig"
|
||||
|
||||
source "drivers/pcmcia/Kconfig"
|
||||
|
|
26
drivers/demo/Kconfig
Normal file
26
drivers/demo/Kconfig
Normal file
|
@ -0,0 +1,26 @@
|
|||
config DM_DEMO
|
||||
bool "Enable demo uclass support"
|
||||
depends on DM
|
||||
help
|
||||
This uclass allows you to play around with driver model. It provides
|
||||
an interface to a couple of demo devices. You can access it using
|
||||
the 'demo' command or by calling the uclass functions from your
|
||||
own code.
|
||||
|
||||
config DM_DEMO_SIMPLE
|
||||
bool "Enable simple demo device for driver model"
|
||||
depends on DM_DEMO
|
||||
help
|
||||
This device allows you to play around with driver model. It prints
|
||||
a message when the 'demo hello' command is executed which targets
|
||||
this device. It can be used to help understand how driver model
|
||||
works.
|
||||
|
||||
config DM_DEMO_SHAPE
|
||||
bool "Enable shape demo device for driver model"
|
||||
depends on DM_DEMO
|
||||
help
|
||||
This device allows you to play around with driver model. It prints
|
||||
a shape when the 'demo hello' command is executed which targets
|
||||
this device. It can be used to help understand how driver model
|
||||
works.
|
Loading…
Reference in a new issue