From patchwork Wed Sep 7 11:57:49 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philip Balister X-Patchwork-Id: 113749 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 DA189B6F7B for ; Wed, 7 Sep 2011 21:58:26 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 134C12809B; Wed, 7 Sep 2011 13:58:20 +0200 (CEST) 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 HcrTvQE2P03C; Wed, 7 Sep 2011 13:58:19 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 75A92280A0; Wed, 7 Sep 2011 13:58:15 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E4C4928096 for ; Wed, 7 Sep 2011 13:58:12 +0200 (CEST) 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 msAiHC9nAoiU for ; Wed, 7 Sep 2011 13:58:10 +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 mail-qy0-f179.google.com (mail-qy0-f179.google.com [209.85.216.179]) by theia.denx.de (Postfix) with ESMTPS id C1BD72808B for ; Wed, 7 Sep 2011 13:58:08 +0200 (CEST) Received: by qyk35 with SMTP id 35so4300751qyk.3 for ; Wed, 07 Sep 2011 04:58:07 -0700 (PDT) Received: by 10.224.200.72 with SMTP id ev8mr4784106qab.247.1315396687062; Wed, 07 Sep 2011 04:58:07 -0700 (PDT) Received: from localhost.localdomain (pool-74-107-169-81.ronkva.east.verizon.net. [74.107.169.81]) by mx.google.com with ESMTPS id dv6sm2246492qab.13.2011.09.07.04.58.04 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 07 Sep 2011 04:58:06 -0700 (PDT) From: Philip Balister To: u-boot@lists.denx.de Date: Wed, 7 Sep 2011 07:57:49 -0400 Message-Id: <1315396670-22889-2-git-send-email-philip@opensdr.com> X-Mailer: git-send-email 1.7.4.4 In-Reply-To: <1315396670-22889-1-git-send-email-philip@opensdr.com> References: <1315396670-22889-1-git-send-email-philip@opensdr.com> Cc: Philip Balister Subject: [U-Boot] [PATCH] OMAP3: Overo: Update GPMC timing for ethernet chip. X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.9 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de The existing timing does not quite meet the minimum requirements in the LAN9221 datasheet. The timing in this patch solves problems noticed on some parts. Signed-off-by: Philip Balister Acked-by: Steve Sakoman Tested-by: Steve Sakoman --- board/overo/overo.h | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/board/overo/overo.h b/board/overo/overo.h index 68e1243..617c0c3 100644 --- a/board/overo/overo.h +++ b/board/overo/overo.h @@ -35,10 +35,10 @@ const omap3_sysinfo sysinfo = { /* GPMC CS 5 connected to an SMSC LAN9221 ethernet controller */ #define NET_LAN9221_GPMC_CONFIG1 0x00001000 -#define NET_LAN9221_GPMC_CONFIG2 0x00080701 +#define NET_LAN9221_GPMC_CONFIG2 0x00060700 #define NET_LAN9221_GPMC_CONFIG3 0x00020201 -#define NET_LAN9221_GPMC_CONFIG4 0x08030703 -#define NET_LAN9221_GPMC_CONFIG5 0x00060908 +#define NET_LAN9221_GPMC_CONFIG4 0x06000700 +#define NET_LAN9221_GPMC_CONFIG5 0x0006090A #define NET_LAN9221_GPMC_CONFIG6 0x87030000 #define NET_LAN9221_GPMC_CONFIG7 0x00000f6c