From patchwork Thu Nov 6 14:28:49 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 40303 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f72.google.com (mail-wg0-f72.google.com [74.125.82.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 33BB624237 for ; Thu, 6 Nov 2014 14:29:45 +0000 (UTC) Received: by mail-wg0-f72.google.com with SMTP id k14sf693523wgh.3 for ; Thu, 06 Nov 2014 06:29:42 -0800 (PST) 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=Xpp2UtqPhCZBbzqW8jZlVOhBPaSbBjOkN/+oPLcypN8=; b=DyeeyyEt+q9SUjOGVbSmmOil/GXZsTdKIwKWVh2vUdTtCHTBndONV3VhIympzQ1OUj vYoGQ/wuPxB/T8DUlleRTdhCDDQJ6aIRnVUTJ/+n8XWu6WZKaYE+RqTIgSz7cSfL/Z+P o9Lx1wfV3VA9/3J78XJP/bwX7DkInAQWHQaQegza5RanRzeSjfSR5ZPoj02nzxiHasK1 oA68nIRKJC9mzpREPjMFm2+BMLaA/cJrmw/vbPUvNrA5n1Gdy8PdrDc6JXezoO1aESq9 uyiZXkUNrrZT8hlr55Ei/gY3u+kLiukaGYzw+pPyJWj6GltJmVv+7C257QxcvMKUUoKq cOCg== X-Gm-Message-State: ALoCoQkGpBRYaK1LFhezn1NoaobNGSBE6mpFDCaszO01lx0SKdFUl1sIvx0X5DzsihvmqSBjvfM8 X-Received: by 10.180.81.5 with SMTP id v5mr683121wix.0.1415284182587; Thu, 06 Nov 2014 06:29:42 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.22.130 with SMTP id d2ls96298laf.32.gmail; Thu, 06 Nov 2014 06:29:42 -0800 (PST) X-Received: by 10.112.189.10 with SMTP id ge10mr5295609lbc.23.1415284182268; Thu, 06 Nov 2014 06:29:42 -0800 (PST) Received: from mail-lb0-f179.google.com (mail-lb0-f179.google.com. [209.85.217.179]) by mx.google.com with ESMTPS id n1si11784524lbc.10.2014.11.06.06.29.42 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 06 Nov 2014 06:29:42 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.179 as permitted sender) client-ip=209.85.217.179; Received: by mail-lb0-f179.google.com with SMTP id l4so1003180lbv.10 for ; Thu, 06 Nov 2014 06:29:42 -0800 (PST) X-Received: by 10.152.29.8 with SMTP id f8mr5418037lah.56.1415284182153; Thu, 06 Nov 2014 06:29:42 -0800 (PST) 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.112.184.201 with SMTP id ew9csp52042lbc; Thu, 6 Nov 2014 06:29:41 -0800 (PST) X-Received: by 10.194.250.41 with SMTP id yz9mr6487287wjc.34.1415284181523; Thu, 06 Nov 2014 06:29:41 -0800 (PST) Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id hf2si21557150wib.51.2014.11.06.06.29.40 for ; Thu, 06 Nov 2014 06:29:41 -0800 (PST) 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 0EEDBA744F; Thu, 6 Nov 2014 15:29:09 +0100 (CET) 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 akO28M27cFLk; Thu, 6 Nov 2014 15:29:08 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E6FA6A7470; Thu, 6 Nov 2014 15:28:50 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 71DD64BDCB for ; Thu, 6 Nov 2014 15:28:34 +0100 (CET) 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 COJ8-SpZURLA for ; Thu, 6 Nov 2014 15:28:34 +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 devils.ext.ti.com (devils.ext.ti.com [198.47.26.153]) by theia.denx.de (Postfix) with ESMTPS id 895434B970 for ; Thu, 6 Nov 2014 15:28:30 +0100 (CET) Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id sA6ESRED004675; Thu, 6 Nov 2014 08:28:27 -0600 Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id sA6ESR7M010976; Thu, 6 Nov 2014 08:28:27 -0600 Received: from dflp33.itg.ti.com (10.64.6.16) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.3.174.1; Thu, 6 Nov 2014 08:28:27 -0600 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id sA6ESQxf003218; Thu, 6 Nov 2014 08:28:27 -0600 From: Felipe Balbi To: Tom Rini Date: Thu, 6 Nov 2014 08:28:49 -0600 Message-ID: <1415284132-6317-8-git-send-email-balbi@ti.com> X-Mailer: git-send-email 2.1.0.GIT In-Reply-To: <1415284132-6317-1-git-send-email-balbi@ti.com> References: <1415284132-6317-1-git-send-email-balbi@ti.com> MIME-Version: 1.0 Cc: U-Boot Mailing List , Gerald Coley , "Franklin Cooper Jr." Subject: [U-Boot] [PATCH 08/11] arm: omap5: sdram: mark emif_get_ext_phy_ctrl_const_regs __weak X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.13 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.217.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 this will allow for boards to overwrite those in case memory setup is different. Signed-off-by: Felipe Balbi Reviewed-by: Tom Rini --- arch/arm/cpu/armv7/omap5/sdram.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/cpu/armv7/omap5/sdram.c b/arch/arm/cpu/armv7/omap5/sdram.c index 065199b..7d8cec0 100644 --- a/arch/arm/cpu/armv7/omap5/sdram.c +++ b/arch/arm/cpu/armv7/omap5/sdram.c @@ -513,7 +513,7 @@ const struct lpddr2_mr_regs mr_regs = { .mr16 = MR16_REF_FULL_ARRAY }; -static void emif_get_ext_phy_ctrl_const_regs(u32 emif_nr, +void __weak emif_get_ext_phy_ctrl_const_regs(u32 emif_nr, const u32 **regs, u32 *size) {