summaryrefslogtreecommitdiff
path: root/src/northbridge/ibm
diff options
context:
space:
mode:
Diffstat (limited to 'src/northbridge/ibm')
-rw-r--r--src/northbridge/ibm/cpc925/Config.lb2
-rw-r--r--src/northbridge/ibm/cpc925/cpc925_sdram.c13
2 files changed, 0 insertions, 15 deletions
diff --git a/src/northbridge/ibm/cpc925/Config.lb b/src/northbridge/ibm/cpc925/Config.lb
index f57ce0a075..8559c2e66a 100644
--- a/src/northbridge/ibm/cpc925/Config.lb
+++ b/src/northbridge/ibm/cpc925/Config.lb
@@ -6,9 +6,7 @@ config chip.h
initobject cpc925.o
initobject cpc925_pci.o
-initobject cpc925_sdram.o
object cpc925.o
object cpc925_pci.o
-object cpc925_sdram.o
driver cpc925_northbridge.o
diff --git a/src/northbridge/ibm/cpc925/cpc925_sdram.c b/src/northbridge/ibm/cpc925/cpc925_sdram.c
deleted file mode 100644
index 1347adb6c2..0000000000
--- a/src/northbridge/ibm/cpc925/cpc925_sdram.c
+++ /dev/null
@@ -1,13 +0,0 @@
-#include "ppc970.h"
-
-unsigned long sdram_size(void)
-{
- unsigned long addr1, addr2;
-
- addr1=inint(NB_SDRAM_BASE+NB_SDRAM_MEMMODE7)&SDRAM_MEMMODE_BASEBANKADDR;
- addr1=addr1<<11;
- addr2=inint(NB_SDRAM_BASE+NB_SDRAM_MEMBOUNDAD7)&SDRAM_MEMBOUNDAD_BASEBANKADDR;
- addr2=addr2<<3;
- return(addr1|addr2);
-
-}