mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
ipq5332: Skip PCIe enumeration during the board_init
In Q6, 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 based on CONFIG_IPQ_PCI_INIT_DEFER config and added it after autoboot is stopped. Change-Id: I79d0d0aef2eeea9bf49157f405a29f23b3c2239d Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
This commit is contained in:
parent
b7dae37965
commit
4d07c250f2
4 changed files with 6 additions and 1 deletions
|
|
@ -429,4 +429,7 @@ void autoboot_command(const char *s)
|
|||
puts("\nNet: ");
|
||||
eth_initialize();
|
||||
#endif
|
||||
#ifdef CONFIG_IPQ_PCI_INIT_DEFER
|
||||
pci_init();
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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_IPQ_PCI_INIT_DEFER)
|
||||
pci_init();
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -352,6 +352,7 @@ extern loff_t board_env_size;
|
|||
#define CONFIG_PCI
|
||||
#define CONFIG_CMD_PCI
|
||||
#define CONFIG_PCI_SCAN_SHOW
|
||||
#define CONFIG_IPQ_PCI_INIT_DEFER
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -185,6 +185,7 @@ extern loff_t board_env_size;
|
|||
#define CONFIG_PCI
|
||||
#define CONFIG_CMD_PCI
|
||||
#define CONFIG_PCI_SCAN_SHOW
|
||||
#define CONFIG_IPQ_PCI_INIT_DEFER
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue