From patchwork Tue Sep 12 19:01:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 112372 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp5606842qgf; Tue, 12 Sep 2017 12:04:52 -0700 (PDT) X-Google-Smtp-Source: AOwi7QDA6ohXwT0RGuxRltdzyFQKwOB34ekU5eoX6mTgVMBS50/EjdAthRSIxM/zHIXwq+nLBP9s X-Received: by 10.80.215.206 with SMTP id m14mr430247edj.81.1505243092542; Tue, 12 Sep 2017 12:04:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505243092; cv=none; d=google.com; s=arc-20160816; b=GQotblIT5Ts6nhLK/m2/0ToKKhFTB2nR+Z+zAYuCENrS6RB66PEgBqAciHXo9/GuUX n6952hcoU49ytE8835oZa+o+C/Q9KbNu7QIyesoLdPpESjpLwYmhlT43+dLrv4HvIhK/ lmwI7V/VieO6oHKcOC08Byp6NQDWRNLxtpGxIrU8aQVzf/4uimA82CJR9R9gxXR+mYk0 aALKSlV0jjBBoy3qdL7LqQmuqXKHKNex8hCbn76yugkethb1GSzDZCRiyAjI70uGIhxm Hp5evrUog/XZ7HLEs/Ko3EDal8tw9y8FibMKCfAo0we/bqiyCZRQ2cfVQxVZ6UJfIfUT grQw== 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=7+qPtgd6FLE8kuESiVlWB3WZ55omTC4UacGHDwK9OSM=; b=JoAiF7w8DzWRRNzUzbMsIalUyyVoXTV1vSdsfBX+eOOdwuZSl3CzpFeTx4iOFAg39h AOPAJVofp5SIqWCjiFZE7gs5RVsM7jd2diSy/XZVd5VDkb5HAxqy89OuQ08rYWFcRHHO 5kEvo91wBcRV8u971coG6YsoMcCIcFLXopGApKJInjDcVb4lWD9073Ug9mmAwnWKB6JR pWdpYujks+bB4dzFC4XhcNNXserJ+cCMX7tLTOZMFYJ8/1FM6t5ilh2a+kKI3cQQC24G H//CgL0n9mXwsZY1UWkBp8r+vzwt3sMzu+A+rxHpAVjX5/lAvlU0d0YTYt7+AWJbGZ3A 6+6g== 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 p62si6801130edb.188.2017.09.12.12.04.52; Tue, 12 Sep 2017 12:04:52 -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 EFD93C21D78; Tue, 12 Sep 2017 19:04:28 +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 4BB47C21FDC; Tue, 12 Sep 2017 19:01:52 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 3568FC21E71; Tue, 12 Sep 2017 19:01:48 +0000 (UTC) Received: from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54]) by lists.denx.de (Postfix) with ESMTP id E12D0C21D78 for ; Tue, 12 Sep 2017 19:01:47 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 110) id B097520982; Tue, 12 Sep 2017 21:01:47 +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 858392091D; Tue, 12 Sep 2017 21:01:47 +0200 (CEST) From: Maxime Ripard To: Tom Rini , Jagan Teki Date: Tue, 12 Sep 2017 21:01:29 +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 v2 01/14] 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. Reviewed-by: Simon Glass Signed-off-by: Maxime Ripard Acked-by: Ɓukasz Majewski --- 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