projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a47c99
)
mxs: spl_mem_init: Remove erroneous DDR setting
author
Fabio Estevam
<fabio.estevam@freescale.com>
Fri, 3 May 2013 04:37:11 +0000
(
04:37
+0000)
committer
Stefano Babic
<sbabic@denx.de>
Sun, 5 May 2013 15:08:46 +0000
(17:08 +0200)
On mx23 there is no 'DRAM init complete' in register HW_DRAM_CTL18.
Remove this erroneous setting.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
arch/arm/cpu/arm926ejs/mxs/spl_mem_init.c
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/arm926ejs/mxs/spl_mem_init.c
b/arch/arm/cpu/arm926ejs/mxs/spl_mem_init.c
index 300da0ab861c207eb0488c28d82597d32c385152..df255352d09da6921ea7bd013817f02194996b22 100644
(file)
--- a/
arch/arm/cpu/arm926ejs/mxs/spl_mem_init.c
+++ b/
arch/arm/cpu/arm926ejs/mxs/spl_mem_init.c
@@
-279,10
+279,6
@@
static void mx23_mem_init(void)
setbits_le32(MXS_DRAM_BASE + 0x40, 1 << 19);
setbits_le32(MXS_DRAM_BASE + 0x40, 1 << 11);
-
- /* Wait for bit 10 (DRAM init complete) in DRAM_CTL18 */
- while (!(readl(MXS_DRAM_BASE + 0x48) & (1 << 10)))
- ;
}
#endif