[OpenBIOS] [commit] r934 - trunk/openbios-devel/arch/ppc/qemu
repository service
svn at openbios.org
Sun Oct 31 00:49:21 CEST 2010
Author: afaerber
Date: Sun Oct 31 00:49:20 2010
New Revision: 934
URL: http://tracker.coreboot.org/trac/openbios/changeset/934
Log:
ppc: Add support for -cpu 970
The 970fx is supported, which happens to be the default CPU for -M mac99.
The IBM JS20 had a dual 970 though, and -cpu 970 leads to a busy loop:
>> Unknown cpu (pvr 390000), freezing!
Add a definition for the 970.
Signed-off-by: Andreas Färber <andreas.faerber at web.de>
Modified:
trunk/openbios-devel/arch/ppc/qemu/init.c
Modified: trunk/openbios-devel/arch/ppc/qemu/init.c
==============================================================================
--- trunk/openbios-devel/arch/ppc/qemu/init.c Sat Oct 30 18:26:02 2010 (r933)
+++ trunk/openbios-devel/arch/ppc/qemu/init.c Sun Oct 31 00:49:20 2010 (r934)
@@ -472,6 +472,18 @@
.clock_frequency = 0x1dcd6500,
.initfn = cpu_g4_init,
},
+ {
+ .iu_version = 0x00390000,
+ .name = "PowerPC,970",
+ .icache_size = 0x10000,
+ .dcache_size = 0x8000,
+ .icache_sets = 0x200,
+ .dcache_sets = 0x80,
+ .icache_block_size = 0x80,
+ .dcache_block_size = 0x80,
+ .clock_frequency = 0x5f5e1000,
+ .initfn = cpu_970_init,
+ },
{ // XXX find out real values
.iu_version = 0x003C0000,
.name = "PowerPC,970FX",
More information about the OpenBIOS
mailing list