From patchwork Sun Jan 27 16:42:35 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Otavio Salvador X-Patchwork-Id: 216020 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 3274A2C008C for ; Mon, 28 Jan 2013 03:38:51 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 988B94A054; Sun, 27 Jan 2013 17:38:38 +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 qF0ndmCDRQNA; Sun, 27 Jan 2013 17:38:38 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 5DF614A09B; Sun, 27 Jan 2013 17:38:32 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id DB1974A049 for ; Sun, 27 Jan 2013 17:38:26 +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 IBOpoS4X3E3e for ; Sun, 27 Jan 2013 17:38:26 +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-yh0-f54.google.com (mail-yh0-f54.google.com [209.85.213.54]) by theia.denx.de (Postfix) with ESMTPS id EEC124A04F for ; Sun, 27 Jan 2013 17:38:24 +0100 (CET) Received: by mail-yh0-f54.google.com with SMTP id 29so284905yhr.41 for ; Sun, 27 Jan 2013 08:38:23 -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=S69+3GwSwup5Q0NHbOlAUeRI3f1477+0bHQWp7KW910=; b=yAPJR4C6SDUWPlHWzn3PVuzmR4s0ozOmdStDxru2ADbwYauuRZkvk5grCdqf1KD3GA mXsZT4CqW2dIqBHetEDW+4S9GCwyz6DOg8xj6o1pQaYgTWdumFvUu5ChgJQj3a95dyiY /Wp2emhSLWSPmih3d/97O1uykLMsZJ6W4X0xPndFByd/tUWvm6l07R7XPEiOZCTl/3Qq ERIA5/u4QsjDZV2fgGi27jRRTeZ4Ro+cawUjyYmWw4BRiKgg1g5kK2QwW33PU9r2p+0b tqOHhWtg2OpdH20p9d/DDloiPIa12O0uLALgpmw1oPQt6fdnIKcGcahb0mcSb2moX0do xTaw== X-Received: by 10.236.174.101 with SMTP id w65mr12681456yhl.44.1359304702911; Sun, 27 Jan 2013 08:38:22 -0800 (PST) Received: from nano.lab.ossystems.com.br ([177.35.66.48]) by mx.google.com with ESMTPS id w12sm310136anl.14.2013.01.27.08.38.20 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 27 Jan 2013 08:38:22 -0800 (PST) From: Otavio Salvador To: u-boot@lists.denx.de Date: Sun, 27 Jan 2013 14:42:35 -0200 Message-Id: <1359304956-6540-2-git-send-email-otavio@ossystems.com.br> X-Mailer: git-send-email 1.8.1 In-Reply-To: <1359304956-6540-1-git-send-email-otavio@ossystems.com.br> References: <1359304956-6540-1-git-send-email-otavio@ossystems.com.br> Cc: Fabio Estevam , Marek Vasut , Otavio Salvador Subject: [U-Boot] [PATCH v2 2/3] mx23: Enable tRAS lockout (24 bit of HW_DRAM_CTL08) as in imx-bootlets 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 This enables the 'Fast Auto Pre-Charge' found in the memory chip. Signed-off-by: Otavio Salvador --- Changes in v2: - Improve commit message arch/arm/cpu/arm926ejs/mxs/spl_mem_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/cpu/arm926ejs/mxs/spl_mem_init.c b/arch/arm/cpu/arm926ejs/mxs/spl_mem_init.c index 836e636..a9efd87 100644 --- a/arch/arm/cpu/arm926ejs/mxs/spl_mem_init.c +++ b/arch/arm/cpu/arm926ejs/mxs/spl_mem_init.c @@ -90,7 +90,7 @@ static uint32_t dram_vals[] = { #elif defined(CONFIG_MX23) 0x01010001, 0x00010100, 0x01000101, 0x00000001, 0x00000101, 0x00000000, 0x00010000, 0x01000001, - 0x00000000, 0x00000001, 0x07000200, 0x00070202, + 0x01000000, 0x00000001, 0x07000200, 0x00070202, 0x02020000, 0x04040a01, 0x00000201, 0x02040000, 0x02000000, 0x19000f08, 0x0d0d0000, 0x02021313, 0x02061521, 0x0000000a, 0x00080008, 0x00200020,