summary refs log tree commit diff stats
path: root/hw/ppc/e500plat.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/e500plat.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/e500plat.c')
-rw-r--r--hw/ppc/e500plat.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/ppc/e500plat.c b/hw/ppc/e500plat.c
index fc911bbb7b..5bb1c603da 100644
--- a/hw/ppc/e500plat.c
+++ b/hw/ppc/e500plat.c
@@ -86,7 +86,6 @@ static void e500plat_machine_class_init(ObjectClass *oc, void *data)
     pmc->fixup_devtree = e500plat_fixup_devtree;
     pmc->mpic_version = OPENPIC_MODEL_FSL_MPIC_42;
     pmc->has_mpc8xxx_gpio = true;
-    pmc->has_platform_bus = true;
     pmc->platform_bus_base = 0xf00000000ULL;
     pmc->platform_bus_size = 128 * MiB;
     pmc->platform_bus_first_irq = 5;