summary refs log tree commit diff stats
path: root/hw/ppc/mpc8544ds.c
diff options
context:
space:
mode:
authorBernhard Beschow <shentey@gmail.com>2022-10-03 22:31:36 +0200
committerDaniel Henrique Barboza <danielhb413@gmail.com>2022-10-17 16:15:09 -0300
commit9f6621bd161e95f4fe25c97bffc4f1a97a536138 (patch)
treecb64e16840ce5dba8bf1593e7cf4ba61136a9642 /hw/ppc/mpc8544ds.c
parent47a0b1dff7e9c32808ca2c8a007a4dfa7bf273f1 (diff)
downloadfocaccia-qemu-9f6621bd161e95f4fe25c97bffc4f1a97a536138.tar.gz
focaccia-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;