diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2013-02-23 02:43:05 +0000 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2013-03-07 17:22:57 +0100 |
commit | 89075d3f4f5550638f0bf656046af5ca0306bdd7 (patch) | |
tree | 5d33de4d9af072ad5a25ab28c667001cf6b56cbd /arch/arm/cpu | |
parent | a74dbf2734e8c86220dea159c242149d9acc61e1 (diff) | |
download | u-boot-imx-89075d3f4f5550638f0bf656046af5ca0306bdd7.zip u-boot-imx-89075d3f4f5550638f0bf656046af5ca0306bdd7.tar.gz u-boot-imx-89075d3f4f5550638f0bf656046af5ca0306bdd7.tar.bz2 |
mx23: Document the tRAS lockout setting in memory initialization
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>
Diffstat (limited to 'arch/arm/cpu')
-rw-r--r-- | arch/arm/cpu/arm926ejs/mxs/spl_mem_init.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 } |