From: Felipe Balbi Date: Thu, 6 Nov 2014 14:28:49 +0000 (-0600) Subject: arm: omap5: sdram: mark emif_get_ext_phy_ctrl_const_regs __weak X-Git-Tag: KARO-TXA5-2015-06-26~168^2~14 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=eedd9916119abccad7977b6c3019ae7686193287;p=karo-tx-uboot.git 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 Reviewed-by: Tom Rini --- 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) {