diff options
Diffstat (limited to 'roms/u-boot/drivers/demo/Kconfig')
-rw-r--r-- | roms/u-boot/drivers/demo/Kconfig | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/roms/u-boot/drivers/demo/Kconfig b/roms/u-boot/drivers/demo/Kconfig new file mode 100644 index 000000000..98bb6333c --- /dev/null +++ b/roms/u-boot/drivers/demo/Kconfig @@ -0,0 +1,30 @@ +menu "Demo for driver model" + +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. + +endmenu |