]> Git Repo - J-u-boot.git/commit - board/emulation/qemu-riscv/qemu-riscv.c
riscv: Move virtio scan to board_late_init()
authorŁukasz Stelmach <[email protected]>
Thu, 28 Mar 2024 09:58:24 +0000 (10:58 +0100)
committerLeo Yu-Chi Liang <[email protected]>
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 <[email protected]>
Reviewed-by: Leo Yu-Chi Liang <[email protected]>
arch/riscv/Kconfig
board/emulation/qemu-riscv/qemu-riscv.c
This page took 0.031061 seconds and 4 git commands to generate.