Patchwork [06/26] PPC: 440: Default to 440EP CPU

login
register
mail settings
Submitter Alexander Graf
Date Jan. 21, 2012, 4:18 a.m.
Message ID <1327119551-29674-7-git-send-email-agraf@suse.de>
Download mbox | patch
Permalink /patch/137147/
State New
Headers show

Comments

Alexander Graf - Jan. 21, 2012, 4:18 a.m.
Today we're exposing a Virtex 440 CPU to the guest despite the fact
that we're telling the guest that we're running on a 440EP one in the
device tree.

So let's better default to a real 440EP to make things synced again.

Signed-off-by: Alexander Graf <agraf@suse.de>
---
 hw/ppc440.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/hw/ppc440.c b/hw/ppc440.c
index f7779bf..8920abb 100644
--- a/hw/ppc440.c
+++ b/hw/ppc440.c
@@ -48,7 +48,7 @@  CPUState *ppc440ep_init(MemoryRegion *address_space_mem, ram_addr_t *ram_size,
     qemu_irq *pci_irqs;
 
     if (cpu_model == NULL) {
-        cpu_model = "440-Xilinx"; // XXX: should be 440EP
+        cpu_model = "440EP";
     }
     env = cpu_init(cpu_model);
     if (!env) {