summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-08-10 07:05:07 -0600
committerSimon Glass <sjg@chromium.org>2015-08-14 03:24:21 -0600
commit412400abaaa6ef02adff35419188689ea6d3ec7e (patch)
treeb056bd2a176dabe981308976c7f75d40584121be /arch/x86/include/asm
parent9e3ff9c2b464e4aa342bed74a534ec9844612459 (diff)
downloadu-boot-imx-412400abaaa6ef02adff35419188689ea6d3ec7e.zip
u-boot-imx-412400abaaa6ef02adff35419188689ea6d3ec7e.tar.gz
u-boot-imx-412400abaaa6ef02adff35419188689ea6d3ec7e.tar.bz2
x86: Split out fsp_init_phase_pci() code into a new function
This code may be useful for boards that use driver model for PCI. Note: It would be better to have driver model automatically call this function somehow. However for now it is probably safer to have it under board control. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/x86/include/asm')
-rw-r--r--arch/x86/include/asm/fsp/fsp_support.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/x86/include/asm/fsp/fsp_support.h b/arch/x86/include/asm/fsp/fsp_support.h
index c6c7dc0..7317dda 100644
--- a/arch/x86/include/asm/fsp/fsp_support.h
+++ b/arch/x86/include/asm/fsp/fsp_support.h
@@ -207,4 +207,11 @@ void *fsp_get_bootloader_tmp_mem(const void *hob_list, u32 *len);
*/
void update_fsp_upd(struct upd_region *fsp_upd);
+/**
+ * fsp_init_phase_pci() - Tell the FSP that we have completed PCI init
+ *
+ * @return 0 if OK, -EPERM if the FSP gave an error.
+ */
+int fsp_init_phase_pci(void);
+
#endif