summaryrefslogtreecommitdiffstats
path: root/arch/arm/cpu/armv7/omap5/sdram.c
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2014-11-06 08:28:49 -0600
committerTom Rini <trini@ti.com>2014-12-04 11:04:14 -0500
commiteedd9916119abccad7977b6c3019ae7686193287 (patch)
tree7d6bf358930cc2bfeefb89761e11c176cea560c0 /arch/arm/cpu/armv7/omap5/sdram.c
parent29bc86ade9e1fe171c5fc85e1df02e33f7ac3a52 (diff)
downloadtalos-obmc-uboot-eedd9916119abccad7977b6c3019ae7686193287.tar.gz
talos-obmc-uboot-eedd9916119abccad7977b6c3019ae7686193287.zip
arm: omap5: sdram: mark emif_get_ext_phy_ctrl_const_regs __weak
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>
Diffstat (limited to 'arch/arm/cpu/armv7/omap5/sdram.c')
-rw-r--r--arch/arm/cpu/armv7/omap5/sdram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv7/omap5/sdram.c b/arch/arm/cpu/armv7/omap5/sdram.c
index 065199be76..7d8cec08c2 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)
{
OpenPOWER on IntegriCloud