From patchwork Sun Nov 27 17:01:46 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 84336 Delivered-To: patch@linaro.org Received: by 10.140.20.101 with SMTP id 92csp830511qgi; Sun, 27 Nov 2016 09:06:54 -0800 (PST) X-Received: by 10.194.35.2 with SMTP id d2mr14936975wjj.61.1480266414654; Sun, 27 Nov 2016 09:06:54 -0800 (PST) Return-Path: Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id b19si22560501wma.105.2016.11.27.09.06.54; Sun, 27 Nov 2016 09:06:54 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) client-ip=85.214.87.163; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE dis=NONE) header.from=chromium.org Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id ABB9BB38F9; Sun, 27 Nov 2016 18:05:27 +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 LNc9yqEpCoTI; Sun, 27 Nov 2016 18:05:27 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 370ADA75A9; Sun, 27 Nov 2016 18:05:07 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D9821B3874 for ; Sun, 27 Nov 2016 18:04:57 +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 hiWafqj5qqoE for ; Sun, 27 Nov 2016 18:04:57 +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-oi0-f45.google.com (mail-oi0-f45.google.com [209.85.218.45]) by theia.denx.de (Postfix) with ESMTPS id A818CA75B4 for ; Sun, 27 Nov 2016 18:04:53 +0100 (CET) Received: by mail-oi0-f45.google.com with SMTP id w63so127335732oiw.0 for ; Sun, 27 Nov 2016 09:04:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=wjBx8IJCNDp10gJo4qvRIgyujXsBIKhX+RP0J54M0oI=; b=idRKu77D7r5eYJDfreL2jUSYQpT+IuIrR6fOeqDAsXMnkPweJkLB+YAuYiCc2DMOEk EGTDqfaKfpjWhAXWrohdcpP5SZftJ0+df6JKnt3uj2cyVa8BEQWp9F7HJPMoTJeeyj5P c4jK4zY7WUtWCMTaUdlJ1i4oAdLnsNQ0Ty1kGRVd0RoGFfx8no6o6U1pkEDPWzkeY/7V OGxGq62i7UD4vgr8soeroXlMt2rwVM5zZRlMCyFL0C/T3vDlkv9524uRVRJa0nzvpRvp nz22MsvQd8LoHF0gd4tFYVBOvuT3Nnfo7x1uUPCgfu5OPYXaA6btiSz3+pM/ruMXO/rh DQcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=wjBx8IJCNDp10gJo4qvRIgyujXsBIKhX+RP0J54M0oI=; b=ImtQS1s5aFaDYkObY8OHSoynKJtirHWSEBiAVnm6dTB+8oyHnh985vr1GcG/i2xOv5 xFQbVKF/QvwVnU9OMSMnYcloTSWokCaHV3JzJS3k7XHZnPCRmEBsATKLy0u2JKu78oS0 ESaQgr7gZfw5jet7RPOKHQxiGWdbW7cJ+QuGc1Lsi0pss9/MgZHvJI3iYGvm0Md6OuEz TjY3ugBsztTH0dKmKHGEUfMp6zDLiY1NvwTfxjzhVJNhTHUEqCQQAN8nZb2HWG97Yt3O 1jn9LVr11Wsnxe3wZdPjAeHMehKzcz8DfvqjPUSa0qanyXgrGmH+qDT2Qwy1dQcwEZk0 aQ/A== X-Gm-Message-State: AKaTC00vIjZW1i/cGAvbMT4oEZu6qIPQhoWw+5jQvcKNz7NnUvVrMat8OONW5Cl4+26aSKq7 X-Received: by 10.157.19.27 with SMTP id f27mr10894553ote.226.1480266292120; Sun, 27 Nov 2016 09:04:52 -0800 (PST) Received: from kaki.bld.corp.google.com ([100.100.197.48]) by smtp.gmail.com with ESMTPSA id s51sm16075052otb.31.2016.11.27.09.04.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 27 Nov 2016 09:04:51 -0800 (PST) Received: by kaki.bld.corp.google.com (Postfix, from userid 121222) id 214144039C; Sun, 27 Nov 2016 10:04:51 -0700 (MST) From: Simon Glass To: U-Boot Mailing List Date: Sun, 27 Nov 2016 10:01:46 -0700 Message-Id: <1480266109-7209-7-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 2.8.0.rc3.226.g39d4020 In-Reply-To: <1480266109-7209-1-git-send-email-sjg@chromium.org> References: <1480266109-7209-1-git-send-email-sjg@chromium.org> Cc: Jeffy Chen , huang lin Subject: [U-Boot] [PATCH v3 6/9] rockchip: Enable networking support on rock2 and firefly 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: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" From: Sjoerd Simons Enable the various configuration option required to get the ethernet interface up and running on Radxa Rock2 and Firefly. Signed-off-by: Sjoerd Simons Reviewed-by: Simon Glass Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None configs/firefly-rk3288_defconfig | 4 ++++ configs/rock2_defconfig | 4 ++++ 2 files changed, 8 insertions(+) -- 2.8.0.rc3.226.g39d4020 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot diff --git a/configs/firefly-rk3288_defconfig b/configs/firefly-rk3288_defconfig index 4910c80..82787dc 100644 --- a/configs/firefly-rk3288_defconfig +++ b/configs/firefly-rk3288_defconfig @@ -44,6 +44,10 @@ CONFIG_SYS_I2C_ROCKCHIP=y CONFIG_LED=y CONFIG_LED_GPIO=y CONFIG_ROCKCHIP_DWMMC=y +CONFIG_DM_ETH=y +CONFIG_NETDEVICES=y +CONFIG_ETH_DESIGNWARE=y +CONFIG_GMAC_RK3288=y CONFIG_PINCTRL=y CONFIG_SPL_PINCTRL=y # CONFIG_SPL_PINCTRL_FULL is not set diff --git a/configs/rock2_defconfig b/configs/rock2_defconfig index 1883f07..f8436d6 100644 --- a/configs/rock2_defconfig +++ b/configs/rock2_defconfig @@ -43,6 +43,10 @@ CONFIG_SPL_CLK=y CONFIG_ROCKCHIP_GPIO=y CONFIG_SYS_I2C_ROCKCHIP=y CONFIG_ROCKCHIP_DWMMC=y +CONFIG_DM_ETH=y +CONFIG_NETDEVICES=y +CONFIG_ETH_DESIGNWARE=y +CONFIG_GMAC_RK3288=y CONFIG_PINCTRL=y CONFIG_SPL_PINCTRL=y # CONFIG_SPL_PINCTRL_FULL is not set