[PATCH 2/2] qemu_arm: Select CONFIG_SYS_EARLY_PCI_INIT

Jan Kiszka jan.kiszka at siemens.com
Fri Aug 15 10:51:44 CEST 2025


On 14.08.25 19:50, Tom Rini wrote:
> On Thu, Aug 14, 2025 at 01:59:32PM -0300, Fabio Estevam wrote:
> 
>> Select CONFIG_SYS_EARLY_PCI_INIT so that eMMC emulation can
>> work.
>>
>> Signed-off-by: Fabio Estevam <festevam at gmail.com>
>> ---
>>  configs/qemu_arm_defconfig | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/configs/qemu_arm_defconfig b/configs/qemu_arm_defconfig
>> index d5890bf87fb3..db60f7de6da9 100644
>> --- a/configs/qemu_arm_defconfig
>> +++ b/configs/qemu_arm_defconfig
>> @@ -28,6 +28,7 @@ CONFIG_USE_PREBOOT=y
>>  # CONFIG_DISPLAY_CPUINFO is not set
>>  # CONFIG_DISPLAY_BOARDINFO is not set
>>  # CONFIG_BOARD_INIT is not set
>> +CONFIG_SYS_EARLY_PCI_INIT=y
>>  CONFIG_PCI_INIT_R=y
>>  CONFIG_CMD_BOOTEFI_SELFTEST=y
>>  CONFIG_CMD_NVEDIT_EFI=y
> 
> I thought Jan was doing this on arm64? But we should probably imply it
> under BOARD_SPECIFIC_OPTIONS in board/emulation/qemu-arm/Kconfig.
> 

I'm currently doing that for qemu-arm64, but qemu-arm will be just the
same and is planned as well. Actually, riscv64 should work as well.

Jan

-- 
Siemens AG, Foundational Technologies
Linux Expert Center


More information about the U-Boot mailing list