arm: qemu: Enumerate virtio bus during early boot
authorBin Meng <bmeng.cn@gmail.com>
Mon, 15 Oct 2018 09:21:19 +0000 (02:21 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 14 Nov 2018 17:16:28 +0000 (09:16 -0800)
commitb9b5956eb08a0ab12702b3bb9304e8157c595442
tree731ad6622cb835ce2bd79062f5228858ff88774b
parent6f3327658b03f448c324ac54aad1bd6cc2c2e50d
arm: qemu: Enumerate virtio bus during early boot

Currently devices on the virtio bus is not automatically enumerated,
which means peripherals on the virtio bus are not discovered by their
drivers. This uses board_init() to do the virtio enumeration.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
board/emulation/qemu-arm/Kconfig
board/emulation/qemu-arm/qemu-arm.c