]> git.baikalelectronics.ru Git - uboot.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)
commitd618bc60ca568b62ae4a6efd57a5e7a981e77932
tree58a1415ffe3b095843018581e09fa382d0ee20df
parent730355a697fc04861e029f85efbc32fc7e9366e7
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