summaryrefslogtreecommitdiffstats
path: root/hw/ppc/mpc8544ds.c
diff options
context:
space:
mode:
authorBernhard Beschow2022-10-03 22:31:36 +0200
committerDaniel Henrique Barboza2022-10-17 21:15:09 +0200
commit9f6621bd161e95f4fe25c97bffc4f1a97a536138 (patch)
treecb64e16840ce5dba8bf1593e7cf4ba61136a9642 /hw/ppc/mpc8544ds.c
parenthw/ppc/mpc8544ds: Add platform bus (diff)
downloadqemu-9f6621bd161e95f4fe25c97bffc4f1a97a536138.tar.gz
qemu-9f6621bd161e95f4fe25c97bffc4f1a97a536138.tar.xz
qemu-9f6621bd161e95f4fe25c97bffc4f1a97a536138.zip
hw/ppc/e500: Remove if statement which is now always true
Now that the MPC8544DS board also has a platform bus, the if statement is always true. Signed-off-by: Bernhard Beschow <shentey@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20221003203142.24355-8-shentey@gmail.com> Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Diffstat (limited to 'hw/ppc/mpc8544ds.c')
-rw-r--r--hw/ppc/mpc8544ds.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/ppc/mpc8544ds.c b/hw/ppc/mpc8544ds.c
index 9c81477698..7dd5219736 100644
--- a/hw/ppc/mpc8544ds.c
+++ b/hw/ppc/mpc8544ds.c
@@ -46,7 +46,6 @@ static void mpc8544ds_machine_class_init(ObjectClass *oc, void *data)
pmc->pci_nr_slots = 2;
pmc->fixup_devtree = mpc8544ds_fixup_devtree;
pmc->mpic_version = OPENPIC_MODEL_FSL_MPIC_20;
- pmc->has_platform_bus = true;
pmc->platform_bus_base = 0xFF800000ULL;
pmc->platform_bus_size = 8 * MiB;
pmc->platform_bus_first_irq = 5;