From patchwork Wed Jul 17 19:46:15 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Troy Kisky X-Patchwork-Id: 259738 X-Patchwork-Delegate: trini@ti.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 D60832C0095 for ; Thu, 18 Jul 2013 05:47:00 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 14D864A037; Wed, 17 Jul 2013 21:46:57 +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 9DAgFxp4HSIn; Wed, 17 Jul 2013 21:46:56 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 7A6944A052; Wed, 17 Jul 2013 21:46:52 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id A1F724A052 for ; Wed, 17 Jul 2013 21:46:47 +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 ow3e8a3UVRyQ for ; Wed, 17 Jul 2013 21:46:41 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 BL_NJABL=ERR(-1.5) (only DNSBL check requested) Received: from mail-pa0-f47.google.com (mail-pa0-f47.google.com [209.85.220.47]) by theia.denx.de (Postfix) with ESMTPS id 5D33F4A037 for ; Wed, 17 Jul 2013 21:46:33 +0200 (CEST) Received: by mail-pa0-f47.google.com with SMTP id kl14so2327623pab.34 for ; Wed, 17 Jul 2013 12:46:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:x-gm-message-state; bh=iMio2hQNB9U0sX9cD3NgauYBhfsfqbRlGyI3W3qOSnI=; b=bLB5UPWCLdG3DUTBzf6M/WBQlR5mvw9glOmRVHVUqnLNUa02p1WqkBKU3w7RwM0ZXR g1j8dHmY8z/Bd9udD+hpZeolmMRYdl7ULJsPpyHeEtrr+4iO+IfLz5K/1XCRn9cy0D6w kAoYu8eo2hAPxULp/g3VxSQBHNpBlrff1qyB2oTlbAWKWhqKHU7MllLPdbhTh3yCIss9 uMwf59UBkGrvAslrnxJFw//FJhww+UeW+uGGxxt8oOVlzcCuswj0Kf9wBShHkwgtHCPx frRhbNUrJu1AIvEnrEIUhdbonppmyapr/nJtbUj0ZkQU4BQZ3KNETjudslOW1HJRzNVG s1uQ== X-Received: by 10.66.89.201 with SMTP id bq9mr9353133pab.112.1374090392019; Wed, 17 Jul 2013 12:46:32 -0700 (PDT) Received: from officeserver-2 ([70.96.116.236]) by mx.google.com with ESMTPSA id te9sm12146200pab.6.2013.07.17.12.46.29 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 17 Jul 2013 12:46:31 -0700 (PDT) Received: from tkisky by officeserver-2 with local (Exim 4.80) (envelope-from ) id 1UzXgB-0005Wm-EU; Wed, 17 Jul 2013 12:46:27 -0700 From: Troy Kisky To: sbabic@denx.de Date: Wed, 17 Jul 2013 12:46:15 -0700 Message-Id: <1374090375-21216-1-git-send-email-troy.kisky@boundarydevices.com> X-Mailer: git-send-email 1.8.1.2 X-Gm-Message-State: ALoCoQn0y8BqsLHEU0FwMCf2A/V2ZzU6PouXZPvlJtwGkoFn4LSbc4wULHP6fPqIiKe7zRrl58+N Cc: u-boot@lists.denx.de Subject: [U-Boot] [PATCH 1/1] ddr cfg: DRAM_RESET needs 0x00020030 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: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de The old value of 0x000e0030 will cause ethernet timeout issues on the sabrelite and possibly other boards using the KSZ9021. I have no explanation as to why. But this is a correct change, the TRM will be updated to show that 00b is the only valid setting for bits 19-18 of DRAM_RESET. My thanks go to Liu Hui(Jason) for this information. Signed-off-by: Troy Kisky Acked-by: Fabio Estevam Acked-by: Fabio Estevam Acked-by: Stefano Babic Acked-by: Dirk Behme --- board/boundary/nitrogen6x/ddr-setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/boundary/nitrogen6x/ddr-setup.cfg b/board/boundary/nitrogen6x/ddr-setup.cfg index c315812..e5f8add 100644 --- a/board/boundary/nitrogen6x/ddr-setup.cfg +++ b/board/boundary/nitrogen6x/ddr-setup.cfg @@ -74,7 +74,7 @@ DATA 4, MX6_IOM_DRAM_RAS, 0x00020030 DATA 4, MX6_IOM_DRAM_SDCLK_0, 0x00020030 DATA 4, MX6_IOM_DRAM_SDCLK_1, 0x00020030 -DATA 4, MX6_IOM_DRAM_RESET, 0x000e0030 +DATA 4, MX6_IOM_DRAM_RESET, 0x00020030 DATA 4, MX6_IOM_DRAM_SDCKE0, 0x00003000 DATA 4, MX6_IOM_DRAM_SDCKE1, 0x00003000