Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc
[pandora-kernel.git] / arch / powerpc / platforms / 86xx / mpc86xx.h
1 /*
2  * Copyright 2006 Freescale Semiconductor Inc.
3  *
4  * This program is free software; you can redistribute  it and/or modify it
5  * under  the terms of  the GNU General  Public License as published by the
6  * Free Software Foundation;  either version 2 of the  License, or (at your
7  * option) any later version.
8  */
9
10 #ifndef __MPC86XX_H__
11 #define __MPC86XX_H__
12
13 /*
14  * Declaration for the various functions exported by the
15  * mpc86xx_* files. Mostly for use by mpc86xx_setup().
16  */
17
18 extern int add_bridge(struct device_node *dev);
19
20 extern int mpc86xx_exclude_device(u_char bus, u_char devfn);
21
22 extern void setup_indirect_pcie(struct pci_controller *hose,
23                                        u32 cfg_addr, u32 cfg_data);
24 extern void setup_indirect_pcie_nomap(struct pci_controller *hose,
25                                              void __iomem *cfg_addr,
26                                              void __iomem *cfg_data);
27
28 extern void __init mpc86xx_smp_init(void);
29
30 #endif  /* __MPC86XX_H__ */