summaryrefslogtreecommitdiff
path: root/include/asm-ppc/fsl_pci.h
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2009-04-02 13:57:05 -0500
committerKumar Gala <galak@kernel.crashing.org>2009-04-04 10:21:30 -0500
commit32049b4048ff8e59bd5ba6160d6d5206d283b2a2 (patch)
tree62f3d0ddbd5c1b05d1e03452faccc369720ab9e6 /include/asm-ppc/fsl_pci.h
parentc8514622e2713d9c47919acfe23fce386782afe7 (diff)
downloadu-boot-imx-32049b4048ff8e59bd5ba6160d6d5206d283b2a2.zip
u-boot-imx-32049b4048ff8e59bd5ba6160d6d5206d283b2a2.tar.gz
u-boot-imx-32049b4048ff8e59bd5ba6160d6d5206d283b2a2.tar.bz2
fsl_pci: Move prototypes into fsl_pci.h and remove explicit externs
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include/asm-ppc/fsl_pci.h')
-rw-r--r--include/asm-ppc/fsl_pci.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/include/asm-ppc/fsl_pci.h b/include/asm-ppc/fsl_pci.h
index 6715064..624ca56 100644
--- a/include/asm-ppc/fsl_pci.h
+++ b/include/asm-ppc/fsl_pci.h
@@ -17,8 +17,14 @@
*
*/
-#ifndef __IMMAP_85xx_fsl_pci__
-#define __IMMAP_85xx_fsl_pci__
+#ifndef __FSL_PCI_H_
+#define __FSL_PCI_H_
+
+int fsl_pci_setup_inbound_windows(struct pci_region *r);
+void fsl_pci_init(struct pci_controller *hose);
+void fsl_pci_config_unlock(struct pci_controller *hose);
+void ft_fsl_pci_setup(void *blob, const char *pci_alias,
+ struct pci_controller *hose);
/*
* Common PCI/PCIE Register structure for mpc85xx and mpc86xx
@@ -149,4 +155,4 @@ typedef struct ccsr_pci {
char res24[252];
} ccsr_fsl_pci_t;
-#endif /*__IMMAP_fsl_pci__*/
+#endif