From patchwork Mon Aug 19 18:43:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ralph Siemsen X-Patchwork-Id: 1149481 X-Patchwork-Delegate: joe.hershberger@gmail.com 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=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="SuNA+0lD"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 46C2rF3y7Mz9sBF for ; Tue, 20 Aug 2019 04:43:39 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id A7D44C21E62; Mon, 19 Aug 2019 18:43:32 +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=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 A1259C21D83; Mon, 19 Aug 2019 18:43:30 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id D8EC8C21D83; Mon, 19 Aug 2019 18:43:28 +0000 (UTC) Received: from mail-io1-f67.google.com (mail-io1-f67.google.com [209.85.166.67]) by lists.denx.de (Postfix) with ESMTPS id 2CB23C21C57 for ; Mon, 19 Aug 2019 18:43:28 +0000 (UTC) Received: by mail-io1-f67.google.com with SMTP id j5so6533235ioj.8 for ; Mon, 19 Aug 2019 11:43:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=7PU6lg/vwZWhDkGhHa0K/XxqnrTAZL0EfHRByItOX3Y=; b=SuNA+0lD7ANXYLTD+6JlgW+8UZA7K7mOcqNmIy6mj+aEkrg1c4SkWidO1zNLBlxF5r c9KrlVAz+u7mlyfucBIgolV7bVi7igPO1lKUb9f5yxB1qIkH0OqgBf+93yQ7wcdfrqBt Y8Pe4GBjlwqBOMyl/O2VbT3BfCet0n+fUAKzHq086xtxQTc0MK+qOFxnOs20fLorMVa+ q1BV+OVCyw5VTIoRx/X0Pkd+HB19EXkgr+VuadZLOxD+Yz22PoihTaDF57d3SrrOQPMO xUX9vFpRe0VFtfne0wGWZHpZlvp/oInNhmgjx+VjqhgOwdUKaU0ISQt5HyL6DIZix4YV J6Ng== 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=7PU6lg/vwZWhDkGhHa0K/XxqnrTAZL0EfHRByItOX3Y=; b=lYIu4DPxLww35O4RI9syRRmZkS4vjtS1p8EuSrniI0f7nN+Ign2YbH2uItN+doKego vaRRYQ36jDGmhJevEzWVd2e59hMtjgfIFPooWgHmI9mpkR6y6Ux393rH7o1fo2GM6Dd4 Cvo4mLCfMdnuPHY3P/H08e+zHmCLKlXH9KzCTBiVrqDtMI908E7hPJVO5BaRqIQlVNxL k0Wdvd8gt0qHxvc8YmOOlszfY5jFGorQUCYfXOjuFBJncmkejCyBY/XnS8N55xBJZGah QPzNMXh3B2Co3DxOpYXXe1OHms+F/MbPcIeSDmHbXSgfZzm8AcUHki6WPBd3OSdW4U7i daQA== X-Gm-Message-State: APjAAAWEFH1kO9S0N53OjQQohLdi/Al9tw0R3zfNLrR0RYzLPl5V8mMW HiYipFNNVszil2UfDSrN/Qbmz91/35Y= X-Google-Smtp-Source: APXvYqwxcbLZVWk8XFK8sZI9/du3GW0yqcWIDhe9u3/wBEZyEM5SeAzWSVxHrN/7YjKGJjQ2GYAQYg== X-Received: by 2002:a05:6638:348:: with SMTP id x8mr28560330jap.31.1566240206379; Mon, 19 Aug 2019 11:43:26 -0700 (PDT) Received: from maple.netwinder.org (rfs.netwinder.org. [206.248.184.2]) by smtp.gmail.com with ESMTPSA id v10sm17323010iob.43.2019.08.19.11.43.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Aug 2019 11:43:25 -0700 (PDT) From: Ralph Siemsen To: u-boot@lists.denx.de, Joe Hershberger , Alexey Brodkin , Vlad Zakharov Date: Mon, 19 Aug 2019 14:43:13 -0400 Message-Id: <20190819184313.8383-1-ralph.siemsen@linaro.org> X-Mailer: git-send-email 2.17.1 Subject: [U-Boot] [RFC PATCH] net: designware: drop compatible altr, socfpga-stmmac 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 same compatible = "altr,socfpga-stmmac" appears in both drivers/net/designware.c and drivers/net/dwmac_socfgpa.c, creating ambiguity in which driver will be bound. For Intel/Altera SoC devices, dwmac_socfpga.c is the correct driver. So drop the compatible string from designware.c. Signed-off-by: Ralph Siemsen Reviewed-by: Simon Goldschmidt Acked-by: Joe Hershberger --- This compatible string also appears in: axs10x_mb.dtsi and hsdk.dts. Maintainers of those boards have been copied, kindly review. drivers/net/designware.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/designware.c b/drivers/net/designware.c index c4fe40b19a..145eeac45f 100644 --- a/drivers/net/designware.c +++ b/drivers/net/designware.c @@ -847,7 +847,6 @@ int designware_eth_ofdata_to_platdata(struct udevice *dev) static const struct udevice_id designware_eth_ids[] = { { .compatible = "allwinner,sun7i-a20-gmac" }, - { .compatible = "altr,socfpga-stmmac" }, { .compatible = "amlogic,meson6-dwmac" }, { .compatible = "amlogic,meson-gx-dwmac" }, { .compatible = "amlogic,meson-gxbb-dwmac" },