[OpenBIOS] [PATCH 1/7] PPC: Increase instruction cache size
Alexander Graf
agraf at suse.de
Mon Feb 22 17:14:42 CET 2010
A real 970FX has more icache, so we should reflect that.
Signed-off-by: Alexander Graf <agraf at suse.de>
---
arch/ppc/qemu/init.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/ppc/qemu/init.c b/arch/ppc/qemu/init.c
index 5ae39cc..07fbd30 100644
--- a/arch/ppc/qemu/init.c
+++ b/arch/ppc/qemu/init.c
@@ -416,7 +416,7 @@ static const struct cpudef ppc_defs[] = {
{ // XXX find out real values
.iu_version = 0x003C0000,
.name = "PowerPC,970FX",
- .icache_size = 0x8000,
+ .icache_size = 0x10000,
.dcache_size = 0x8000,
.icache_sets = 0x80,
.dcache_sets = 0x80,
--
1.6.0.2
More information about the OpenBIOS
mailing list