projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Disable memory controller before setting first values.
[platform/kernel/u-boot.git]
/
cpu
/
ppc4xx
/
sdram.c
diff --git
a/cpu/ppc4xx/sdram.c
b/cpu/ppc4xx/sdram.c
index
d4552a1
..
7c931f0
100644
(file)
--- a/
cpu/ppc4xx/sdram.c
+++ b/
cpu/ppc4xx/sdram.c
@@
-81,6
+81,11
@@
void sdram_init(void)
}
/*
+ * Disable memory controller.
+ */
+ mtsdram0(mem_mcopt1, 0x00000000);
+
+ /*
* Set MB0CF for bank 0. (0-128MB) Address Mode 3 since 13x10(4)
*/
mtsdram0(mem_mb0cf, 0x000A4001);