commit | c45cfd0dc664c4dfe00b9b2adf0a992abd36c1b0 | [log] [tgz] |
---|---|---|
author | stroese <stroese> | Fri Sep 12 08:49:58 2003 +0000 |
committer | stroese <stroese> | Fri Sep 12 08:49:58 2003 +0000 |
tree | 8b9f57b50f63031adfe9e1f1fb8359786be35831 | |
parent | 93d65084f8dc879ae09c81bf1f5d510e11273962 [diff] |
Disable memory controller before setting first values.
diff --git a/cpu/ppc4xx/sdram.c b/cpu/ppc4xx/sdram.c index d4552a1..7c931f0 100644 --- a/cpu/ppc4xx/sdram.c +++ b/cpu/ppc4xx/sdram.c
@@ -81,6 +81,11 @@ } /* + * Disable memory controller. + */ + mtsdram0(mem_mcopt1, 0x00000000); + + /* * Set MB0CF for bank 0. (0-128MB) Address Mode 3 since 13x10(4) */ mtsdram0(mem_mb0cf, 0x000A4001);