projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96a78ac
)
sdrc.c: Fix typo in do_sdrc_init() for SPL
author
Tom Rini
<trini@ti.com>
Fri, 16 Mar 2012 07:55:32 +0000
(07:55 +0000)
committer
Albert ARIBAUD
<albert.u.boot@aribaud.net>
Thu, 29 Mar 2012 06:19:29 +0000
(08:19 +0200)
We need to setup CS0 and CS1 not CS0 and CS0 again.
Signed-off-by: Tom Rini <trini@ti.com>
arch/arm/cpu/armv7/omap3/sdrc.c
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/armv7/omap3/sdrc.c
b/arch/arm/cpu/armv7/omap3/sdrc.c
index 91f42c0e2cd1dc9df1d7a30633f30e6137ef6cdf..f6d9b97bb4dcb6df17380c675ecaf96d3afe08ae 100644
(file)
--- a/
arch/arm/cpu/armv7/omap3/sdrc.c
+++ b/
arch/arm/cpu/armv7/omap3/sdrc.c
@@
-180,7
+180,7
@@
void do_sdrc_init(u32 cs, u32 early)
write_sdrc_timings(CS0, sdrc_actim_base0, mcfg, ctrla, ctrlb,
rfr_ctrl, mr);
make_cs1_contiguous();
- write_sdrc_timings(CS
0
, sdrc_actim_base1, mcfg, ctrla, ctrlb,
+ write_sdrc_timings(CS
1
, sdrc_actim_base1, mcfg, ctrla, ctrlb,
rfr_ctrl, mr);
#endif