ipq9574: Skip PCIe enumeration during the board_init

In Kernel, we are seeing rare PCIe enumeration failure and suspecting
U-boot PCIe enumeration (Gen1) could impact. Hence skipping the PCIe
enumeration during the board_init and added it after autoboot is stopped.

Change-Id: I9c43b4da07ddd7e44f8c58a51dfd44701590f59b
Signed-off-by: Praveenkumar I <quic_ipkumar@quicinc.com>
This commit is contained in:
Praveenkumar I 2023-11-08 18:19:10 +05:30
parent 6752208853
commit f228b1715b
2 changed files with 4 additions and 1 deletions

View file

@ -429,4 +429,7 @@ void autoboot_command(const char *s)
puts("\nNet: ");
eth_initialize();
#endif
#if defined(CONFIG_IPQ9574)
pci_init();
#endif
}

View file

@ -249,7 +249,7 @@ static int initr_unlock_ram_in_cache(void)
#ifdef CONFIG_PCI
static int initr_pci(void)
{
#ifndef CONFIG_DM_PCI
#if !defined(CONFIG_DM_PCI) && !defined(CONFIG_IPQ9574)
pci_init();
#endif