From 342f551bc9c6f8ba7242af4be1fd8045b8710980 Mon Sep 17 00:00:00 2001 From: stroese Date: Fri, 12 Sep 2003 08:49:58 +0000 Subject: Disable memory controller before setting first values. --- cpu/ppc4xx/sdram.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cpu/ppc4xx/sdram.c') diff --git a/cpu/ppc4xx/sdram.c b/cpu/ppc4xx/sdram.c index d4552a16176..7c931f03988 100644 --- a/cpu/ppc4xx/sdram.c +++ b/cpu/ppc4xx/sdram.c @@ -80,6 +80,11 @@ void sdram_init(void) rtr = 0x05f00000; } + /* + * Disable memory controller. + */ + mtsdram0(mem_mcopt1, 0x00000000); + /* * Set MB0CF for bank 0. (0-128MB) Address Mode 3 since 13x10(4) */ -- cgit v1.2.3