Disable memory controller before setting first values.

master
stroese 21 years ago
parent ef9e86854e
commit 342f551bc9
  1. 5
      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);

Loading…
Cancel
Save