- First stab at getting the ppc ports building and working.
[coreboot.git] / src / northbridge / motorola / mpc107 / mpc107.c
index e7e75b9af52bfb041da1ba60105281d3653f09df..ec91a675d7b7779f96af65e4004d54ef8832d74c 100644 (file)
@@ -25,7 +25,6 @@
 #include <arch/pciconf.h>
 #include <timer.h>
 #include <clock.h>
-#include <mem.h>
 #include "i2c.h"
 #include "mpc107.h"
 
@@ -45,27 +44,6 @@ memory_init(void)
        (void)mpc107_config_memory(NUM_BANKS, banks, 2);
 }
 
-struct mem_range *
-sizeram(void)
-{
-       int i;
-       struct sdram_dimm_info dimms[NUM_DIMMS];
-       struct sdram_bank_info banks[NUM_BANKS];
-       static struct mem_range meminfo;
-
-       meminfo.basek = 0;
-       meminfo.sizek = 0;
-
-       mpc107_probe_dimms(NUM_DIMMS, dimms, banks);
-
-       for (i = 0; i < NUM_BANKS; i++)
-               meminfo.sizek += banks[i].size;
-
-       meminfo.sizek >>= 10;
-
-       return &meminfo;
-}
-
 /*
  * Configure the MPC107 with the most pessimistic settings. These
  * are modified by reading the SPD EEPROM and adjusting accordingly.