Skip to content
Snippets Groups Projects
Commit 8e70691a authored by SRICHARAN R's avatar SRICHARAN R Committed by Albert ARIBAUD
Browse files

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: default avatarsricharan <r.sricharan@ti.com>
Signed-off-by: default avatarSandeep Paulraj <s-paulraj@ti.com>
parent 9e2538e1
No related branches found
No related tags found
No related merge requests found
...@@ -238,6 +238,8 @@ ...@@ -238,6 +238,8 @@
#endif #endif
/* Defines for SDRAM init */ /* Defines for SDRAM init */
#define CONFIG_SYS_EMIF_PRECALCULATED_TIMING_REGS
#ifndef CONFIG_SYS_EMIF_PRECALCULATED_TIMING_REGS #ifndef CONFIG_SYS_EMIF_PRECALCULATED_TIMING_REGS
#define CONFIG_SYS_AUTOMATIC_SDRAM_DETECTION #define CONFIG_SYS_AUTOMATIC_SDRAM_DETECTION
#define CONFIG_SYS_DEFAULT_LPDDR2_TIMINGS #define CONFIG_SYS_DEFAULT_LPDDR2_TIMINGS
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment