From: SRICHARAN R Date: Tue, 27 Sep 2011 01:43:18 +0000 (+0000) Subject: U-Boot/SPL: omap4: Make ddr pre-calculated timings as default. X-Git-Tag: v2011.12-rc1~343^2~35 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8e70691acc1b59219f9cba0667db1c9f81e399fb;p=u-boot 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 Signed-off-by: Sandeep Paulraj --- diff --git a/include/configs/omap4_common.h b/include/configs/omap4_common.h index 228eac5e37..e7749ace5a 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