From ed5ddebe9628402568e8e6f3cbd51b1c345eabd5 Mon Sep 17 00:00:00 2001 From: Paul Kocialkowski Date: Sat, 27 Feb 2016 19:18:55 +0100 Subject: omap4: Export jedec sdram timings Individual boards might provide their own emif_get_device_timings function and use the jedec timings in their own way, hence those have to be exported. Signed-off-by: Paul Kocialkowski --- arch/arm/include/asm/arch-omap4/sys_proto.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'arch/arm/include/asm') diff --git a/arch/arm/include/asm/arch-omap4/sys_proto.h b/arch/arm/include/asm/arch-omap4/sys_proto.h index 5fa1cf8..3e6a9da 100644 --- a/arch/arm/include/asm/arch-omap4/sys_proto.h +++ b/arch/arm/include/asm/arch-omap4/sys_proto.h @@ -31,7 +31,9 @@ extern const struct lpddr2_device_details elpida_2G_S4_details; extern const struct lpddr2_device_details elpida_4G_S4_details; #endif -#ifndef CONFIG_SYS_DEFAULT_LPDDR2_TIMINGS +#ifdef CONFIG_SYS_DEFAULT_LPDDR2_TIMINGS +extern const struct lpddr2_device_timings jedec_default_timings; +#else extern const struct lpddr2_device_timings elpida_2G_S4_timings; #endif -- cgit v1.1