From patchwork Tue Jun 10 20:01:19 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 31707 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-we0-f200.google.com (mail-we0-f200.google.com [74.125.82.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1AF4E2054B for ; Tue, 10 Jun 2014 20:02:20 +0000 (UTC) Received: by mail-we0-f200.google.com with SMTP id p10sf7085756wes.11 for ; Tue, 10 Jun 2014 13:02:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:mime-version:cc:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :sender:errors-to:x-original-sender :x-original-authentication-results:mailing-list:content-type :content-transfer-encoding; bh=tYaOIPM4kWENHRDS0pcBChEdLipipdOajtEvM+O/3cY=; b=FawZoo0o9GKXl2UiX30IE2OoYzPiWtJtbAttQ6HqiWCQ66jBkYehFQpT5TIe9x2wTq IBVyYV/xXfSf9MnVb8OywfKQlqIzE+6wb9lJH1+XB9jujoKG2MB0ies2lE+LIVx+8wfD x3TaxxvdiyewhZyDL5zQuwoZnTTvk7Mgjn2V9N4eA5bfS0IXq46b4TjH3PUK0Gpgl0oL 5yYT1zdVUe/RfQ938idh17Dj97fHVoG5cyQE0vnA5D0qWJFr+YcGDQoRUP9nT+CfqaxF eifY6Q9r2s288MYrlAdNMaG4yWO2AOLLD8QH7FQdbSZ/IB10H3Xs+12y7hsSbpCzBMMK Z4xQ== X-Gm-Message-State: ALoCoQl9QYUz9sXz5riugW8dNvmoJT/VzZYbAnc/HGlfM5x+kep43jKGdTYisMX+IMJzq8QC+JHZ X-Received: by 10.112.137.138 with SMTP id qi10mr4524432lbb.4.1402430538802; Tue, 10 Jun 2014 13:02:18 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.23.7 with SMTP id 7ls2381710qgo.60.gmail; Tue, 10 Jun 2014 13:02:18 -0700 (PDT) X-Received: by 10.220.47.201 with SMTP id o9mr2747083vcf.65.1402430538448; Tue, 10 Jun 2014 13:02:18 -0700 (PDT) Received: from mail-ve0-f179.google.com (mail-ve0-f179.google.com [209.85.128.179]) by mx.google.com with ESMTPS id rv2si13415718vdb.88.2014.06.10.13.02.18 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 10 Jun 2014 13:02:18 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.179 as permitted sender) client-ip=209.85.128.179; Received: by mail-ve0-f179.google.com with SMTP id oy12so8883357veb.10 for ; Tue, 10 Jun 2014 13:02:18 -0700 (PDT) X-Received: by 10.58.186.172 with SMTP id fl12mr15952084vec.39.1402430538342; Tue, 10 Jun 2014 13:02:18 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.54.6 with SMTP id vs6csp251503vcb; Tue, 10 Jun 2014 13:02:17 -0700 (PDT) X-Received: by 10.194.21.103 with SMTP id u7mr44936866wje.14.1402430537421; Tue, 10 Jun 2014 13:02:17 -0700 (PDT) Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id v10si18497217wiw.36.2014.06.10.13.02.16 for ; Tue, 10 Jun 2014 13:02:17 -0700 (PDT) Received-SPF: none (google.com: u-boot-bounces@lists.denx.de does not designate permitted sender hosts) client-ip=85.214.87.163; Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 91C654A040; Tue, 10 Jun 2014 22:02:16 +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 nUi8ii00Er-Q; Tue, 10 Jun 2014 22:02:16 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 5E9144A044; Tue, 10 Jun 2014 22:01:54 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 0FF7B4A03B for ; Tue, 10 Jun 2014 22:01:52 +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 uTLBX+Flpueh for ; Tue, 10 Jun 2014 22:01:48 +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 arroyo.ext.ti.com (arroyo.ext.ti.com [192.94.94.40]) by theia.denx.de (Postfix) with ESMTPS id 38A834A02A for ; Tue, 10 Jun 2014 22:01:43 +0200 (CEST) Received: from dflxv15.itg.ti.com ([128.247.5.124]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id s5AK1fMS030561; Tue, 10 Jun 2014 15:01:41 -0500 Received: from DLEE70.ent.ti.com (dlee70.ent.ti.com [157.170.170.113]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id s5AK1fxq011561; Tue, 10 Jun 2014 15:01:41 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.3.174.1; Tue, 10 Jun 2014 15:01:41 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id s5AK1e2W009428; Tue, 10 Jun 2014 15:01:41 -0500 From: Felipe Balbi To: Tom Rini Date: Tue, 10 Jun 2014 15:01:19 -0500 Message-ID: <1402430482-2676-3-git-send-email-balbi@ti.com> X-Mailer: git-send-email 2.0.0.rc1 In-Reply-To: <1402430482-2676-1-git-send-email-balbi@ti.com> References: <1402430482-2676-1-git-send-email-balbi@ti.com> MIME-Version: 1.0 Cc: Schuyler Patton , Vaibhav@theia.denx.de, u-boot@lists.denx.de, Steven Kipisz , "\\\"Franklin Cooper Jr.\\\"" Subject: [U-Boot] [PATCH v2 2/5] cpu: armv7: am33x: ddr: write emif ref_ctrl_shadow register X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: 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 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: balbi@ti.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.179 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Signed-off-by: Felipe Balbi --- arch/arm/cpu/armv7/am33xx/ddr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/cpu/armv7/am33xx/ddr.c b/arch/arm/cpu/armv7/am33xx/ddr.c index 9a625c4..bbe9d1a 100644 --- a/arch/arm/cpu/armv7/am33xx/ddr.c +++ b/arch/arm/cpu/armv7/am33xx/ddr.c @@ -95,6 +95,7 @@ void config_sdram_emif4d5(const struct emif_regs *regs, int nr) &emif_reg[nr]->emif_rd_wr_exec_thresh); writel(regs->ref_ctrl, &emif_reg[nr]->emif_sdram_ref_ctrl); + writel(regs->ref_ctrl, &emif_reg[nr]->emif_sdram_ref_ctrl_shdw); writel(regs->sdram_config, &emif_reg[nr]->emif_sdram_config); writel(regs->sdram_config, &cstat->secure_emif_sdram_config);