From patchwork Fri Jan 27 20:25:59 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiner Kallweit X-Patchwork-Id: 720901 X-Patchwork-Delegate: joe.hershberger@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 3v99Qv0vRfz9sQw for ; Sat, 28 Jan 2017 07:30:47 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="f19lzLsS"; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id C9FD9B3874; Fri, 27 Jan 2017 21:30:44 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pCKO9nHdBJ7h; Fri, 27 Jan 2017 21:30:44 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 4B86FB3867; Fri, 27 Jan 2017 21:30:44 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 66DDDA75C9 for ; Fri, 27 Jan 2017 21:30:39 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EvSIZZAl8mQh for ; Fri, 27 Jan 2017 21:30:39 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) by theia.denx.de (Postfix) with ESMTPS id 0AD46A75C3 for ; Fri, 27 Jan 2017 21:30:34 +0100 (CET) Received: by mail-wm0-f65.google.com with SMTP id r144so60810971wme.0 for ; Fri, 27 Jan 2017 12:30:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:cc:message-id:date:user-agent:mime-version :content-transfer-encoding; bh=LO6OGbO8C1GsMF0lnx2LRaZoJ1eaiSlbc+a2QyhjtY4=; b=f19lzLsSZ1JXpbtlNaDQOoLoHh1t8fnc/LeDOpa1Im2kyfS5999RFMBG8VeFSxD+Og 9cAB/veQ9jJ1ZJnVA236HqVOq3r5cos0VtxotHdMN8kHf5W8Vswyka6PhfQvMfPnPrW9 t01qxLN7Fk92F5N+zXbzb5H8QnWGzUHHeVADAYfP0YEso039PHc/NHnr7TcerFGWBMMX PFxfkwE458Q69wckR53d2suFWnaO1tS3R4jmstcZjMRjSDuj6Z/zkSX7jXJf3H8XVbR2 WSawqs/OEYR4vRyPUEV0uwlZyAWr9T7trdYXRLUihN6qlnbG2ZjvRGK70Skha8uikEv4 bGWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:cc:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=LO6OGbO8C1GsMF0lnx2LRaZoJ1eaiSlbc+a2QyhjtY4=; b=I1PEV8YYR0OsQyvuaqeTmnADsJRXkyrGDds68MwsvYNRWLm73wiqSiDYVgrZInRosE kSBjqZA8xOK+o2iim3IGv7mQottQbHrTMg6v0GFuQMQGZPB14dYiST7UKFGZLA9QdvKY qeCJdc18VUbCDuO9DgI57VjuExd0xaM7CLtEfEdmnPCTXiE3B0Ob4w6EJyWnFttFsqWf bvLxzoDHCoJ8GIOKCvqw2VGvCdqA+9yAIMRB7zmqfqmJUx9m5Z7mtt+9WxV/LSYQKu9F O4yXMnops2/++kEkQw0H4gub05Mgzv4dvRGGih8qWVnc2E+2ZQOr3g9Lr5xIAPiq0ZhJ Al4Q== X-Gm-Message-State: AIkVDXJexxYpfQVHH4pWbM0xq+ry9TLMsM3HXDf8obIQy3mDsBuwbZC/+4vUAAU3Bfjdcw== X-Received: by 10.28.195.70 with SMTP id t67mr4820429wmf.98.1485549034231; Fri, 27 Jan 2017 12:30:34 -0800 (PST) Received: from ?IPv6:2003:c6:ebc5:6c00:def:aa10:b7e0:c3c? (p200300C6EBC56C000DEFAA10B7E00C3C.dip0.t-ipconnect.de. [2003:c6:ebc5:6c00:def:aa10:b7e0:c3c]) by smtp.googlemail.com with ESMTPSA id a72sm9613781wrc.48.2017.01.27.12.30.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Jan 2017 12:30:33 -0800 (PST) To: Joe Hershberger From: Heiner Kallweit Message-ID: Date: Fri, 27 Jan 2017 21:25:59 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 Cc: u-boot@lists.denx.de, =?UTF-8?Q?Andreas_F=c3=a4rber?= Subject: [U-Boot] [PATCH] net: designware: fix for use with current Linux device tree for Meson GX X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" In Uboot for Meson GX the compatible string in meson-gxbb.dtsi so far is: compatible = "amlogic,meson6-dwmac", "snps,dwmac"; On Linux in the same dt file it's compatible = "amlogic,meson-gx-dwmac", "amlogic,meson-gxbb-dwmac", "snps,dwmac"; To avoid breaking ethernet with the next DT synch from Linux to Uboot (planned as prerequisite for adding Meson GX MMC driver to Uboot) add "amlogic,meson-gx-dwmac" to the compatibility list in the designware driver. Signed-off-by: Heiner Kallweit Acked-by: Joe Hershberger --- drivers/net/designware.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/designware.c b/drivers/net/designware.c index f242fc6..d519b87 100644 --- a/drivers/net/designware.c +++ b/drivers/net/designware.c @@ -763,6 +763,7 @@ 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" }, { } };