From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 09/13] mx23: Document the tRAS lockout setting in memory initialization
Date: Sat, 23 Feb 2013 13:43:05 +0100 [thread overview]
Message-ID: <1361623389-31095-9-git-send-email-marex@denx.de> (raw)
In-Reply-To: <1361623389-31095-1-git-send-email-marex@denx.de>
From: Otavio Salvador <otavio@ossystems.com.br>
Add a comment about the tRAS lockout setting of HW_DRAM_CTL08 to
enable the 'Fast Auto Pre-Charge' found in the memory chip. The
setting is applied after memory initialization and it is worth
document it.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
arch/arm/cpu/arm926ejs/mxs/spl_mem_init.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/cpu/arm926ejs/mxs/spl_mem_init.c b/arch/arm/cpu/arm926ejs/mxs/spl_mem_init.c
index 4a0a5aa..fdac73c 100644
--- a/arch/arm/cpu/arm926ejs/mxs/spl_mem_init.c
+++ b/arch/arm/cpu/arm926ejs/mxs/spl_mem_init.c
@@ -120,6 +120,10 @@ static void initialize_dram_values(void)
writel(dram_vals[i], MXS_DRAM_BASE + (4 * i));
#ifdef CONFIG_MX23
+ /*
+ * Enable tRAS lockout in HW_DRAM_CTL08 ; it must be the last
+ * element to be set
+ */
writel((1 << 24), MXS_DRAM_BASE + (4 * 8));
#endif
}
--
1.7.10.4
next prev parent reply other threads:[~2013-02-23 12:43 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-23 12:42 [U-Boot] [PATCH 01/13] mxs: Reset the EMI block on mx23 Marek Vasut
2013-02-23 12:42 ` [U-Boot] [PATCH 02/13] mxs: mmc: spi: dma: Better wrap the MXS differences Marek Vasut
2013-02-23 12:42 ` [U-Boot] [PATCH 03/13] mxs: spi: Fix the MXS SPI for mx23 Marek Vasut
2013-02-23 15:28 ` Otavio Salvador
2013-02-23 17:41 ` Marek Vasut
2013-02-23 12:43 ` [U-Boot] [PATCH 04/13] mxs: spi: Remove CONFIG_MXS_SPI_DMA_ENABLE Marek Vasut
2013-02-23 14:11 ` Fabio Estevam
2013-02-23 17:25 ` Marek Vasut
2013-02-23 12:43 ` [U-Boot] [PATCH 05/13] mxs: Squash the header file usage in ehci-mxs Marek Vasut
2013-02-23 15:32 ` Otavio Salvador
2013-02-23 12:43 ` [U-Boot] [PATCH 06/13] mxs: Make ehci-mxs multiport capable Marek Vasut
2013-02-23 15:31 ` Otavio Salvador
2013-02-23 12:43 ` [U-Boot] [PATCH 07/13] mxs: m28: Enable power to USB port 0 Marek Vasut
2013-02-23 12:43 ` [U-Boot] [PATCH 08/13] mxs: Rename CONFIG_SPL_MX28_PSWITCH_WAIT to CONFIG_SPL_MXS_PSWITCH_WAIT Marek Vasut
2013-02-23 12:43 ` Marek Vasut [this message]
2013-02-23 12:43 ` [U-Boot] [PATCH 10/13] mx23evk: Adjust DRAM control register to use full 128MB of RAM Marek Vasut
2013-02-23 12:43 ` [U-Boot] [PATCH 11/13] led: Use STATUS_LED_ON and STATUS_LED_OFF when calling __led_set Marek Vasut
2013-02-23 12:43 ` [U-Boot] [PATCH 12/13] mxs: Fix iomux.h to not break build during assembly stage Marek Vasut
2013-02-23 12:43 ` [U-Boot] [PATCH 13/13] mx23_olinuxino: Add support for status LED Marek Vasut
2013-02-23 15:27 ` [U-Boot] [PATCH 01/13] mxs: Reset the EMI block on mx23 Otavio Salvador
2013-02-23 17:41 ` Marek Vasut
2013-02-23 17:54 ` Otavio Salvador
2013-02-23 18:48 ` Marek Vasut
2013-02-23 17:55 ` Marek Vasut
2013-03-07 16:56 ` Stefano Babic
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=1361623389-31095-9-git-send-email-marex@denx.de \
--to=marex@denx.de \
--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