summaryrefslogtreecommitdiff
path: root/src/northbridge/ibm
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@openbios.org>2005-11-03 08:13:39 +0000
committerStefan Reinauer <stepan@openbios.org>2005-11-03 08:13:39 +0000
commit2fd467ce3ca96391f787d4e5f8c56878321da160 (patch)
tree72e7b1658e2418d9394f4bd6ee4d51cb1d334981 /src/northbridge/ibm
parented009371030cb97571c8b8dc342f16a9fa124d59 (diff)
downloadcoreboot-2fd467ce3ca96391f787d4e5f8c56878321da160.tar.xz
reverting rev 2082
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2083 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
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);
-
-}