[PATCH 2/2] qemu_arm: Select CONFIG_SYS_EARLY_PCI_INIT
Tom Rini
trini at konsulko.com
Fri Aug 15 17:04:26 CEST 2025
On Fri, Aug 15, 2025 at 10:51:44AM +0200, Jan Kiszka wrote:
> 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.
This stanza will catch both qemu-arm options. We don't have a good
common file for all QEMU so when you've got RISC-V going it'll have to
go in that Kconfig file.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250815/7a928ca6/attachment.sig>
More information about the U-Boot
mailing list