summaryrefslogtreecommitdiff
path: root/arch/arm/cpu
diff options
context:
space:
mode:
authorNishanth Menon <nm@ti.com>2016-03-15 18:09:16 -0500
committerTom Rini <trini@konsulko.com>2016-03-27 09:12:15 -0400
commitc755e67516fc9ecb7de2049dbd3dbedcd3888cbc (patch)
treebf91734d73ad8aecb6fde885ed58e97b7f8d3ce0 /arch/arm/cpu
parentceb7d77d6f81e63af6e7af83f8d58b2ac4fc8b9d (diff)
downloadu-boot-imx-c755e67516fc9ecb7de2049dbd3dbedcd3888cbc.zip
u-boot-imx-c755e67516fc9ecb7de2049dbd3dbedcd3888cbc.tar.gz
u-boot-imx-c755e67516fc9ecb7de2049dbd3dbedcd3888cbc.tar.bz2
ARM: OMAP5/DRA7: Expose do_set_iodelay
do_set_iodelay can now be used from board files based on needs of the platforms variation they have. Signed-off-by: Nishanth Menon <nm@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/arm/cpu')
-rw-r--r--arch/arm/cpu/armv7/omap5/dra7xx_iodelay.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/cpu/armv7/omap5/dra7xx_iodelay.c b/arch/arm/cpu/armv7/omap5/dra7xx_iodelay.c
index 744950f..8798730 100644
--- a/arch/arm/cpu/armv7/omap5/dra7xx_iodelay.c
+++ b/arch/arm/cpu/armv7/omap5/dra7xx_iodelay.c
@@ -138,8 +138,8 @@ static u32 get_cfg_reg(u16 a_delay, u16 g_delay, u32 cpde, u32 fpde)
return reg;
}
-static int do_set_iodelay(u32 base, struct iodelay_cfg_entry const *array,
- int niodelays)
+int do_set_iodelay(u32 base, struct iodelay_cfg_entry const *array,
+ int niodelays)
{
struct iodelay_cfg_entry *iodelay = (struct iodelay_cfg_entry *)array;
u32 reg, cpde, fpde, i;