From: sricharan Date: Tue, 27 Sep 2011 17:13:18 +0530 Subject: [U-Boot] [PATCH 1/2] U-Boot/SPL: omap4: Make ddr pre-calculated timings as default. In-Reply-To: <1317123799-5480-1-git-send-email-r.sricharan@ti.com> References: <1317123799-5480-1-git-send-email-r.sricharan@ti.com> Message-ID: <1317123799-5480-2-git-send-email-r.sricharan@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- include/configs/omap4_common.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/configs/omap4_common.h b/include/configs/omap4_common.h index d8ac8c0..e10ab00 100644 --- a/include/configs/omap4_common.h +++ b/include/configs/omap4_common.h @@ -236,6 +236,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 -- 1.7.0.4