From 5fc3aa73eb5e978bcd37061c49932b10e80c45c2 Mon Sep 17 00:00:00 2001 From: Greg Watson Date: Wed, 19 Oct 2005 20:32:05 +0000 Subject: get include files right git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2061 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/cpu/ppc/ppc970/Config.lb | 12 ++++-------- src/cpu/ppc/ppc970/ppc970.inc | 6 +----- 2 files changed, 5 insertions(+), 13 deletions(-) (limited to 'src/cpu/ppc/ppc970') diff --git a/src/cpu/ppc/ppc970/Config.lb b/src/cpu/ppc/ppc970/Config.lb index 3b430e27cb..60da7f2b71 100644 --- a/src/cpu/ppc/ppc970/Config.lb +++ b/src/cpu/ppc/ppc970/Config.lb @@ -3,17 +3,13 @@ ## uses _RAMBASE uses USE_DCACHE_RAM -uses DCACHE_RAM_BASE -uses DCACHE_RAM_SIZE ## -## Use cache ram for initial setup +## Assumes RAM already initialiazed +## This is true for the Apache board, but may +## not be for other 970 systems. ## -default USE_DCACHE_RAM=1 -## Set dcache ram above linuxbios image -default DCACHE_RAM_BASE=_RAMBASE+0x100000 -## Dcache size is 32Kb -default DCACHE_RAM_SIZE=0x8000 +default USE_DCACHE_RAM=0 initinclude "FAMILY_INIT" cpu/ppc/ppc970/ppc970.inc diff --git a/src/cpu/ppc/ppc970/ppc970.inc b/src/cpu/ppc/ppc970/ppc970.inc index 7ba48e4f8d..3d0f8cc3d4 100644 --- a/src/cpu/ppc/ppc970/ppc970.inc +++ b/src/cpu/ppc/ppc970/ppc970.inc @@ -29,9 +29,7 @@ | 10-Feb-04 Port to PPC970FX MPT +----------------------------------------------------------------------------*/ -#include -#include -#include +#include /*----------------------------------------------------------------------------+ | Local defines. @@ -44,7 +42,6 @@ | Init_core. Assumption: hypervisor on, 64-bit on, HID1[10]=0, HID4[23]=0. | Data cahability must be turned on. Instruction cahability must be off. +----------------------------------------------------------------------------*/ -function_prolog(init_core) /*--------------------------------------------------------------------+ | Set time base to 0. +--------------------------------------------------------------------*/ @@ -366,4 +363,3 @@ function_prolog(init_core) eieio mtspr SPR_SRR0,r0 rfid - function_epilog(init_core) -- cgit v1.2.3