summaryrefslogtreecommitdiff
path: root/board/freescale/qemu-ppce500/qemu-ppce500.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/freescale/qemu-ppce500/qemu-ppce500.c')
-rw-r--r--board/freescale/qemu-ppce500/qemu-ppce500.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/board/freescale/qemu-ppce500/qemu-ppce500.c b/board/freescale/qemu-ppce500/qemu-ppce500.c
index 79a698671c..9c30c12d4f 100644
--- a/board/freescale/qemu-ppce500/qemu-ppce500.c
+++ b/board/freescale/qemu-ppce500/qemu-ppce500.c
@@ -24,6 +24,8 @@
#include <fdtdec.h>
#include <errno.h>
#include <malloc.h>
+#include <virtio_types.h>
+#include <virtio.h>
DECLARE_GLOBAL_DATA_PTR;
@@ -130,6 +132,12 @@ int misc_init_r(void)
if (ret)
return ret;
+ /*
+ * Make sure virtio bus is enumerated so that peripherals
+ * on the virtio bus can be discovered by their drivers.
+ */
+ virtio_init();
+
return 0;
}