riscv: Move virtio scan to board_late_init() 87/306287/5 accepted/tizen/unified/20240402.151307 accepted/tizen/unified/20240402.163558 accepted/tizen/unified/x/20240403.102935
authorŁukasz Stelmach <l.stelmach@samsung.com>
Mon, 19 Feb 2024 12:21:37 +0000 (13:21 +0100)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Tue, 2 Apr 2024 01:47:47 +0000 (01:47 +0000)
commit95b668ee174acf32a7d6bdaa7b527a100059a486
treec4ea54228a0f8f73fb1aeb4683af4324575c3ec7
parentd744c2f76b479ddf3cedff6bbb01f238ebbe9a3d
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.

Change-Id: I446c473c2c41be8b59842dce09593a47d9a42d73
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Forwarded: https://lore.kernel.org/u-boot/20240328095824.1179072-1-l.stelmach@samsung.com/
arch/riscv/Kconfig
board/emulation/qemu-riscv/qemu-riscv.c