diff mbox

[08/11] arm: omap5: sdram: mark emif_get_ext_phy_ctrl_const_regs __weak

Message ID 1415284132-6317-8-git-send-email-balbi@ti.com
State Accepted
Commit eedd9916119abccad7977b6c3019ae7686193287
Headers show

Commit Message

Felipe Balbi Nov. 6, 2014, 2:28 p.m. UTC
this will allow for boards to overwrite those
in case memory setup is different.

Signed-off-by: Felipe Balbi <balbi@ti.com>
---
 arch/arm/cpu/armv7/omap5/sdram.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Tom Rini Nov. 10, 2014, 6:47 p.m. UTC | #1
On Thu, Nov 06, 2014 at 08:28:49AM -0600, Felipe Balbi wrote:

> this will allow for boards to overwrite those
> in case memory setup is different.
> 
> Signed-off-by: Felipe Balbi <balbi@ti.com>

Reviewed-by: Tom Rini <trini@ti.com>
diff mbox

Patch

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)
 {