From patchwork Tue Feb 11 02:54:27 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: johnd X-Patchwork-Id: 319116 X-Patchwork-Delegate: andreas.biessmann@googlemail.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 16E022C00B0 for ; Tue, 11 Feb 2014 15:44:53 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 3E28F4B6DD; Tue, 11 Feb 2014 05:44:46 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de 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 tTMW5RRPUxtM; Tue, 11 Feb 2014 05:44:46 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E2F7E4B6DE; Tue, 11 Feb 2014 05:44:26 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 105984B6E1 for ; Tue, 11 Feb 2014 04:01:21 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de 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 qb9Izys8eKJf for ; Tue, 11 Feb 2014 04:01:17 +0100 (CET) X-Greylist: delayed 400 seconds by postgrey-1.27 at theia; Tue, 11 Feb 2014 04:01:13 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-pb0-f49.google.com (mail-pb0-f49.google.com [209.85.160.49]) by theia.denx.de (Postfix) with ESMTPS id 2B51E4B6DF for ; Tue, 11 Feb 2014 04:01:13 +0100 (CET) Received: by mail-pb0-f49.google.com with SMTP id up15so7097350pbc.36 for ; Mon, 10 Feb 2014 19:01:12 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-type:content-disposition:signed-off-by:user-agent; bh=yG5lByo8wnie/NUGVguh2UZXhtjaM1Jp8UDSb+/Q4UQ=; b=jCgYDBdFsplvpb5dQlETsMLhCcpPzAUvhOqIC4HpswkDS5GEfc+rQUX+SVWGhmOkxk J/w0HrhsBR3Vdf9QoNeZYjCJYbfBXvdjlz99RmWmxdt6vGlYKwNbuClbARTvqPhmoEsO onlwCR6oBvjXxxNbMEmWvZ2uVkTNDCu7s82qaoOgmigD5aM1fN2ZE7D9mu0+nC47Bzbw CkN0JCaFUcN41FfqwK1pqSp99AqODWxG7bgV95V+HgkMBc+KsWfk1+Qovw3JIHIhTzof 0CfokpevLFELaqzAwOfIGbKA4Py3D9ccVlcPCBOPq2WOxQhdenbcLSTmAgpjtJnaWZh6 pEBg== X-Gm-Message-State: ALoCoQl/7DysgrCfxPsk8PeJvhKateVaZrM3dJ1TpX8rpFaUak0fh7PqRg7DWie5qnnnNvLoiVSl X-Received: by 10.66.122.201 with SMTP id lu9mr29092818pab.40.1392087271099; Mon, 10 Feb 2014 18:54:31 -0800 (PST) Received: from vega.jjdev.com ([2606:6000:fb80:5900:7e6d:62ff:fe8f:b9f9]) by mx.google.com with ESMTPSA id y9sm124826961pas.10.2014.02.10.18.54.30 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 10 Feb 2014 18:54:30 -0800 (PST) Date: Mon, 10 Feb 2014 18:54:27 -0800 From: johnd To: u-boot@lists.denx.de Message-ID: <20140211025424.GA31651@vega.jjdev.com> MIME-Version: 1.0 Content-Disposition: inline Signed-off-by: John de la Garza User-Agent: Mutt/1.5.21 (2010-09-15) X-Mailman-Approved-At: Tue, 11 Feb 2014 05:44:22 +0100 Subject: [U-Boot] [PATCH] arch-at91: Gets ethernet working on at91sam9g20 board X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de --- arch/arm/include/asm/arch-at91/at91_rstc.h | 2 +- include/configs/at91sam9260ek.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/include/asm/arch-at91/at91_rstc.h b/arch/arm/include/asm/arch-at91/at91_rstc.h index a942342..59be96b 100644 --- a/arch/arm/include/asm/arch-at91/at91_rstc.h +++ b/arch/arm/include/asm/arch-at91/at91_rstc.h @@ -25,7 +25,7 @@ typedef struct at91_rstc { #endif /* __ASSEMBLY__ */ -#define AT91_RSTC_KEY 0xA5000000 +#define AT91_RSTC_KEY 0xA5 #define AT91_RSTC_CR_PROCRST 0x00000001 #define AT91_RSTC_CR_PERRST 0x00000004 diff --git a/include/configs/at91sam9260ek.h b/include/configs/at91sam9260ek.h index 73917b0..53bef35 100644 --- a/include/configs/at91sam9260ek.h +++ b/include/configs/at91sam9260ek.h @@ -177,6 +177,7 @@ #define CONFIG_SYS_NO_FLASH 1 /* Ethernet */ +#define CONFIG_MACB_SEARCH_PHY #define CONFIG_MACB 1 #define CONFIG_RMII 1 #define CONFIG_NET_RETRY_COUNT 20