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-09-28 20:47:51 -0600
commit74548284d9cf1e1bf31ef4eb3241cdf91e1fd92c (patch)
tree988a4b59eec05a1fd7a54452278319c4de51e544
parentcd8352c8e0af0d789775020989875fbea98a28c9 (diff)
U-Boot/SPL: omap4: Make ddr pre-calculated timings as default.2011.09.4
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