diff options
author | Tom Rini <trini@konsulko.com> | 2023-11-25 12:34:23 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-11-25 12:34:23 -0500 |
commit | 129d6a0d87b7f19b85dc0a007f7050ce973fd019 (patch) | |
tree | dce8a44891dd5789bf620245a768469d53e689ef /cmd | |
parent | 1682d97db9aa5bbfc8c5b9f26bd1454e6a9a0ccb (diff) | |
parent | 8a0d07807abb5370fe879321c7f1d22fdda3255f (diff) | |
download | u-boot-129d6a0d87b7f19b85dc0a007f7050ce973fd019.tar.gz u-boot-129d6a0d87b7f19b85dc0a007f7050ce973fd019.tar.bz2 u-boot-129d6a0d87b7f19b85dc0a007f7050ce973fd019.zip |
Merge tag 'u-boot-dfu-next-20231124' of https://source.denx.de/u-boot/custodians/u-boot-dfu into next
u-boot-dfu-next-20231124
- Make dfu entity name size configurable in KConfig
- Implement start-stop for UMS (graceful shutdown via eject)
- Improve help messages for cmd/bind
- Improve help message for udc bind failures
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/Kconfig | 2 | ||||
-rw-r--r-- | cmd/bind.c | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig index 9ebea76c2c..4569c06c75 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -977,7 +977,7 @@ config CMD_BCB config CMD_BIND bool "bind/unbind - Bind or unbind a device to/from a driver" depends on DM - default y if USB_ETHER + imply CMD_DM help Bind or unbind a device to/from a driver from the command line. This is useful in situations where a device may be handled by several diff --git a/cmd/bind.c b/cmd/bind.c index 4d1b7885e6..be0d4d2a71 100644 --- a/cmd/bind.c +++ b/cmd/bind.c @@ -246,6 +246,8 @@ U_BOOT_CMD( "Bind a device to a driver", "<node path> <driver>\n" "bind <class> <index> <driver>\n" + "Use 'dm tree' to list all devices registered in the driver model,\n" + "their path, class, index and current driver.\n" ); U_BOOT_CMD( @@ -254,4 +256,6 @@ U_BOOT_CMD( "<node path>\n" "unbind <class> <index>\n" "unbind <class> <index> <driver>\n" + "Use 'dm tree' to list all devices registered in the driver model,\n" + "their path, class, index and current driver.\n" ); |