summaryrefslogtreecommitdiff
path: root/hw/ppc/mpc8544ds.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/mpc8544ds.c
parentab0302ee764fd702465aef6d88612cdff4302809 (diff)
downloadqemu-2eaaac1f01014bc7a3597847646a814539494fca.zip
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/mpc8544ds.c')
-rw-r--r--hw/ppc/mpc8544ds.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/ppc/mpc8544ds.c b/hw/ppc/mpc8544ds.c
index b99f74af75..f13163308e 100644
--- a/hw/ppc/mpc8544ds.c
+++ b/hw/ppc/mpc8544ds.c
@@ -33,6 +33,9 @@ static void mpc8544ds_init(MachineState *machine)
.pci_nr_slots = 2,
.fixup_devtree = mpc8544ds_fixup_devtree,
.mpic_version = OPENPIC_MODEL_FSL_MPIC_20,
+ .ccsrbar_base = 0xE0000000ULL,
+ .pci_pio_base = 0xE1000000ULL,
+ .spin_base = 0xEF000000ULL,
};
ppce500_init(machine, &params);