From patchwork Thu Oct 1 09:48:11 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sjoerd Simons X-Patchwork-Id: 54352 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f72.google.com (mail-la0-f72.google.com [209.85.215.72]) by patches.linaro.org (Postfix) with ESMTPS id 72C3A205D0 for ; Thu, 1 Oct 2015 09:51:07 +0000 (UTC) Received: by laer8 with SMTP id r8sf34034339lae.2 for ; Thu, 01 Oct 2015 02:51:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:cc:subject:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:mime-version :content-type:content-transfer-encoding:errors-to:sender :x-original-sender:x-original-authentication-results:mailing-list; bh=LGGAb7ao+LHabYV9RjzUJ4Of0A52KvFXNCAJAT0N3c8=; b=dKHMGc8k9Z7z3IqbsYr4fHiA8g8URS7moqcTCjSmfAg/E7h2CtHseouWeLApFwG1Bd HsjhIlslXaaUAC9lhxHwlCLawluiWcJj9STyJglm/ruINV0YarEc5DcG3oIv1ZCj/Xmv hbg6tgzOxFcl4tx/6sOIxOcDWSZG5kDASEdVmwJ21zpZEqp+rkVRBS05uOFtDHTpogXF iC2H+Uqo5LDB7yNxo41CQOmabcHujff6LuSnK572yWI+3Wu2vypuz9DWcfMYq7ekx4zB VTz9WCf0rflcuHgMYnkqLNxS1vKFCc4gq93vFvk0YfsJqUcJByvvk2Tb2ZZ5buS+yShe YTaw== X-Gm-Message-State: ALoCoQk2YuShzLDveb0Ib3Asgnuw9X/2ZuSp5pvuHidKJsAYfCcmdW547rDTXk/fxV5KJYf8m01g X-Received: by 10.180.35.132 with SMTP id h4mr322313wij.5.1443693066409; Thu, 01 Oct 2015 02:51:06 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.25.153.196 with SMTP id b187ls105909lfe.80.gmail; Thu, 01 Oct 2015 02:51:06 -0700 (PDT) X-Received: by 10.112.199.100 with SMTP id jj4mr2676017lbc.122.1443693066259; Thu, 01 Oct 2015 02:51:06 -0700 (PDT) Received: from mail-la0-f46.google.com (mail-la0-f46.google.com. [209.85.215.46]) by mx.google.com with ESMTPS id m82si2414336lfg.118.2015.10.01.02.51.05 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Oct 2015 02:51:05 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.46 as permitted sender) client-ip=209.85.215.46; Received: by laclj5 with SMTP id lj5so71199009lac.3 for ; Thu, 01 Oct 2015 02:51:05 -0700 (PDT) X-Received: by 10.25.38.9 with SMTP id m9mr1603702lfm.112.1443693065801; Thu, 01 Oct 2015 02:51:05 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.59.35 with SMTP id w3csp483505lbq; Thu, 1 Oct 2015 02:51:05 -0700 (PDT) X-Received: by 10.194.77.77 with SMTP id q13mr10826503wjw.79.1443693065275; Thu, 01 Oct 2015 02:51:05 -0700 (PDT) Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id el1si2746964wid.0.2015.10.01.02.51.05; Thu, 01 Oct 2015 02:51:05 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) client-ip=85.214.87.163; Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 7E1C74B965; Thu, 1 Oct 2015 11:49:11 +0200 (CEST) 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 3BpCGRbPj2YT; Thu, 1 Oct 2015 11:49:11 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 34D344B8F8; Thu, 1 Oct 2015 11:49:11 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 271304B8B7 for ; Thu, 1 Oct 2015 11:48:52 +0200 (CEST) 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 1_0evy1FJdIN for ; Thu, 1 Oct 2015 11:48:52 +0200 (CEST) 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 bhuna.collabora.co.uk (bhuna.collabora.co.uk [93.93.135.160]) by theia.denx.de (Postfix) with ESMTPS id A1A764B92A for ; Thu, 1 Oct 2015 11:48:47 +0200 (CEST) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: sjoerd) with ESMTPSA id B4CF96092C5 Received: by dusk.luon.net (Postfix, from userid 1000) id E3568236CE; Thu, 1 Oct 2015 11:48:13 +0200 (CEST) From: Sjoerd Simons To: Simon Glass Date: Thu, 1 Oct 2015 11:48:11 +0200 Message-Id: <1443692893-19905-9-git-send-email-sjoerd.simons@collabora.co.uk> X-Mailer: git-send-email 2.5.3 In-Reply-To: <1443692893-19905-1-git-send-email-sjoerd.simons@collabora.co.uk> References: <1443692893-19905-1-git-send-email-sjoerd.simons@collabora.co.uk> Cc: Tom Rini , u-boot@lists.denx.de Subject: [U-Boot] [PATCH 08/10] rockchip: firefly: Enable networking support X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: 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" X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: sjoerd.simons@collabora.co.uk X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.46 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Enable the various configuration option required to get the ethernet interface up and running. Signed-off-by: Sjoerd Simons Acked-by: Simon Glass --- configs/firefly-rk3288_defconfig | 5 +++++ include/configs/firefly-rk3288.h | 3 +++ 2 files changed, 8 insertions(+) diff --git a/configs/firefly-rk3288_defconfig b/configs/firefly-rk3288_defconfig index edb2db2..94c59c3 100644 --- a/configs/firefly-rk3288_defconfig +++ b/configs/firefly-rk3288_defconfig @@ -22,6 +22,11 @@ CONFIG_LED_GPIO=y CONFIG_RESET=y CONFIG_DM_MMC=y CONFIG_ROCKCHIP_DWMMC=y +CONFIG_DM_ETH=y +CONFIG_NETDEVICES=y +CONFIG_ETH_DESIGNWARE=y +CONFIG_GMAC_RK3288=y +CONFIG_SYS_I2C_ROCKCHIP=y CONFIG_PINCTRL=y # CONFIG_PINCTRL_FULL is not set CONFIG_SPL_PINCTRL=y diff --git a/include/configs/firefly-rk3288.h b/include/configs/firefly-rk3288.h index 4c5c4dd..43d4df9 100644 --- a/include/configs/firefly-rk3288.h +++ b/include/configs/firefly-rk3288.h @@ -10,6 +10,9 @@ #include #define CONFIG_SPL_MMC_SUPPORT +#define CONFIG_PHYLIB +#define CONFIG_LIB_RAND +#define CONFIG_NET_RANDOM_ETHADDR #define CONFIG_ENV_IS_IN_MMC #define CONFIG_SYS_MMC_ENV_DEV 0