summaryrefslogtreecommitdiffstats
path: root/arch/x86/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-11-14 18:18:28 -0700
committerSimon Glass <sjg@chromium.org>2014-11-25 06:34:00 -0700
commite94ea6f656641e30392cf76089b65ea9aecde160 (patch)
treee5bbc08878a4456128eb6322870ffd3c5b8abb5b /arch/x86/include
parenta2f5d091ccdc6ffd8fa11c140bc5a93234ee4833 (diff)
downloadblackbird-obmc-uboot-e94ea6f656641e30392cf76089b65ea9aecde160.tar.gz
blackbird-obmc-uboot-e94ea6f656641e30392cf76089b65ea9aecde160.zip
x86: pci: Add handlers before and after a PCI hose scan
Some boards will want to do some setup before and after a PCI hose is scanned. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/x86/include')
-rw-r--r--arch/x86/include/asm/pci.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/include/asm/pci.h b/arch/x86/include/asm/pci.h
index 98817aa8a2..ac1a808307 100644
--- a/arch/x86/include/asm/pci.h
+++ b/arch/x86/include/asm/pci.h
@@ -34,6 +34,9 @@ void board_pci_setup_hose(struct pci_controller *hose);
*/
int pci_early_init_hose(struct pci_controller **hosep);
+int board_pci_pre_scan(struct pci_controller *hose);
+int board_pci_post_scan(struct pci_controller *hose);
+
/*
* Simple PCI access routines - these work from either the early PCI hose
* or the 'real' one, created after U-Boot has memory available
OpenPOWER on IntegriCloud