]> git.proxmox.com Git - mirror_qemu.git/commitdiff
mac_oldworld: remove duplicate bus check for PPC_INPUT(env)
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Tue, 29 Dec 2020 17:56:13 +0000 (17:56 +0000)
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Wed, 13 Jan 2021 12:18:09 +0000 (12:18 +0000)
This condition will have already been caught when wiring the heathrow PIC
IRQs to the CPU.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Message-Id: <20201229175619.6051-2-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
hw/ppc/mac_oldworld.c

index 04f98a4d818645ea6fc00d55dfd7675316a6328f..2ead34bdf1e5305d9652ea8b5431828c7f9ee1dd 100644 (file)
@@ -251,12 +251,6 @@ static void ppc_heathrow_init(MachineState *machine)
         tbfreq = TBFREQ;
     }
 
-    /* init basic PC hardware */
-    if (PPC_INPUT(env) != PPC_FLAGS_INPUT_6xx) {
-        error_report("Only 6xx bus is supported on heathrow machine");
-        exit(1);
-    }
-
     /* Grackle PCI host bridge */
     dev = qdev_new(TYPE_GRACKLE_PCI_HOST_BRIDGE);
     qdev_prop_set_uint32(dev, "ofw-addr", 0x80000000);