From: Tom Rini <trini@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v4 08/14] OMAP3: Suffix all Micron memory timing parts with their speed
Date: Fri, 18 Nov 2011 15:48:05 -0700 [thread overview]
Message-ID: <1321656491-19874-9-git-send-email-trini@ti.com> (raw)
In-Reply-To: <1321656491-19874-1-git-send-email-trini@ti.com>
Signed-off-by: Tom Rini <trini@ti.com>
---
arch/arm/include/asm/arch-omap3/mem.h | 21 +++++++++++----------
1 files changed, 11 insertions(+), 10 deletions(-)
diff --git a/arch/arm/include/asm/arch-omap3/mem.h b/arch/arm/include/asm/arch-omap3/mem.h
index 912c737..4f996d9 100644
--- a/arch/arm/include/asm/arch-omap3/mem.h
+++ b/arch/arm/include/asm/arch-omap3/mem.h
@@ -175,15 +175,16 @@ enum {
ACTIM_CTRLB(MICRON_TWTR_165, MICRON_TCKE_165, \
MICRON_TXP_165, MICRON_XSR_165)
-#define MICRON_RASWIDTH 0x2
-#define MICRON_V_MCFG(size) MCFG((size), MICRON_RASWIDTH)
+#define MICRON_RASWIDTH_165 0x2
+#define MICRON_V_MCFG_165(size) MCFG((size), MICRON_RASWIDTH_165)
-#define MICRON_BL 0x2
-#define MICRON_SIL 0x0
-#define MICRON_CASL 0x3
-#define MICRON_WBST 0x0
-#define MICRON_V_MR ((MICRON_WBST << 9) | (MICRON_CASL << 4) | \
- (MICRON_SIL << 3) | (MICRON_BL))
+#define MICRON_BL_165 0x2
+#define MICRON_SIL_165 0x0
+#define MICRON_CASL_165 0x3
+#define MICRON_WBST_165 0x0
+#define MICRON_V_MR_165 ((MICRON_WBST_165 << 9) | \
+ (MICRON_CASL_165 << 4) | (MICRON_SIL_165 << 3) | \
+ (MICRON_BL_165))
/* NUMONYX part of IGEP v2 (165MHz optimized) 6.06ns */
#define NUMONYX_TDAL_165 6 /* Twr/Tck + Trp/tck */
@@ -219,9 +220,9 @@ enum {
#ifdef CONFIG_OMAP3_MICRON_DDR
#define V_ACTIMA_165 MICRON_V_ACTIMA_165
#define V_ACTIMB_165 MICRON_V_ACTIMB_165
-#define V_MCFG MICRON_V_MCFG(PHYS_SDRAM_1_SIZE)
+#define V_MCFG MICRON_V_MCFG_165(PHYS_SDRAM_1_SIZE)
#define V_RFR_CTRL SDP_3430_SDRC_RFR_CTRL_165MHz
-#define V_MR MICRON_V_MR
+#define V_MR MICRON_V_MR_165
#endif
#ifdef CONFIG_OMAP3_NUMONYX_DDR
--
1.7.0.4
next prev parent reply other threads:[~2011-11-18 22:48 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-18 22:47 [U-Boot] [PATCH v4 0/14] Add more framework to OMAP3 SPL, port more boards Tom Rini
2011-11-18 22:47 ` [U-Boot] [PATCH v4 01/14] omap3: mem: Comment enable_gpmc_cs_config more Tom Rini
2011-11-18 22:47 ` [U-Boot] [PATCH v4 02/14] OMAP3: Update SDRC dram_init to always call make_cs1_contiguous() Tom Rini
2011-11-18 22:48 ` [U-Boot] [PATCH v4 03/14] OMAP3: Add a helper function to set timings in SDRC Tom Rini
2011-11-18 22:48 ` [U-Boot] [PATCH v4 04/14] OMAP3: Change mem_ok to clear again after reading back Tom Rini
2011-11-18 22:48 ` [U-Boot] [PATCH v4 05/14] OMAP3: Remove get_mem_type prototype Tom Rini
2011-11-18 22:48 ` [U-Boot] [PATCH v4 06/14] omap3: mem: Add MCFG helper macro Tom Rini
2011-11-18 22:48 ` [U-Boot] [PATCH v4 07/14] OMAP3: Add optimal SDRC autorefresh control values Tom Rini
2011-11-18 22:48 ` Tom Rini [this message]
2011-11-18 22:48 ` [U-Boot] [PATCH v4 09/14] OMAP3 SPL: Rework memory initalization and devkit8000 support Tom Rini
2011-11-18 22:48 ` [U-Boot] [PATCH v4 10/14] OMAP3 SPL: Add identify_nand_chip function Tom Rini
2011-11-20 7:36 ` Igor Grinberg
2011-11-20 14:26 ` Tom Rini
2011-11-21 7:04 ` Igor Grinberg
2011-11-21 14:12 ` Tom Rini
2011-11-21 14:41 ` Igor Grinberg
2011-11-21 15:33 ` Tom Rini
2011-11-22 14:33 ` Igor Grinberg
2011-11-22 14:51 ` Tom Rini
2011-11-22 15:39 ` Tom Rini
2011-11-23 7:39 ` Igor Grinberg
2011-11-23 14:48 ` Tom Rini
2011-11-18 22:48 ` [U-Boot] [PATCH v4 11/14] OMAP3: Add SPL support to Beagleboard Tom Rini
2011-11-18 22:48 ` [U-Boot] [PATCH v4 12/14] OMAP3: Add SPL support to omap3_evm Tom Rini
2011-11-29 22:20 ` Tom Rini
2011-11-18 22:48 ` [U-Boot] [PATCH v4 13/14] AM3517: Add SPL support Tom Rini
2011-11-18 22:48 ` [U-Boot] [PATCH v4 14/14] AM3517 CraneBoard: " Tom Rini
2011-11-29 21:55 ` [U-Boot] [PATCH v4 0/14] Add more framework to OMAP3 SPL, port more boards Tom Rini
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=1321656491-19874-9-git-send-email-trini@ti.com \
--to=trini@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