mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-28 21:09:00 +09:00
![Sughosh Ganu](/assets/img/avatar_default.png)
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>
31 lines
455 B
Plaintext
31 lines
455 B
Plaintext
if ARCH_QEMU
|
|
|
|
config SYS_VENDOR
|
|
default "emulation"
|
|
|
|
config SYS_BOARD
|
|
default "qemu-arm"
|
|
|
|
config SYS_CONFIG_NAME
|
|
default "qemu-arm"
|
|
|
|
choice
|
|
prompt "QEMU ARM architecture"
|
|
default TARGET_QEMU_ARM_64BIT
|
|
|
|
config TARGET_QEMU_ARM_32BIT
|
|
bool "ARMv7-A, 32bit"
|
|
select ARCH_SUPPORT_PSCI
|
|
select BOARD_LATE_INIT
|
|
select CPU_V7A
|
|
select SYS_ARCH_TIMER
|
|
|
|
config TARGET_QEMU_ARM_64BIT
|
|
bool "ARMv8, 64bit"
|
|
select ARM64
|
|
select BOARD_LATE_INIT
|
|
|
|
endchoice
|
|
|
|
endif
|