From patchwork Fri Sep 8 17:34:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 112104 Delivered-To: patch@linaro.org Received: by 10.37.128.210 with SMTP id c18csp1952702ybm; Fri, 8 Sep 2017 10:37:46 -0700 (PDT) X-Google-Smtp-Source: ADKCNb6B1rE8W7KTFXNjj2Xx775NCyYSr4L80TATyHtVEgbmr/GUKMtvTTszPjtP4nilwph7kupZ X-Received: by 10.80.147.23 with SMTP id m23mr2818564eda.33.1504892266611; Fri, 08 Sep 2017 10:37:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504892266; cv=none; d=google.com; s=arc-20160816; b=kTPh3t5a/g8VAhsPiyg/bqZGeaV607on+btDvMg1lTWYRLrxqWAn0KQvc4TLKOtSqN VQHXapbjvhW/vp+LxfR8pjCQqKVI7+3TUuMbL79OfXtwtcqAY9XJaTz+4x3nWolFoxjw VBn3GSc1clziYKRMH/KVdW1rMYSZVdnqlyNDrsntsWlScKh3vZEkp6UEaYOw9ESVcEHQ hHiGZfrfmhBLIZnArSBdlGxzx6/hLRb1R2fopcBbN4OayWN5B6axrrW4fiXsPcIZQ0Wt qLSs3shl+dQiYomzA5wxlEmDwkaWTd/cWM4NvL1LjxufAWaGleVd3fTCdlorRuyLZf1G MmXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:references :in-reply-to:message-id:date:to:from:arc-authentication-results; bh=HEqKvrUXlGJRIhHqXX89j8/0hpYvoGUiV/pvh0lFw6I=; b=rOWjRA3Onpl6GB6sAqDfYLXrgUH6b/S7ART517bauQqUYZqvg5LmsdDPLRWh19ofSu wYYFRBSMx5sa/XKi6OKRLh+G/a1V/Z4GOOC/Nl82pd0A1DXj7ioXuISiKHzVBwbZfKaO FHKJ3ib5HBI7f8LQ2/o0UbDQvH55JMOOCZfaX86i3PJUlV++zBd6arY0Idsix1ILC+TJ YBfsTevAiagc9gWwIvnITQ8E5BuE2+h2ORBIG1YNdrMcw9Sfn/CFnic6fztpfp8RTLkC SzcbCz7esJMJEJrDUuxA1JoXqqtOkdO7lfbh3AVSGamfSD8jPX3MjUie0KJleKaBBfQm +7UA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id j33si2479773edb.440.2017.09.08.10.37.46; Fri, 08 Sep 2017 10:37:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id 2CE19C21EE8; Fri, 8 Sep 2017 17:36:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 91FD8C21F0B; Fri, 8 Sep 2017 17:34:39 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 0AE14C21C71; Fri, 8 Sep 2017 17:34:32 +0000 (UTC) Received: from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54]) by lists.denx.de (Postfix) with ESMTP id 9269AC21CA5 for ; Fri, 8 Sep 2017 17:34:31 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 110) id 12882212E7; Fri, 8 Sep 2017 19:34:30 +0200 (CEST) Received: from localhost (LFbn-TOU-1-209-191.w86-201.abo.wanadoo.fr [86.201.56.191]) by mail.free-electrons.com (Postfix) with ESMTPSA id DB2ED20882; Fri, 8 Sep 2017 19:34:29 +0200 (CEST) From: Maxime Ripard To: Tom Rini , Jagan Teki Date: Fri, 8 Sep 2017 19:34:12 +0200 Message-Id: X-Mailer: git-send-email 2.13.5 In-Reply-To: References: In-Reply-To: References: Cc: Thomas Petazzoni , marex@denx.de, u-boot@lists.denx.de, Maxime Ripard Subject: [U-Boot] [PATCH 01/13] usb: gadget: Move USBNET_DEVADDR option out of g_dnl X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" The USBNET_DEVADDR has nothing to do with the USB download gadget, but rather with the USB Ethernet gadget. Move it out of the if statement. Signed-off-by: Maxime Ripard Reviewed-by: Simon Glass --- drivers/usb/gadget/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig index 225b66bc95ff..d52626908846 100644 --- a/drivers/usb/gadget/Kconfig +++ b/drivers/usb/gadget/Kconfig @@ -119,10 +119,10 @@ config G_DNL_VENDOR_NUM config G_DNL_PRODUCT_NUM hex "Product ID of USB device" +endif # USB_GADGET_DOWNLOAD + config USBNET_DEVADDR string "USB Gadget Ethernet device mac address" default "de:ad:be:ef:00:01" -endif # USB_GADGET_DOWNLOAD - endif # USB_GADGET