From: Bin Meng Date: Thu, 20 Aug 2015 06:40:22 -0700 Subject: [U-Boot] [PATCH v2 06/12] x86: baytrail: Remove the fsp_init_phase_pci() call In-Reply-To: <1440078028-29464-1-git-send-email-bmeng.cn@gmail.com> References: <1440078028-29464-1-git-send-email-bmeng.cn@gmail.com> Message-ID: <1440078028-29464-7-git-send-email-bmeng.cn@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de It turns out that calling fsp_init_phase_pci() in arch_misc_init() is subject to break pci device drivers as with driver model, when the bus enumeration happens is not deterministic. Signed-off-by: Bin Meng --- Changes in v2: None arch/x86/cpu/baytrail/valleyview.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/arch/x86/cpu/baytrail/valleyview.c b/arch/x86/cpu/baytrail/valleyview.c index 6c3dfe8..4baaae6 100644 --- a/arch/x86/cpu/baytrail/valleyview.c +++ b/arch/x86/cpu/baytrail/valleyview.c @@ -9,7 +9,6 @@ #include #include #include -#include static struct pci_device_id mmc_supported[] = { { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_VALLEYVIEW_SDIO }, @@ -41,14 +40,9 @@ int arch_cpu_init(void) int arch_misc_init(void) { - int ret; - if (!ll_boot_init()) return 0; - ret = pirq_init(); - if (ret) - return ret; - return fsp_init_phase_pci(); + return pirq_init(); } #endif -- 1.8.2.1