Skip to content
Snippets Groups Projects
Commit 46f8efee authored by Simon Glass's avatar Simon Glass
Browse files

x86: baytrail: Tidy up interrupt and FSP init


We should signal to the FSP that PCI enumeration is complete. Perform this
task in a suitable place.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
parent 7e4be120
No related branches found
No related tags found
No related merge requests found
......@@ -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,6 +41,12 @@ int arch_cpu_init(void)
int arch_misc_init(void)
{
return pirq_init();
int ret;
ret = pirq_init();
if (ret)
return ret;
return fsp_init_phase_pci();
}
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment