Message ID | 20221127152536.1556469-32-trini@konsulko.com |
---|---|
State | Accepted |
Commit | 8a9e3464e487a6837dba381b28f6532fd106ce6c |
Delegated to: | Tom Rini |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.a=rsa-sha256 header.s=google header.b=OZR+4oRT; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4NKsy16hdJz23nJ for <incoming@patchwork.ozlabs.org>; Mon, 28 Nov 2022 02:31:05 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5578E8524B; Sun, 27 Nov 2022 16:27:16 +0100 (CET) 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="OZR+4oRT"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4D2BA85119; Sun, 27 Nov 2022 16:26:16 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) (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 19E4384F27 for <u-boot@lists.denx.de>; Sun, 27 Nov 2022 16:26:14 +0100 (CET) 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-ej1-x630.google.com with SMTP id vp12so19052481ejc.8 for <u-boot@lists.denx.de>; Sun, 27 Nov 2022 07:26:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=2uFqpRfRYhR/4IO3aAkmC0qiWEeypqZt3w08o2RtEQA=; b=OZR+4oRTNZIPVmuwDJ57WPjrxRPfPQYql6/CbijrDBVEGI7nQE6yFw0nfd7dMW0aw8 isUPY9vg+IHnS/yhe1yqWsq4fy0KwnzU0m1y9OjoyizaHe5UeK3RwrDPDoEyCBydgoLq i6vY/8nDj1RWm4aT+fRtW/YDIISRBiY6nOLrE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=2uFqpRfRYhR/4IO3aAkmC0qiWEeypqZt3w08o2RtEQA=; b=NSuFwB1HBhmFRONaca+sggawMB7wyNTcGOsvXdL2tG5JMAE3AKVidjqNPlDCu1vW4W MqK+WNKIwSNfZGXAuKp2U4g4F8tN5KkiXeUu8GhwXfYGfnW6zl+j8tg91tAQwdx/cfoI 0eefi0sDCSMg/nSZUOhPBdV8vU4QDjQeAqYwI4k/MTFZW3InAeL54kI4wYI9VXsJqmQP g3tx+Gd0Q99wBmJM7uXRyVq6WpAU636YzG+hUQCZIFO6dGM6G4YrsqXq51VqTY/yjEhF NX3Z/rzHIgFRc7ui1UOqENqPdFKh9If0peWtt1dNsvMNxxfz5w7Mnqg12AnR8Rx4r8iE R0TQ== X-Gm-Message-State: ANoB5pmSM8HFwS64AUVmsdGfol+CBFOggTjwcwQ2UX348FUJSqNXC54x /KsU/36N3sOAjjCsxMaNPM2ijYrUHOZadw== X-Google-Smtp-Source: AA0mqf5jG4sOpL9HqwRvaDQpdEj4OIRmBQ02b+hsXpXm0CZ8KunsBz4fNfQ3lqDDO4XXYT2Ma1jIVA== X-Received: by 2002:a17:906:5db2:b0:7ae:d58b:30f8 with SMTP id n18-20020a1709065db200b007aed58b30f8mr20725273ejv.564.1669562773680; Sun, 27 Nov 2022 07:26:13 -0800 (PST) Received: from bill-the-cat.lan (2603-6081-7b00-6400-dc2c-1c0a-ea3e-04dc.res6.spectrum.com. [2603:6081:7b00:6400:dc2c:1c0a:ea3e:4dc]) by smtp.gmail.com with ESMTPSA id tb6-20020a1709078b8600b007b47749838asm3853036ejc.45.2022.11.27.07.26.12 for <u-boot@lists.denx.de> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Nov 2022 07:26:13 -0800 (PST) From: Tom Rini <trini@konsulko.com> To: u-boot@lists.denx.de Subject: [PATCH 32/41] net: keystone_net: Remove non-DM_ETH code Date: Sun, 27 Nov 2022 10:25:27 -0500 Message-Id: <20221127152536.1556469-32-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221127152536.1556469-1-trini@konsulko.com> References: <20221119234545.404563-38-trini@konsulko.com> <20221127152536.1556469-1-trini@konsulko.com> 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 <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean |
Series |
[01/41] xenguest_arm64: Disable networking support more fully
|
expand
|
diff --git a/drivers/net/ti/keystone_net.c b/drivers/net/ti/keystone_net.c index 1bdbd599d7b4..679a0450f1d5 100644 --- a/drivers/net/ti/keystone_net.c +++ b/drivers/net/ti/keystone_net.c @@ -592,10 +592,8 @@ static int ks2_eth_probe(struct udevice *dev) if (priv->has_mdio) { priv->phydev = phy_connect(priv->mdio_bus, priv->phy_addr, dev, priv->phy_if); -#ifdef CONFIG_DM_ETH - if (ofnode_valid(priv->phy_ofnode)) - priv->phydev->node = priv->phy_ofnode; -#endif + if (ofnode_valid(priv->phy_ofnode)) + priv->phydev->node = priv->phy_ofnode; phy_config(priv->phydev); }
As DM_ETH is required for all network drivers, it's now safe to remove the non-DM_ETH support code. Signed-off-by: Tom Rini <trini@konsulko.com> --- drivers/net/ti/keystone_net.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)