aboutsummaryrefslogtreecommitdiff
path: root/drivers/demo
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-02-05 21:41:34 -0700
committerSimon Glass <sjg@chromium.org>2015-02-12 10:35:33 -0700
commit2a4eeadd56e0760b33c7ebef383c105479a93cac (patch)
tree3b46a5e86b284013dd5c322e196fe4d0e5a3e33f /drivers/demo
parentfffff7268b6c30dc7058d3615021628d4f60fac5 (diff)
downloadu-boot-2a4eeadd56e0760b33c7ebef383c105479a93cac.zip
u-boot-2a4eeadd56e0760b33c7ebef383c105479a93cac.tar.gz
u-boot-2a4eeadd56e0760b33c7ebef383c105479a93cac.tar.bz2
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>
Diffstat (limited to 'drivers/demo')
-rw-r--r--drivers/demo/Kconfig26
1 files changed, 26 insertions, 0 deletions
diff --git a/drivers/demo/Kconfig b/drivers/demo/Kconfig
new file mode 100644
index 0000000..7a8ce18
--- /dev/null
+++ b/drivers/demo/Kconfig
@@ -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.