OSDN Git Service

PPC: 440: Default to 440EP CPU
authorAlexander Graf <agraf@suse.de>
Tue, 3 Jan 2012 21:00:23 +0000 (22:00 +0100)
committerAlexander Graf <agraf@suse.de>
Sat, 21 Jan 2012 04:17:00 +0000 (05:17 +0100)
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

index f7779bf..8920abb 100644 (file)
@@ -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) {