summaryrefslogtreecommitdiff
path: root/hw/ppc/e500plat.c
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2014-11-07 16:50:44 +0100
committerAlexander Graf <agraf@suse.de>2015-01-07 16:16:24 +0100
commit2eaaac1f01014bc7a3597847646a814539494fca (patch)
tree703fdbc9cd84126d050fafc7bfa5d7a11a18cead /hw/ppc/e500plat.c
parentab0302ee764fd702465aef6d88612cdff4302809 (diff)
PPC: e500: Move CCSR definition to params
We want to have different MMIO region offsets for the mpc8544ds machine and our e500 PV machine, so move the definitions of those into the machine specific params struct. Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/ppc/e500plat.c')
-rw-r--r--hw/ppc/e500plat.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/ppc/e500plat.c b/hw/ppc/e500plat.c
index d50ae000ee..1600fcf219 100644
--- a/hw/ppc/e500plat.c
+++ b/hw/ppc/e500plat.c
@@ -41,6 +41,9 @@ static void e500plat_init(MachineState *machine)
.platform_bus_size = (128ULL * 1024 * 1024),
.platform_bus_first_irq = 5,
.platform_bus_num_irqs = 10,
+ .ccsrbar_base = 0xE0000000ULL,
+ .pci_pio_base = 0xE1000000ULL,
+ .spin_base = 0xEF000000ULL,
};
/* Older KVM versions don't support EPR which breaks guests when we announce