aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-08-04 12:06:21 -0400
committerMarek Vasut <marex@denx.de>2023-08-05 06:05:06 +0200
commit276c0c8e8a4543ce0b2c4ea020536c64ead98342 (patch)
tree6ca4f9096ab32461c3b283b687212175677cae77
parent718f1d414eb8ea49ddb90476df9926520164d9c5 (diff)
downloadu-boot-276c0c8e8a4543ce0b2c4ea020536c64ead98342.zip
u-boot-276c0c8e8a4543ce0b2c4ea020536c64ead98342.tar.gz
u-boot-276c0c8e8a4543ce0b2c4ea020536c64ead98342.tar.bz2
cmd: Enable BIND by default if we have USB_ETHER
The nature of the network stack means that if we are going to use the gadget mode USB network driver there's no easy path to implicitly bind/unbind the driver. Enable the "bind" command by default here so that we can bind/unbind this as needed. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
-rw-r--r--cmd/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 2d6e5f9..7f65e31 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -986,6 +986,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
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