]> git.dujemihanovic.xyz Git - u-boot.git/commit
riscv: qemu: Enumerate virtio bus during early boot
authorBin Meng <bmeng.cn@gmail.com>
Mon, 15 Oct 2018 09:21:13 +0000 (02:21 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 14 Nov 2018 17:16:27 +0000 (09:16 -0800)
commit3c5196dca5a639cfe88aae3baad3ecfc429adb49
tree58a1415ffe3b095843018581e09fa382d0ee20df
parent78e12901f3fc8d228bd050f35594e1994f6a7d35
riscv: 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-riscv/Kconfig
board/emulation/qemu-riscv/qemu-riscv.c