]> git.dujemihanovic.xyz Git - u-boot.git/commit
qemu: arm: Initialise virtio devices in board_late_init
authorSughosh Ganu <sughosh.ganu@linaro.org>
Wed, 30 Dec 2020 13:57:00 +0000 (19:27 +0530)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 31 Dec 2020 13:41:31 +0000 (14:41 +0100)
commite1ee06dde7b133267d5780d48dc5a47e672fc36c
treeae886ee9f300a1058860f1b8932989f4fbebfd03
parent322c813f4becb6a256e0eeedd8e6a856bb075dfc
qemu: arm: Initialise virtio devices in board_late_init

On the qemu arm platform, the virtio devices are initialised in the
board_init function, which gets called before the initr_pci. With
this sequence, the virtio block devices on the pci bus are not
initialised. Move the initialisation of the virtio devices to
board_late_init which gets called after the call to initr_pci.

Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
arch/arm/mach-qemu/Kconfig
board/emulation/qemu-arm/qemu-arm.c