summaryrefslogtreecommitdiff
path: root/arch/x86/cpu/baytrail/valleyview.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/cpu/baytrail/valleyview.c')
-rw-r--r--arch/x86/cpu/baytrail/valleyview.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/arch/x86/cpu/baytrail/valleyview.c b/arch/x86/cpu/baytrail/valleyview.c
index 610e9d9b1d8..6c3dfe894f1 100644
--- a/arch/x86/cpu/baytrail/valleyview.c
+++ b/arch/x86/cpu/baytrail/valleyview.c
@@ -9,6 +9,7 @@
#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 },
@@ -40,8 +41,14 @@ int arch_cpu_init(void)
int arch_misc_init(void)
{
- pirq_init();
+ int ret;
- return 0;
+ if (!ll_boot_init())
+ return 0;
+ ret = pirq_init();
+ if (ret)
+ return ret;
+
+ return fsp_init_phase_pci();
}
#endif