From patchwork Wed Jan 30 12:13:13 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Otavio Salvador X-Patchwork-Id: 216874 X-Patchwork-Delegate: sbabic@denx.de 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 BB4BC2C0087 for ; Wed, 30 Jan 2013 23:10:20 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id C7C0E4A0FE; Wed, 30 Jan 2013 13:10:02 +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 ajxhGr8hKFBx; Wed, 30 Jan 2013 13:10:02 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 90A5A4A107; Wed, 30 Jan 2013 13:09:34 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 6E8BD4A0BF for ; Wed, 30 Jan 2013 13:09:28 +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 5jM7tXeQb3gM for ; Wed, 30 Jan 2013 13:09:27 +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-gh0-f171.google.com (mail-gh0-f171.google.com [209.85.160.171]) by theia.denx.de (Postfix) with ESMTPS id 638D14A0C1 for ; Wed, 30 Jan 2013 13:09:23 +0100 (CET) Received: by mail-gh0-f171.google.com with SMTP id r17so234663ghr.30 for ; Wed, 30 Jan 2013 04:09:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references; bh=09P2kQ1iSarxw6aBI3ys+TZQ1IwjG9vu4qVqLPgnCvc=; b=STYYPl7ky78pKyLdDHpga5tjwyXAu7IKM8U9HygS7uLQezVmmiIJBAwXoQqgA3U5DP /89JJ0IIsQ0DBfLtLifNzzqTviTMfYKhVawjZu1aHEVx/8vU2ze+z8ndpW3efh0mTSHg AthLzTFJC6dz5UsNRcmecQ2Xvd7qjoOC7att9+sDUxk0vT+WGjJjsLNVTvRrHEfZZ+2A Xt+wyryAjIoj7niwNeKsLeP9xvG7uSMdsYiQl26YDsaPAv1VG7+Rgrp+bBRNEeIMBfCC 7AkiwLq1mvIGIqV0N9COb8bfF3AlvtLxfrRtVbpbgRXkfuuNLFkCZwDLARrYUP9E50rn hoEA== X-Received: by 10.236.142.82 with SMTP id h58mr5326239yhj.36.1359547760842; Wed, 30 Jan 2013 04:09:20 -0800 (PST) Received: from nano.lab.ossystems.com.br ([177.35.66.48]) by mx.google.com with ESMTPS id j1sm1691034yhn.3.2013.01.30.04.09.18 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 30 Jan 2013 04:09:20 -0800 (PST) From: Otavio Salvador To: U-Boot Mailing List Date: Wed, 30 Jan 2013 10:13:13 -0200 Message-Id: <1359548001-14278-3-git-send-email-otavio@ossystems.com.br> X-Mailer: git-send-email 1.8.1 In-Reply-To: <1359548001-14278-1-git-send-email-otavio@ossystems.com.br> References: <1359548001-14278-1-git-send-email-otavio@ossystems.com.br> Cc: Fabio Estevam , Marek Vasut , Otavio Salvador Subject: [U-Boot] [PATCH 02/10] mx23: Document the tRAS lockout setting in memory initialization 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 Add a comment about the tRAS lockout setting of HW_DRAM_CTL08 to enable the 'Fast Auto Pre-Charge' found in the memory chip. The setting is applied after memory initialization and it is worth document it. Signed-off-by: Otavio Salvador --- arch/arm/cpu/arm926ejs/mxs/spl_mem_init.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/cpu/arm926ejs/mxs/spl_mem_init.c b/arch/arm/cpu/arm926ejs/mxs/spl_mem_init.c index f8392f6..37b50e9 100644 --- a/arch/arm/cpu/arm926ejs/mxs/spl_mem_init.c +++ b/arch/arm/cpu/arm926ejs/mxs/spl_mem_init.c @@ -119,6 +119,7 @@ static void initialize_dram_values(void) writel(dram_vals[i], MXS_DRAM_BASE + (4 * i)); #ifdef CONFIG_MX23 + /* Enable tRAS lockout in HW_DRAM_CTL08 */ writel((1 << 24), MXS_DRAM_BASE + (4 * 8)); #endif }