From patchwork Sat Dec 3 05:06:09 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 86408 Delivered-To: patch@linaro.org Received: by 10.140.20.101 with SMTP id 92csp571271qgi; Fri, 2 Dec 2016 21:07:36 -0800 (PST) X-Received: by 10.28.153.201 with SMTP id b192mr556667wme.61.1480741656347; Fri, 02 Dec 2016 21:07:36 -0800 (PST) Return-Path: Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id v4si7781098wjr.104.2016.12.02.21.07.36; Fri, 02 Dec 2016 21:07:36 -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 B4B76B38AE; Sat, 3 Dec 2016 06:07:15 +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 8EMKt8IZAmGC; Sat, 3 Dec 2016 06:07:15 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D0E3AB38B4; Sat, 3 Dec 2016 06:06:46 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 27F60B387E for ; Sat, 3 Dec 2016 06:06:43 +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 rsT-5odjH1A4 for ; Sat, 3 Dec 2016 06:06:43 +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-f43.google.com (mail-oi0-f43.google.com [209.85.218.43]) by theia.denx.de (Postfix) with ESMTPS id 4EF8BB3864 for ; Sat, 3 Dec 2016 06:06:28 +0100 (CET) Received: by mail-oi0-f43.google.com with SMTP id b126so288407049oia.2 for ; Fri, 02 Dec 2016 21:06:27 -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=mqa8vZOFpoi/mb51lQtq8ghR9ZTDfeDmXuYrYBQx92Q=; b=Ezv+UowVBjYO3lPeRBq18ccrK5h2VHtmSPaJUE87WBdbKhVdnvNYqXJNB7DLRTTjpO /q6U/lz5Fp5WLa1ncodM+Vemf/4wRR7ZrnmvpB1LrxtBfSLfXP+evOTlg74HJE6Z1A6R lJW+8uP5pKAABZO3SzMB7F3hWsppmepJyhBiTHT0q7USMd3DJNYpySeeI22Any0+A1Jj pJuXHoVseRcpNy8dDzIv1qX+2yqKX3dOzJruGcmhB9Vs05OR/7K8FGYgdgLFGHJE3Ovd 3GqAg21pBx5l1oCPes7VzeYi+w03ieLiUK+WkDI1gNNyOrd7J3A7H49omJyeegXYHxBL n0pA== 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=mqa8vZOFpoi/mb51lQtq8ghR9ZTDfeDmXuYrYBQx92Q=; b=WrZtZS4yAABE3GOeiBRLf1G4czfATsq5fmJljeMvvSVeyiiyaHWxoefOwDUMH3W77g pu68CaM6AXW0zNZRYk/v3R3W+lNdhhKd6JzhBmj03hvTGLJ1YrCoFGNb9hrNY0f8bDiA lAenUz7Lm2VXeXWQDxZzEA4d844lWGguORZeySGfCSI8IJMna+yK7M+WC/5aFtEd7b5f 1Lx07p3Dte75zKD2AH8MGarUe6W95LV7qBjeDryE6wfPz2KofQg47uSlC4rOmXdIWFEX lHVCbw1ul/4lhazYQKNAUKBSf27+iAs6dFX57O5RF7lXTbbmflunddRMf4QI1KW6/WyG Ai9A== X-Gm-Message-State: AKaTC02bguDYXgV8f0X/WDhIkXr0HlZrcLK7T8rtEK/T0UBVn3xnvbe8tlNI2rS3vZ3rZus7 X-Received: by 10.157.18.171 with SMTP id g40mr28796787otg.273.1480741586777; Fri, 02 Dec 2016 21:06:26 -0800 (PST) Received: from kaki.bld.corp.google.com ([100.100.197.48]) by smtp.gmail.com with ESMTPSA id o28sm2761927otb.22.2016.12.02.21.06.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 02 Dec 2016 21:06:26 -0800 (PST) Received: by kaki.bld.corp.google.com (Postfix, from userid 121222) id D3F3E428B3; Fri, 2 Dec 2016 22:06:25 -0700 (MST) From: Simon Glass To: U-Boot Mailing List Date: Fri, 2 Dec 2016 22:06:09 -0700 Message-Id: <1480741572-13582-7-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 2.8.0.rc3.226.g39d4020 In-Reply-To: <1480741572-13582-1-git-send-email-sjg@chromium.org> References: <1480741572-13582-1-git-send-email-sjg@chromium.org> Cc: Jeffy Chen , huang lin Subject: [U-Boot] [PATCH v4 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 Acked-by: Joe Hershberger Signed-off-by: Simon Glass --- Changes in v4: None 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