From patchwork Thu May 17 12:12:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Packham X-Patchwork-Id: 915392 X-Patchwork-Delegate: sr@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="E0J9IEw5"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 40mqtf4ndvz9s1d for ; Thu, 17 May 2018 22:12:26 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 4E10CC21F18; Thu, 17 May 2018 12:12:22 +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=FREEMAIL_FROM, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID 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 632D8C21EC2; Thu, 17 May 2018 12:12:19 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id F057BC21E7F; Thu, 17 May 2018 12:12:17 +0000 (UTC) Received: from mail-pg0-f67.google.com (mail-pg0-f67.google.com [74.125.83.67]) by lists.denx.de (Postfix) with ESMTPS id 56D2CC21EAE for ; Thu, 17 May 2018 12:12:17 +0000 (UTC) Received: by mail-pg0-f67.google.com with SMTP id u8-v6so1747732pgp.13 for ; Thu, 17 May 2018 05:12:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=VTrCryBDjbC1Dpgiw0FTeJD3Z8h6/pX6T5xkSgMewGY=; b=E0J9IEw5Qjyav5v002gUal2krQ/dMpE+aL1AFjXyJ7IlEdO9h72li3uq4xQS8URkVV 0AD8fxiaQuwCTtMu8o1DCCDRwFyS/z5JgSwiY/NXL9ax8q59MeiHyKZ61ynq283/kin6 AeHDVVRsCPaC5wnMrcVwJSxAsSSEULte5mjx9K9s3xb0CV6mFEhNU20+AVncyUvfEa48 RlXmZY/R8y/H7OGZMVxs+5nxB94Xo3Di0YxGfRNtGJTIcxtZOTna0Zt6KOhT6eXrmXMD BXfN4RNhEEkrcqSe0hHAYkRNOHZhPPso+xG+sOROgrQjOcNS6xw7TMFgGtZR3AwqBKpX ZoIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=VTrCryBDjbC1Dpgiw0FTeJD3Z8h6/pX6T5xkSgMewGY=; b=rY3xW6fS2WBSdPp7+N8J9GQia+joTRds/dlwJLD5HQeoKqDQrFcBzxpUl7yc2ghl80 Do4ev+L4LuYKPJMBr7BY0UU/20Wh67vBM7N1Jl0KrJ2aw7xNjLwDnaf4zA9R/vfRiAnX wa0Ew/lqbSDW6TvkZ/k7Z2lEpkRoWf+VNn6C0ZQ04u08YujYg+gsSHZNuRlGe4zPdY6Q PsVz5q1YS4KKMKFwKFeLYvSoAqi9yaTzOjwbY7vtFtOXDg3cVjZezwHcj1PkSSsqFBPk oywp0lV6xVc4+90OLfVpsc4NBmmenNaMAz/JlMbYuJRJoSC0vp/dbUEMuGCAS1aF74gz N57w== X-Gm-Message-State: ALKqPwf7NJYPCcJMZq10rhYMfyCHwM5ggZXF78y7o5fqZgykBiIKWYRN mt4iWceh0TYy2F8jPn9Ti1CwIYJY X-Google-Smtp-Source: AB8JxZrl/KYEWlROI2zBucVjUp53ULma/vdEdZI9U7TAtyvGNK2ofvUi/p4aMW8jpzJ3qvEa3oyVJw== X-Received: by 2002:a62:c050:: with SMTP id x77-v6mr4959937pff.67.1526559135534; Thu, 17 May 2018 05:12:15 -0700 (PDT) Received: from chrisp-dl.ws.atlnz.lc ([2001:df5:b000:22:3a2c:4aff:fe70:2b02]) by smtp.gmail.com with ESMTPSA id n67-v6sm10786297pfh.188.2018.05.17.05.12.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 17 May 2018 05:12:14 -0700 (PDT) From: Chris Packham To: u-boot@lists.denx.de Date: Fri, 18 May 2018 00:12:04 +1200 Message-Id: <20180517121204.7862-1-judge.packham@gmail.com> X-Mailer: git-send-email 2.17.0 Cc: Joe Hershberger , Chris Packham Subject: [U-Boot] [PATCH v2] net: MVGBE don't automatically select 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" When Kconfig support was added for MVGBE it included automatically selected PHYLIB support. But MVGBE does not need PHYLIB it will build fine without it. Commit ed52ea507f12 ("net: add Kconfig for MVGBE") should have been a no-op in terms of build size but because of the selecting PHYLIB the openrd configs increased in size. Remove the automatic selection of PHYLIB, boards that need it will have already enabled it in their config header file. Fixes: commit ed52ea507f12 ("net: add Kconfig for MVGBE") Signed-off-by: Chris Packham Reviewed-by: Tom Rini Acked-by: Joe Hershberger --- Changes in v2: - reword commit message to make the intent a bit clearer drivers/net/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index c962d7a72c0c..f2cc75f494e8 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -181,7 +181,6 @@ config FTMAC100 config MVGBE bool "Marvell Orion5x/Kirkwood network interface support" depends on KIRKWOOD || ORION5X - select PHYLIB help This driver supports the network interface units in the Marvell Orion5x and Kirkwood SoCs