From 2caf089187115a524c28d49fa5da3aae18c777e2 Mon Sep 17 00:00:00 2001 From: Greg Watson Date: Sun, 12 Oct 2003 21:17:59 +0000 Subject: [PATCH] naughty, naughty git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1206 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/cpu/ppc/ppc4xx/Config.lb | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/src/cpu/ppc/ppc4xx/Config.lb b/src/cpu/ppc/ppc4xx/Config.lb index 825450fd7f..0617c2a790 100644 --- a/src/cpu/ppc/ppc4xx/Config.lb +++ b/src/cpu/ppc/ppc4xx/Config.lb @@ -1,7 +1,23 @@ ## ## CPU initialization ## -initinclude "EARLY_INIT" cpu/ppc/ppc4xx/ppc4xx.inc +uses _RAMBASE +uses USE_DCACHE_RAM +uses DCACHE_RAM_BASE +uses DCACHE_RAM_SIZE + +## +## PPC4XX always uses cache ram for initial setup +## +option USE_DCACHE_RAM=1 +## Set dcache ram above linuxbios image +option DCACHE_RAM_BASE=_RAMBASE+0x100000 +## Dcache size is 16Kb +option DCACHE_RAM_SIZE=16384 + +initinclude "FAMILY_INIT" cpu/ppc/ppc4xx/ppc4xx.inc +initobject cache.S +initobject sdram.c object mem.o object clock.o