From: sricharan <r.sricharan@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/2] U-Boot/SPL: omap4: Make ddr pre-calculated timings as default.
Date: Tue, 27 Sep 2011 17:13:18 +0530 [thread overview]
Message-ID: <1317123799-5480-2-git-send-email-r.sricharan@ti.com> (raw)
In-Reply-To: <1317123799-5480-1-git-send-email-r.sricharan@ti.com>
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>
---
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
next prev parent reply other threads:[~2011-09-27 11:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-27 11:43 [U-Boot] [PATCH 0/2] SPL: omap4: Fix boot crash in HS devices sricharan
2011-09-27 11:43 ` sricharan [this message]
2011-09-27 11:43 ` [U-Boot] [PATCH 2/2] SPL: omap4: Reduce the maximum size of SPL to 32K bytes sricharan
2011-09-28 8:08 ` Andreas Bießmann
2011-09-28 8:18 ` Sricharan R
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1317123799-5480-2-git-send-email-r.sricharan@ti.com \
--to=r.sricharan@ti.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox