From 2fd467ce3ca96391f787d4e5f8c56878321da160 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Thu, 3 Nov 2005 08:13:39 +0000 Subject: reverting rev 2082 git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2083 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/northbridge/ibm/cpc925/Config.lb | 2 -- src/northbridge/ibm/cpc925/cpc925_sdram.c | 13 ------------- 2 files changed, 15 deletions(-) delete mode 100644 src/northbridge/ibm/cpc925/cpc925_sdram.c (limited to 'src/northbridge/ibm') 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); - -} -- cgit v1.2.3