From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D0870C001DF for ; Fri, 4 Aug 2023 16:06:28 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 477E486926; Fri, 4 Aug 2023 18:06:27 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="BblwzTV0"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 392F0861EB; Fri, 4 Aug 2023 18:06:26 +0200 (CEST) Received: from mail-yw1-x112f.google.com (mail-yw1-x112f.google.com [IPv6:2607:f8b0:4864:20::112f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 1A5198680B for ; Fri, 4 Aug 2023 18:06:24 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-yw1-x112f.google.com with SMTP id 00721157ae682-583e91891aeso24831217b3.1 for ; Fri, 04 Aug 2023 09:06:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1691165182; x=1691769982; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ffGkRdEjUr1uqd5ymGSsu3tjzuvw91E++LJ3NqFoeDk=; b=BblwzTV0Qb1w4MChikSZDvp7t9gpPMnePrX53iw6wWeTPeMtoxYgfgal3r40yqlDx4 9FZB4fyePXG4gpTPy14fxgf5G9nCXrn4pVTCECElb60zkMTsAoYZRUDZTKnClDSK53aQ mr+MdwSXzjlzFKqnu4ZZZGO7Dq4iOuFtte/YQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691165182; x=1691769982; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ffGkRdEjUr1uqd5ymGSsu3tjzuvw91E++LJ3NqFoeDk=; b=awN+1C0wBUMjzIooLkG4vJmkCL15HABOHzsNKKs51EXzchvi/l8pQ+PDB1hMN2otoV M6gV+OI+WUivSqOHbzFzSbO662JBhPQYB0i6dHILsNRQntj+FL8OAKGALRKai2pUeLkx KLzIdiOShcoW9MUcIJxE90LLlWrRslC8E2DYw3cXkihFjH7j84rdkldb4hAO6CvSUI9p ZHyIIwn65oxn5n20wGo70tXK9lSJ/o35tjgnEwr4RPMB60yqMkK+v42iqyjzWXOIXpTB DeSI/NjdUn9zdQl1vpA9O96WFTmmprZvFsjsGB+r1u0firrhVEZRb39riCTNVdnBybdD U9zQ== X-Gm-Message-State: AOJu0Yw8Jk/H2+LM+MDtLnJcATZMzrU7CfKRota//+PfDMKCfbmF7LJP 68almsqR3pfQzwlv65MIVTz/PUqAAMfHu2GEEHz2nw== X-Google-Smtp-Source: AGHT+IExJrzeMJiei+DYeJwKpow4ALUrLh45SXm49rR49ZclGnNhu8KFlStXilSYl4JgimSzX0Cb7w== X-Received: by 2002:a0d:e4c2:0:b0:56d:43cb:da98 with SMTP id n185-20020a0de4c2000000b0056d43cbda98mr2233795ywe.29.1691165182524; Fri, 04 Aug 2023 09:06:22 -0700 (PDT) Received: from bill-the-cat.lan (2603-6081-7b00-6400-c37f-6e0c-fce7-d587.res6.spectrum.com. [2603:6081:7b00:6400:c37f:6e0c:fce7:d587]) by smtp.gmail.com with ESMTPSA id n13-20020a819c4d000000b00586a9abcbe9sm379487ywa.53.2023.08.04.09.06.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Aug 2023 09:06:22 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Cc: Marek Vasut , Miquel Raynal Subject: [PATCH] cmd: Enable BIND by default if we have USB_ETHER Date: Fri, 4 Aug 2023 12:06:21 -0400 Message-Id: <20230804160621.1305212-1-trini@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230804154111.97042-3-marex@denx.de> References: <20230804154111.97042-3-marex@denx.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean 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 --- Cc: Marek Vasut Cc: Miquel Raynal --- cmd/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/Kconfig b/cmd/Kconfig index 2d6e5f993f04..7f65e3187a66 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 -- 2.34.1