]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
Kconfig: Convert SYS_EARLY_PCI_INIT to Kconfig
authorFabio Estevam <festevam@gmail.com>
Thu, 14 Aug 2025 18:14:35 +0000 (15:14 -0300)
committerTom Rini <trini@konsulko.com>
Thu, 21 Aug 2025 19:27:57 +0000 (13:27 -0600)
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 <festevam@gmail.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
common/Kconfig

index a2f653f7e722a57d195eb3bd51be8fed0cd291a8..cb17f0561537bb9b88a31c159dc9d64c5c0f4e45 100644 (file)
@@ -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