]> git.dujemihanovic.xyz Git - u-boot.git/commit
riscv: Move virtio scan to board_late_init()
authorŁukasz Stelmach <l.stelmach@samsung.com>
Thu, 28 Mar 2024 09:58:24 +0000 (10:58 +0100)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Tue, 9 Apr 2024 03:30:24 +0000 (11:30 +0800)
commitc532ddded9093df585dd324c68932053b6241abf
tree5126c2c745b49a547b01d8bc7887e049469a6892
parentf39b1b77d822916498f4dc9b9f50fe740df9afb6
riscv: Move virtio scan to board_late_init()

When virtio_init() gets called from board_init() PCI isn't ready. Thus,
virtio-over-PCI (e.g. network interfaces) devices can't be detected and
used without additional `virtio scan` scan in the shell or a script.

Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
arch/riscv/Kconfig
board/emulation/qemu-riscv/qemu-riscv.c