diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2015-08-20 13:40:22 (GMT) |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-08-26 14:54:12 (GMT) |
commit | fa6af7b4e00cd06138375999d04dd2cd6a515664 (patch) | |
tree | a33723c6b6cfe9d71b3ed120058d75c728936d89 /arch/x86/cpu/baytrail/valleyview.c | |
parent | 090290f97b90eff1fe190d89ef0d976729cda13e (diff) | |
download | u-boot-fsl-qoriq-fa6af7b4e00cd06138375999d04dd2cd6a515664.tar.xz |
x86: baytrail: Remove the fsp_init_phase_pci() call
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 <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/cpu/baytrail/valleyview.c')
-rw-r--r-- | arch/x86/cpu/baytrail/valleyview.c | 8 |
1 files changed, 1 insertions, 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 <pci_ids.h> #include <asm/irq.h> #include <asm/post.h> -#include <asm/fsp/fsp_support.h> 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 |