x86: Split out fsp_init_phase_pci() code into a new function
authorSimon Glass <sjg@chromium.org>
Mon, 10 Aug 2015 13:05:07 +0000 (07:05 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 14 Aug 2015 09:24:21 +0000 (03:24 -0600)
commit412400abaaa6ef02adff35419188689ea6d3ec7e
treeb056bd2a176dabe981308976c7f75d40584121be
parent9e3ff9c2b464e4aa342bed74a534ec9844612459
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>
arch/x86/include/asm/fsp/fsp_support.h
arch/x86/lib/fsp/fsp_common.c