summaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/85xx/qemu_e500.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2012-09-18 16:04:33 +1000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2012-09-18 16:04:33 +1000
commitcaa1d631fc99940f866480c2bb88a6f5a235e7a2 (patch)
treed09d648dbccaa7bf23deb336e8cf52acbc360b8d /arch/powerpc/platforms/85xx/qemu_e500.c
parent1e38b7140185e384da216aff66a711df09b5afc9 (diff)
parent905e75c46dba5f3061049277e4eb7110beedba43 (diff)
Merge remote-tracking branch 'kumar/next' into next
Diffstat (limited to 'arch/powerpc/platforms/85xx/qemu_e500.c')
-rw-r--r--arch/powerpc/platforms/85xx/qemu_e500.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/85xx/qemu_e500.c b/arch/powerpc/platforms/85xx/qemu_e500.c
index 95a2e53af71b..f6ea5618c733 100644
--- a/arch/powerpc/platforms/85xx/qemu_e500.c
+++ b/arch/powerpc/platforms/85xx/qemu_e500.c
@@ -41,7 +41,8 @@ static void __init qemu_e500_setup_arch(void)
{
ppc_md.progress("qemu_e500_setup_arch()", 0);
- fsl_pci_init();
+ fsl_pci_assign_primary();
+ swiotlb_detect_4g();
mpc85xx_smp_init();
}
@@ -55,7 +56,7 @@ static int __init qemu_e500_probe(void)
return !!of_flat_dt_is_compatible(root, "fsl,qemu-e500");
}
-machine_device_initcall(qemu_e500, mpc85xx_common_publish_devices);
+machine_arch_initcall(qemu_e500, mpc85xx_common_publish_devices);
define_machine(qemu_e500) {
.name = "QEMU e500",