From patchwork Thu Mar 15 14:10:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Graf X-Patchwork-Id: 131796 Delivered-To: patch@linaro.org Received: by 10.80.210.197 with SMTP id q5csp1526592edg; Thu, 15 Mar 2018 07:10:38 -0700 (PDT) X-Google-Smtp-Source: AG47ELt8c0P+StY9v2xXNslhJOx2ZPhyXemXAyR7nIJ052TejGBqlDvyBlgqOs9h3n7+HlX8lqmf X-Received: by 10.80.140.200 with SMTP id r8mr6603104edr.310.1521123038265; Thu, 15 Mar 2018 07:10:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521123038; cv=none; d=google.com; s=arc-20160816; b=dXv+9H0A8+xB8WeojPGxTnFogfQonOk30r3oTeN9j2uvQ7rLJdRb9C5HqLofOerbtk MtHe4BDedy+pdeXuI4EqL0NP/ReRSK64FN5u+P0LrUUUAqlonk6wvw7NzuH1ikudxQ6U VRilhxHMENKJLq3K5Y73CjZMla9CdO6RMzrdvVIiwIvaiWJFm8CferZyDeq06ZWo8u+S wfV7B+BVmZRlFAMe4Wz6jxSRrdQmUumuIaEFTa/qn+Gc+Dvy1nFhLofpKhQ1/pk3olF3 GJY/HZSGwDh96mmlrdwlShEiWBIhken685S6EgiJoNb6eYGVTBrFHkpJOBuE1i7Gn0kt e2Zg== 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:message-id:date:to:from :arc-authentication-results; bh=83sh6yt/WUZpqU19YwXC3xfx/XbzlJV9cvM7Ub2VVao=; b=g5FW/s5CUUkdWawrXxvfiwMfOtMSTU64gHdsOqzQOYu04aN58t2QouypSLfJ3ONl8N dW1Qy+J13QS1cFj8gnFDs7uZtu2YTS7zY85wIX+Se8jAQ21bFlR4o4GSVUzPGeOKkIWE Tk1ZthIoqRBIugoFnLyrfZBRKzzLNHkkM6maRiqYR1wGFmsVAhVwlL5qRQVcwwILwMez H6FycMU7KOXP0l7AxIEtiDsrTWAlV/PZXi+jEAn+bAvrPM+RvYHHzBsYnZ51po3b2jhM BQCF9J0g1RY7Dpcx/xtYnTcgvtg48Zo7OMOOtupMLbodU+mgSOg6w1xnZ3X+AWAZbArA ce6Q== 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 30si1847668edq.271.2018.03.15.07.10.25; Thu, 15 Mar 2018 07:10:38 -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 09C80C21DF8; Thu, 15 Mar 2018 14:10:24 +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=RCVD_IN_DNSWL_BLOCKED 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 BBD1CC21C29; Thu, 15 Mar 2018 14:10:22 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id CFA42C21C27; Thu, 15 Mar 2018 14:10:21 +0000 (UTC) Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by lists.denx.de (Postfix) with ESMTPS id 8248AC21C27 for ; Thu, 15 Mar 2018 14:10:21 +0000 (UTC) X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id F17BAAFD2; Thu, 15 Mar 2018 14:10:20 +0000 (UTC) From: Alexander Graf To: u-boot@lists.denx.de Date: Thu, 15 Mar 2018 15:10:20 +0100 Message-Id: <20180315141020.11581-1-agraf@suse.de> X-Mailer: git-send-email 2.12.3 Cc: Joe Hershberger Subject: [U-Boot] [PATCH] lan7xxx: Require phylib 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 lan75xx and lan78xx drivers need to drive their phy via the generic phylib framework. Let's reflect that dependency in Kconfig, so that we don't get build errors when phylib does not get selected. Signed-off-by: Alexander Graf Acked-by: Joe Hershberger --- drivers/usb/eth/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/usb/eth/Kconfig b/drivers/usb/eth/Kconfig index 496a6d1933..2f6bfa8e71 100644 --- a/drivers/usb/eth/Kconfig +++ b/drivers/usb/eth/Kconfig @@ -23,6 +23,7 @@ config USB_ETHER_ASIX88179 config USB_ETHER_LAN75XX bool "Microchip LAN75XX support" depends on USB_HOST_ETHER + depends on PHYLIB ---help--- Say Y here if you would like to support Microchip LAN75XX Hi-Speed USB 2.0 to 10/100/1000 Gigabit Ethernet controller. @@ -32,6 +33,7 @@ config USB_ETHER_LAN75XX config USB_ETHER_LAN78XX bool "Microchip LAN78XX support" depends on USB_HOST_ETHER + depends on PHYLIB ---help--- Say Y here if you would like to support Microchip LAN78XX USB 3.1 Gen 1 to 10/100/1000 Gigabit Ethernet controller.