summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/arch-omap4
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2016-02-27 19:18:55 +0100
committerTom Rini <trini@konsulko.com>2016-03-15 15:11:32 -0400
commited5ddebe9628402568e8e6f3cbd51b1c345eabd5 (patch)
treeeed45b8cb0f264de648663cef946ccb2b6568eff /arch/arm/include/asm/arch-omap4
parent96703acd0ae7899ddf49b40ae2026a2afd16db26 (diff)
downloadtalos-obmc-uboot-ed5ddebe9628402568e8e6f3cbd51b1c345eabd5.tar.gz
talos-obmc-uboot-ed5ddebe9628402568e8e6f3cbd51b1c345eabd5.zip
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 <contact@paulk.fr>
Diffstat (limited to 'arch/arm/include/asm/arch-omap4')
-rw-r--r--arch/arm/include/asm/arch-omap4/sys_proto.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/include/asm/arch-omap4/sys_proto.h b/arch/arm/include/asm/arch-omap4/sys_proto.h
index 5fa1cf8144..3e6a9dacd4 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
OpenPOWER on IntegriCloud