aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsricharan <r.sricharan@ti.com>2011-09-27 17:13:18 +0530
committerJohn Rigby <john.rigby@linaro.org>2011-10-12 10:04:32 -0600
commit8d12f5310cfc41cdd788e5542e508ffd7d5365df (patch)
tree5b9bc2a5f12bfb0080e1f43daaa71f4e3a4f6101
parente7c50c859eef441f0e67bb2d0a79a60de87f7f0c (diff)
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>
-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 b94bd0a5d..c3f7aba82 100644
--- a/include/configs/omap4_common.h
+++ b/include/configs/omap4_common.h
@@ -259,6 +259,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