From: Fabio Estevam Date: Thu, 14 Aug 2025 18:14:35 +0000 (-0300) Subject: Kconfig: Convert SYS_EARLY_PCI_INIT to Kconfig X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0b0641470b3037e7e212b40c7101c1269653f86e;p=thirdparty%2Fu-boot.git Kconfig: Convert SYS_EARLY_PCI_INIT to Kconfig The CONFIG_SYS_EARLY_PCI_INIT symbol is currently not supported by Kconfig. Make it a Kconfig symbol so that users could select it via defconfig. Signed-off-by: Fabio Estevam Reviewed-by: Tom Rini --- diff --git a/common/Kconfig b/common/Kconfig index a2f653f7e72..cb17f056153 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -833,6 +833,13 @@ config PCI_INIT_R case of DM PCI-based Ethernet devices, which will not be detected without having the enumeration performed earlier. +config SYS_EARLY_PCI_INIT + bool "Enumerate PCI buses early during init" + depends on PCI + help + Do early PCI configuration before the eMMC gets initialised, + because PCI resources are crucial for eMMC access on some boards. + config RESET_PHY_R bool "Reset ethernet PHY during init" help