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 <feste...@gmail.com>
---
 common/Kconfig | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/common/Kconfig b/common/Kconfig
index a2f653f7e722..cb17f0561537 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
-- 
2.34.1

Reply via email to