summaryrefslogtreecommitdiff
path: root/include/configs/omap4_common.h
diff options
context:
space:
mode:
authorSRICHARAN R <r.sricharan@ti.com>2011-09-27 01:43:18 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-10-27 21:56:34 +0200
commit8e70691acc1b59219f9cba0667db1c9f81e399fb (patch)
tree77b46a6df0a970ab6c010ef701442473b22a5050 /include/configs/omap4_common.h
parent9e2538e11fc87fb51cfde707fd5ffae086f1b467 (diff)
downloadu-boot-imx-8e70691acc1b59219f9cba0667db1c9f81e399fb.zip
u-boot-imx-8e70691acc1b59219f9cba0667db1c9f81e399fb.tar.gz
u-boot-imx-8e70691acc1b59219f9cba0667db1c9f81e399fb.tar.bz2
U-Boot/SPL: omap4: Make ddr pre-calculated timings as default.
All ddr configurations(geometry/timings) are done automatically by detecting the device connected at run time. Though this is a useful feature, making this as a default setting increases the code size by about 2K bytes. This is quite big, especially in the case of SPL which runs from a smaller SRAM. So do not use this feature as the default setting, instead use the precalculated tables. Signed-off-by: sricharan <r.sricharan@ti.com> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Diffstat (limited to 'include/configs/omap4_common.h')
-rw-r--r--include/configs/omap4_common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/omap4_common.h b/include/configs/omap4_common.h
index 228eac5..e7749ac 100644
--- a/include/configs/omap4_common.h
+++ b/include/configs/omap4_common.h
@@ -238,6 +238,8 @@
#endif
/* Defines for SDRAM init */
+#define CONFIG_SYS_EMIF_PRECALCULATED_TIMING_REGS
+
#ifndef CONFIG_SYS_EMIF_PRECALCULATED_TIMING_REGS
#define CONFIG_SYS_AUTOMATIC_SDRAM_DETECTION
#define CONFIG_SYS_DEFAULT_LPDDR2_TIMINGS