aboutsummaryrefslogtreecommitdiff
path: root/hw/ppc440_bamboo.c
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2012-01-10 19:36:26 +0100
committerAlexander Graf <agraf@suse.de>2012-01-21 05:17:01 +0100
commit623f7c2172d6080b2ee3132d6e80e8667609c16a (patch)
treeed679e083f77494a4cc85829bc65d33edbd862e0 /hw/ppc440_bamboo.c
parentacd1bf9083dc83e0ef756dbdc81a9805bfb43167 (diff)
PPC: 4xx: Qdevify the 440 PCI host controller
Due to popular demand, this qdevifies the PCI host controller of 4xx SoCs the same way as e500. We have to introduce a small stub function for pci init that will be removed in a later patch, once we qdev'ified the board, to keep the build working. Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/ppc440_bamboo.c')
-rw-r--r--hw/ppc440_bamboo.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/hw/ppc440_bamboo.c b/hw/ppc440_bamboo.c
index 2369fba1db..124e7d7a10 100644
--- a/hw/ppc440_bamboo.c
+++ b/hw/ppc440_bamboo.c
@@ -34,6 +34,15 @@
static target_phys_addr_t entry;
+static PCIBus *ppc4xx_pci_init(CPUState *env, qemu_irq pci_irqs[4],
+ target_phys_addr_t config_space,
+ target_phys_addr_t int_ack,
+ target_phys_addr_t special_cycle,
+ target_phys_addr_t registers)
+{
+ return NULL;
+}
+
static int bamboo_load_device_tree(target_phys_addr_t addr,
uint32_t ramsize,
target_phys_addr_t initrd_base,