CONFIG_SYS_EARLY_PCI_INIT for PCI-attached eMMC
Jan Kiszka
jan.kiszka at siemens.com
Thu Aug 14 11:11:09 CEST 2025
Hi all,
I'm currently playing with eMMC emulation for qemu-system-aarch64 -M
virt and will likely propose upstream to allow user-instantiate emmc
devices (-> -device sdhci-pci -device emmc).
To make U-Boot recognize such a setup, I currently need this:
diff --git a/include/configs/qemu-arm.h b/include/configs/qemu-arm.h
index e296f398798..4e22aa36fa6 100644
--- a/include/configs/qemu-arm.h
+++ b/include/configs/qemu-arm.h
@@ -11,4 +11,6 @@
/* For timer, QEMU emulates an ARMv7/ARMv8 architected timer */
+#define CONFIG_SYS_EARLY_PCI_INIT 1
+
#endif /* __CONFIG_H */
Is this the right way to achieve? Then a patch for U-Boot would follow
as well.
Jan
--
Siemens AG, Foundational Technologies
Linux Expert Center
More information about the U-Boot
mailing list