mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-14 08:57:58 +00:00
0b11dbf705
The menuconfig for drivers are getting more and more cluttered and unreadable because too many entries are displayed in a single flat menu. Use hierarchic menu for each category. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Simon Glass <sjg@chromium.org> [trini: Update to apply again in a few places, drop USB hunk] Signed-off-by: Tom Rini <trini@konsulko.com>
30 lines
959 B
Text
30 lines
959 B
Text
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
|